Thread subject: Explore Your Brain :: [ask] Bikin Custom page Sendiri

Posted by dyt on 30-04-2009 20:21

Bro semua...

Gw mau tanya nih.
Gw mau buat costom page tapi ga lewat fasilitas yang ada di admin tools.
Jadi gw ngedit file php nya langsung.

Nah pertanyaan nya,, gimana cara custom page yg gw buat bisa masuk ke site link...??

Knp gw pgn bikin custom page nya kya gitu...?
kan kalo bikin custom page pake fasilitas yang ada di PHP fusion
URL nya jadi "http://namadomain/php-files/viewpage.php?page_id=1"

Nah gw pengennya nanti URL misal "http://namadomain/php-files/product php"

File php yang gw buat kan otomatis gw upload ke "/public_html/php-files/"
Nah gimana caranya tu file yg gw buat bisa masuk site link, atau Panel & Sub Header

Mengerti kah...? Mohon Pencerahannya yah...

Posted by EVA-00 on 30-04-2009 20:37

Lu bikin aja file namanya sesuai keinginan lu, misalnya product.php
trus code yg wajib lu buat bisa lu liat dibawah ini.



| PHP-Fusion Content Management System

| Copyright (C) 2002 - 2008 Nick Jones



| Filename: faq.php

| Author: Nick Jones (Digitanium)


| This program is released as free software under the

| Affero GPL license. You can redistribute it and/or

| modify it under the terms of this license which you

| can read by viewing the included agpl.txt or online

| at Removal of this

| copyright header is strictly prohibited without

| written permission from the original author(s).


require_once "maincore.php";

require_once THEMES."templates/header.php";

include LOCALE.LOCALESET."faq.php";


// lu tinggal masukin kode php lu disini

require_once THEMES."templates/footer.php";


Semoga membantu.

Posted by dyt on 30-04-2009 22:05

Udah ternyata Om EVA...
klo edit php nya sih udah bisa...

ternyata masukin nya lewat tools "site link".
trus dimasukin deh file .php yang udah kita buat,, trus save link.