WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Resposive or mobile friendly template

<< < (9/10) > >>

fischstäbchenbrenner:
You are using dafleck or Sypiags?


--- Code: ---<?php if (!isset($page_id) OR $page_id==4) {....
--- End code ---

!isset($page_id) means: it is the startpage
OR $page_id==4 means: its page 4, this is neccessary for the template-search. simply remove it.

if you want all pages look the same (and no special startpage) simply replace this with

--- Code: ---<?php if ($page_id == 4000 ) {....
--- End code ---
(you wont have a page 4000, so no page is the startpage)

applepie:

--- Quote from: fischstäbchenbrenner on July 07, 2015, 09:19:03 AM ---You are using dafleck or Sypiags?

--- End quote ---

I am using dafleck. Where do I find the code please?
Thanks

fischstäbchenbrenner:
/templates/daflekk/index.php

applepie:

--- Quote from: fischstäbchenbrenner on July 07, 2015, 09:19:03 AM ---

--- Code: ---<?php if (!isset($page_id) OR $page_id==4) {....
--- End code ---

!isset($page_id) means: it is the startpage
OR $page_id==4 means: its page 4, this is neccessary for the template-search. simply remove it.

if you want all pages look the same (and no special startpage) simply replace this with

--- Code: ---<?php if ($page_id == 4000 ) {....
--- End code ---


--- End quote ---

I have done that and it still showing a different start page. Is there something to do with include frontteaser.php?? Code below:
<?php if ($page_id == 4000 )  {include('frontteaser.php');

applepie:

--- Quote from: applepie on July 15, 2015, 10:28:02 AM ---
--- Quote from: fischstäbchenbrenner on July 07, 2015, 09:19:03 AM ---

--- Code: ---<?php if (!isset($page_id) OR $page_id==4) {....
--- End code ---

!isset($page_id) means: it is the startpage
OR $page_id==4 means: its page 4, this is neccessary for the template-search. simply remove it.

if you want all pages look the same (and no special startpage) simply replace this with

--- Code: ---<?php if ($page_id == 4000 ) {....
--- End code ---


--- End quote ---

Ok, it works now. Thanks
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version