Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 08:25:54 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149682 Posts in 21102 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Dinamic include of jcarrusel in header.  (Read 357 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!