Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More than one active remplate?
#1
If it possible to have more than one active template?

For for example pages 1 to 10 use template X
and pages 11-20 use template Y

I see when I select to edit the page I am on there is a Template option  but it only let's me select the Default theme.

Thanks
Reply
#2
You can set any template for any page.
In the backend click on View all Pages => click on a page => click on page options
=> select the template you want => click on save updates
Reply
#3
(2021-02-09, 18:52:39)Felix Wrote: You can set any template for any page.
In the backend click on View all Pages => click on a page => click on page options
=> select the template you want => click on save updates

I cannot select other templates.  When I select the button nothing else shows?
How do I have it allow me to select a different option?


Attached Files Thumbnail(s)
   
Reply
#4
What Theme are you using ? You are not using your own Theme but you are using a Theme that already came with GS.
When you installed GS, it came with 2 Themes: Innovation and Cardinal. The reason why you only have 1 template
available is because you are using a Theme that was made with only 1 template, the default template.
Did you at least read the Docs about GS, or go through the forum ?
http://get-simple.info/wiki/themes:installation

Unlike so many other cms systems where you have to work the way the cms was made by rules,
GS was made to give you total freedom in the way how you make websites:
make your own templates and themes in any way you want.

Perhaps this video is a good start:
https://www.youtube.com/watch?v=nQrSWwT3oKg
Reply
#5
How many template files you are going to use ... home.php ... about.php ... contact.php  ... etc.
depends on how far you take separating code from layout ...

Use 1 template file only and call it views.php and let it
a) calculate the values for the placeholders in the html
b) select html view layouts in a views folder

F.
Reply




Users browsing this thread: 1 Guest(s)