TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,044
  • Total Topics: 21,335
  • Online today: 319
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 269
  • Total: 269

TP Blocks showing by Theme...

Started by Roknrol, July 25, 2007, 06:15:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Roknrol

I've dug around a bit and I haven't been able to find this function - hopefully the problem is that it doesn't exist rather than me just being an idiot :P

Is it possible to hide/show blocks based on the Theme that's being used?  For those of us that use banner advertising, sometimes it's tough to come up with a colour scheme that looks good for ALL themes...it would be nifty to be able to show one scheme for one theme, another for a different theme, etc.

G6Cad

At this time no, the only way to get blocks showing up on some pages, and some not, you have to make articles and choose the block/s to only show when that article is viewd. But almost as you can have only one theme set to show when they preview the article itself.

Nokonium

If you have TP sections or boards set to use only a specific theme you can set a block to show within specific boards or TP sections etc.

Another approach could be to use the theme style sheets. If you can style article and block content using existing styles they will match whatever theme they are viewed with or you can add your own styles to the theme stylesheet.

IchBin

You could also use some custom PHP code to make it viewable based on theme id.

This website is proudly hosted on Crocweb Cloud Website Hosting.