Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to port template to theme?
#1
Hi,
Could somebody help me and explain step by step how to port a template to a theme?
Thanks
Best wishes
Carl
Reply
#2
Carl,

what do you want to know exactly?

Isn't the wiki clear enough? See here:
http://get-simple.info/wiki/themes:creation

The list of template tags will tell you which parts of the template will be created by GS, and you can study the default templates to find out the functionality also

please tell us your questions, we will be glad to assist you

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Thank you for quick reply.
Sorry but i not so good at this yet and i not really understand the wiki so that is why i would need a step by step description for dummies.
Let´s say i find a theme and would like to bring it in to GetSimple. How to do so the theme looks exactly the same i GS?
Best wishes
Reply
#4
csacsa Wrote:Sorry but i not so good at this yet and i not really understand the wiki so that is why i would need a step by step description for dummies.
Let´s say i find a theme and would like to bring it in to GetSimple. How to do so the theme looks exactly the same i GS?
  • Create a directory /theme/MyThemeName
  • Copy all files of the template including subdirectories into this directory
  • Make sure this directory has a .htaccess file with content Allow from all.
You should now be able to see the original template by directly opening the HTML from explorer (or similar) or entering the URL [url]http://my.server/theme/MyThemeName/nameofthehtml.html[/url]
  • rename the HTML file to template.php
  • replace <title>...</title> with <title><?php get_page_clean_title(); ?></title>.
  • assuming the template has a menu in the form <ul...><li>Item 1</li><li>...</li>...</ul>, replace this with <ul...><?php get_navigation(return_page_slug()); ?></ul>.
  • replace the example content, which should be replaced with the actual page content, with <?php get_page_content(); ?>

Optionally use additional functions like the following instead of the example content of the template:
  • get_header()
  • get_footer()
  • get_component()
(see wiki for more information).
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#5
hi,

this is what can be done in 10 minutes
original theme http://www.freecsstemplates.org/previews/nightvision/ #
here the same theme changed to getsimple http://gs.comlu.com/
sure must be applied some changes to have the same look
but in no time you can set up a small site quickly ... no?

of course using the method described by mvlcek
Reply




Users browsing this thread: 1 Guest(s)