Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:55:41 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Dinamic include of jcarrusel in header.  (Read 383 times)
andrewappleseed

Offline Offline

Posts: 1


« on: March 13, 2010, 02:05:21 AM »

Hi,
I using Jcarousel in the header, just embebed in template/index.php.

But i want the customer to be able to change the Jcarousel pictures with WebSiteBaker, so i dont want to embebed in the header (not in the content!).

So,depends of PAGE_ID i will insert a different kind of Jcarousel.

So, can i insert a second page in the template/index.html in one speciifc DIV of the header?

Code would be like:


<?php
      $pageid = PAGE_ID;
      if ($pageid=="22") {
         //include jcarrusel1 in the header
                  }
                 if ($pageid=="23") {
         //include jcarrusel1 in the header
                  }

      ?>
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!