I'm a bit confused and need some help! All I want is to have a very simple site structure like this:
Homepage - Page1 - Page2 - Page 3
In other words I have no plans for any "sub pages", just a handful of pages all on the same "category/level". The problem is I can't seem to work out how to have a particluar template for the Homepage and a seperate template for Page1 and another for Page3, etc...
I thought I could have this:
Home [root category]
-- homepage [article]
-- page1 [article]
-- page2 [article]
BUT the articles all have to have the same template which is not what I want. So I added some sub-categories so the structure looked like this:
Home [root category]
-- Homepage [sub category]
---- homepage [article]
-- Page1 [sub category]
---- page1 [article]
-- Page2 [sub category]
---- page2 [article]
That solved the template problem because I make the sub categories have different templates and so the articles in them also have those different templates. However this doesn't seem correct - it looks clumsy and over complicated. Am I just being silly?
One REAL problem with this structure is the browser page title. It now reads:
[layout title]|[category name]|[article name]
So if I follow the examples above will be:
Jinja Ninja | Page1 | page1
I understand WHY this has happened (because of the way I had to structure the site) but this is not exactly what I wanted! I just want "Jinja Ninja | Page1".
So can anyone help me here? How can I have the structure:
Home [root category]
-- homepage [article]
-- page1 [article]
-- page2 [article]
but each article using different templates?
Or perhaps this structure:
Home [root category]
-- Homepage [sub category]
---- homepage [article]
-- Page1 [sub category]
---- page1 [article]
-- Page2 [sub category]
---- page2 [article]
but with the browser page title saying what I want it to say?
Any help gratefully recieved!
Alex
http://www.jinja-ninja.co.uk
How do I structure my site in phpwcms?
Hi agemmell,
----------------------------------------------------
page layout:
page title: [.......................................]
add to title: [x] category [ ] article name
----------------------------------------------------
Gruß Knut
Thats very simple:One REAL problem with this structure is the browser page title. It now reads:
[layout title]|[category name]|[article name]
So if I follow the examples above will be:
Jinja Ninja | Page1 | page1
.
.... what I wanted! I just want "Jinja Ninja | Page1".
----------------------------------------------------
page layout:
page title: [.......................................]
add to title: [x] category [ ] article name
----------------------------------------------------
From my view that is the right way.Home [root category]
-- Homepage [sub category]
---- homepage [article]
-- Page1 [sub category]
---- page1 [article]
-- Page2 [sub category]
---- page2 [article]
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Thanks Flip-Flop. I'll keep that structure.
Thanks,
Alex
Can you explain this in more detail please - I don't understand what you mean?flip-flop wrote: Thats very simple:
----------------------------------------------------
page layout:
page title: [.......................................]
add to title: [x] category [ ] article name
Thanks,
Alex
Hi,
at ADMIN -> page layout: you have the
page title: [Jinja Ninja] and the
add to title: [x] category [ ] article name
means at the title of the page the string "Jinja Ninja | Page1" will be used.
e.G.
category name = Page1 ==> "Jinja Ninja | Page1"
category name = Page2 ==> "Jinja Ninja | Page2"
If the title shows this line: Jinja Ninja | Page1 | page1
the following settings were made:
page title: [Jinja Ninja] and the
add to title: [x] category [x] article name
Gruß Knut
at ADMIN -> page layout: you have the
page title: [Jinja Ninja] and the
add to title: [x] category [ ] article name
means at the title of the page the string "Jinja Ninja | Page1" will be used.
e.G.
category name = Page1 ==> "Jinja Ninja | Page1"
category name = Page2 ==> "Jinja Ninja | Page2"
If the title shows this line: Jinja Ninja | Page1 | page1
the following settings were made:
page title: [Jinja Ninja] and the
add to title: [x] category [x] article name
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )