Forums Sign Up Reply Search Statistics
Support Issues and Questions GraFX Software Solutions - Forum / Support Issues and Questions /

Template

 
Author phoenix
Forums Member
#1 Posted: 27 Jan 2007 19:30:21
Reply 
Hey guys, I am creating a website for a friend of mine and because he has no knowledge of HTML I needed to find a CMS that would allow him to edit the pages with ease- looks like I found it :).

Anyway, now onto my 'problem'. I know that by default you have two templates, template_index and template_firstpage. I am wondering if it is possible to set a template for an individual page. I have a particular page on the site where I would like the template to be different then the rest of the site, so are there any ways I can achieve this.

Thanks for your time and keep up the good work,

Phoenix
Author Admin
Forums Member
#2 Posted: 1 Feb 2007 23:10:23
Reply 
You can see subscribe.php, duplicate for your page and where is template_index.html setup your template, it is easy.
Author phoenix
Forums Member
#3 Posted: 1 Feb 2007 23:36:32
Reply 
I dont understand what you mean. Can you please guide me through the process on how I can define a separate template that isn't template_firstpage, or template_index. I want to make something like template_FAQ, or something like that so it would then use that template for the page titled FAQ.

I dont understand how subscribe.php comes into how the templates are defined.
Author Admin
Forums Member
#4 Posted: 2 Feb 2007 08:23:10
Reply 
You copy subscribe.php to faq.php, then in programtemplates/template_index.html copy to template_faq.html
in faq.php line
$ft->define(array("main"=>"template_index.html", "content"=>"subscribe.html"));
change to
$ft->define(array("main"=>"template_faq.html", "content"=>"subscribe.html"));

The disadvantage for this is that you need to maintain 3 templates.

If is only a GIF image difference, then for big image you can use the name of page for ex. Frequently Asked Question page, you should name a JPG or GIF to Frequently-Asked-Question.gif and place in images.
Then place in right place,
<img src="{TITLE_TAG_IMG}.gif" />

In this way each page can have OWN large image for example.
It is easy to follow my point?
Author phoenix
Forums Member
#5 Posted: 2 Feb 2007 09:37:26
Reply 
Im a little confused with what subscribe has got to do with it.

Basically I have a page that I created in the admin control panel called FAQ. Currently it uses the default template_index.html. But I want to be able to assign it to its own individual template, such as template_faq.html.

I dont understand how something that envolves a mailing list has anything to do with templates, also I want to be able to change this page through the admin panel, because my client does not have any php or html knowledge which is the reason why im using your CMS because its user-friendly and easy to maintain.

Hopefully you can see what im saying.

Thankyou for your time,

Phoenix
Author Admin
Forums Member
#6 Posted: 2 Feb 2007 11:48:41
Reply 
Yes, but you cannot do this.
The CMS part is based on index.php and on the 2 template.
To do like you want, require a modification, to allow in add description page to also setup a template, what is much work.
If you feel, you can send to me the 2 page design, FAQ and other page to see what is the difference, I'm sure there is a way to do it, just we need to see the design.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.