Go Back   NiceCoder Community Forums > Nicecoder Products > IndexU > INDEXU DELUXE v1.x
Register Projects FAQ Members List Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2008, 06:59 PM
Gus Gus is offline
Registered User
 
Join Date: Aug 2008
Location: Paris, France
Posts: 11
Gus is on a distinguished road
Question Custom page : I must have missed something

Hi,

I tried the custom page feature.

I used "add new custom template" and got a new custom template - let's call it "newcust.html" - generated in \mysite\themes\mytheme\.
But what to do with it ? I guessed that it should be called from a copy of \mysite\page.php with the same name. So I created \mysite\newcust.php".
But you cannot even call newcust.php (from a link on a page), the system tells you that it does not exist (access rights violation, I suppose).
So I fumbled through various files and (I do not even remember where) found where all these rights are hidden. But this works for newcust.PHP. When newcust.PHP uses newcust.HTML I get a 403 error.

What I try to achieve is the following :

I want to put a link on myfooter that will lead the visitor to a custom page. I want this page use my IndexU template (with the theme header and footer). As of today, I just had to write a plain non-IndexU html page myself. It works fine, but this is sloppy development. So I'd like this custom page to be integrated in my IndexU template.

How to do this ?

Thanks in advance for the help
Gus
Reply With Quote
  #2 (permalink)  
Old 11-06-2008, 07:14 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,032
Bruceper is on a distinguished road
Default

if your custom page was created with the name newcust then the way you would view it would be http://yoururl.ext/page.php?id=pagename
Reply With Quote
  #3 (permalink)  
Old 11-07-2008, 06:54 PM
Gus Gus is offline
Registered User
 
Join Date: Aug 2008
Location: Paris, France
Posts: 11
Gus is on a distinguished road
Thumbs up Thanks, Bruce

Thanks, Bruce, for the help. Everything (at least the code) is in order now !

gus
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom page question icesoul INDEXU DELUXE v1.x 1 08-21-2008 02:41 PM
creating a custom page echo@ v5.x 7 06-05-2008 12:23 AM
passing variable GET to custom page Areastore v5.x 3 05-18-2008 05:18 PM
How to add custom page saj v5.x 6 11-27-2007 11:37 AM
Page Title for Custom Contact Page thespursfan v5.x 3 10-30-2005 03:12 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 04:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate