2012-01-08, 08:04:52
I know the pages are dynamic. I want to make Homepage different from pages. Like i want to make a kool backgound image for the front page and the rest of the pages will be different from home page.
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
|
How to make a standable home page?
|
2012-01-08, 08:04:52
I know the pages are dynamic. I want to make Homepage different from pages. Like i want to make a kool backgound image for the front page and the rest of the pages will be different from home page.
Quote:template.php is the “Default Template†file used for most pages within your site, but you can make other files within your theme and set particular pages to use that new template file instead by choosing it within the Page Options → Template setting: http://get-simple.info/wiki/themes:creation 1. Make a copy of your template.php file and call it something else like custom-layout.php 2. Either leave the <?php get_page_content(); ?> and <h1><?php get_page_title(); ?></h1> perhaps to still have editable content below your bg image or remove them if you only want the image 3. Enter your own html and css 4. When you go to create the page select your template from the list under page options > Page Template Code: <?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
Todo arde si le aplicas la chispa adecuada.
2012-01-08, 18:13:52
yurifanboy, the example of the template which you add below the page settings screenshot is somehow misleading/distracting, as <div id/class="YOUR Custom content"> looks strange ;=)
so in short, just do it this way: 1) create a standard template for all pages except start page 2) create a template for the startpage 3) assigned that start template to the startpage and use all other pages with the standard template Cheers, Connie
|--
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
2012-01-09, 03:07:55
now that the easiest way. thanks!
Connie Wrote:yurifanboy, the example of the template which you add below the page settings screenshot is somehow misleading/distracting, as <div id/class="YOUR Custom content"> looks strange ;=) |
« Next Oldest | Next Newest »
|