Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different layout / themes on each page
#6
Let's start from the beginning. If you are using the Innovation theme and you want to make pages without the sidebar, this is how:

Make a copy of the file theme/innovation/template.php , call it nosidebar.php and save it alongside template.php in the same folder.
Open nosidebar.php in your text editor and delete lines 36 and 37 which read
<!-- include the sidebar template -->
<?php include('sidebar.inc.php'); ?>
Save your changes.
Now when you are editing or creating pages you will have in PAGE OPTIONS under Page Template a choice of Default Template or nosidebar.php which will give you a page with no sidebar.

(2012-12-13, 01:20:41)demir Wrote: BTW As a newbie on GetSimple I have tried to copy a theme to change its parts with my current html codes. Like Header parts to header.inc.php etc.. But I could not get any result. Is it a good way to edit a theme? Because I dont know php and I cant write a GetSimple theme from scratch?

If you know basic html and css you will find you can without any difficulty make GS themes. You will quickly become familiar with the few snippets of php you will need to copy and paste. Very enjoyable it is too.

The Innovation theme is a little bit unecessarily complicated. I would start with the ugly old Cardinal theme which is very simple, having all the html in a single template.php file instead of having it split up into different .inc.php files as you saw in the Innovation folder.

Good luck!
Reply


Messages In This Thread
Different layout / themes on each page - by demir - 2012-12-12, 20:40:40
RE: Different layout / themes on each page - by Timbow - 2012-12-13, 01:57:22



Users browsing this thread: 1 Guest(s)