Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Custom Pages

Asked Modified Viewed 3,586 times
T
tris_hill
T
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Junior Member

Hi All,

I have many custom pages in my site .. i have a link as

/viewpage.php?page_id=1

can this be edited so it can call a .php page ?

Thanks in advcance
0 replies

5 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

0 replies
T
tris_hill
T
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

i have made the custom pages through the custom pages optio from the menu. and just entered the text required. Can I not edit this in some way ? otherwise i would have to create a new panel for every custom page yes ?
0 replies
P
PeaceLaced
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

Under current custom pages you can drop down select all pages with an edit option. This is in the custom pages admin panel but only shows up after the first page has been created.
0 replies
T
tris_hill
T
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

maybe someone can help with this ..

i have this code to enable a background image on a .php page

$page = TRUE_PHP_SELF;
$img_folder = BASEDIR."images/backgrounds";
$img_ext = ".jpg";
$img_link = $img_folder.str_replace(".php", $img_ext, $page);

if (file_exists($img_link)) {
   add_to_head("   <style type='text/css'>
               body {
                  background: url('".$img_link."') no-repeat center top;
               }
            </style>");
}



can this be modified to do the same on a

/viewpage.php?page_id=1
Edited by JoiNNN on 11-03-2014 17:53,
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

P
P
PHP-Fusion MAIN Support Team
PHP-Fusion USA NSS Admin
  • Member, joined since
  • Contributed 154 posts on the community forums.
  • Started 23 threads in the forums
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
T
T
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet