WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Need Template help! [Transmission]
  • Print
Pages: [1]   Go Down

Author Topic: Need Template help! [Transmission]  (Read 3412 times)

skronken

  • Guest
Need Template help! [Transmission]
« on: February 24, 2010, 12:02:53 PM »
Hi!

Im using the template Transmission on my site, and I have a problem!

I want to change the main picture on the left if I go to another page on the site.
Can't figure out how I can do this. Can u help me? :)

/Jonas
Logged

Offline oeh

  • Posts: 190
  • Gender: Male
  • German Pischer's, what's life without them?
Re: Need Template help! [Transmission]
« Reply #1 on: February 24, 2010, 05:18:54 PM »
Quite simple.
You make another template with the design you want, install it, and then use this template for the page.
You can have as many templates as you need.
The only thing you need to remember is to give all the templates different names.

eg.

Transmission_1
Transmission_2
Transmission_3
and so on.




;-}
« Last Edit: February 24, 2010, 05:21:14 PM by oeh »
Logged
oeh ;-}>

skronken

  • Guest
Re: Need Template help! [Transmission]
« Reply #2 on: February 24, 2010, 10:06:32 PM »
Thanks for the reply!
I didn't know you could have different templates for different menuitems. I'll check it out!
Logged

Offline sky writer

  • Posts: 926
Re: Need Template help! [Transmission]
« Reply #3 on: February 25, 2010, 03:11:09 AM »
Although the multi-template approach works, and I have used it, there is one thing to keep in mind.  In the future, any little change you make to one template, you need to remember to make to all the other duplicate templates.  This can, in certain situations, become labour intensive.

I don't know transmission, but could you not make that section a block, and then just insert the image of choice into that block on each specific page?
Logged

Offline marathoner

  • Posts: 495
Re: Need Template help! [Transmission]
« Reply #4 on: February 25, 2010, 04:05:58 AM »
Another option would be to alter your template with a little PHP so that the image displayed would correspond to the page_id. For example, page_id=1 would display 1.img, page_id=2 would display 2.img, etc.

This has been discussed elsewhere in the forum so do a search. Here's one to get you started:
https://forum.WebsiteBaker.org/index.php/topic,15244.0.html
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Need Template help! [Transmission]
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2