TinyPortal

Development => Support => Topic started by: DonaldDasher on September 16, 2008, 02:41:48 PM

Title: Theme Switch / Block Visibility
Post by: DonaldDasher on September 16, 2008, 02:41:48 PM
When I switch to any newly installed theme my blocks are disappearing. Is there a setting somewhere I need to change for this?

Also, when I re-installed everything I set English as the language - now in order to get blocks to display they need to be flagged as English too. Is there a way to disable his?
Title: Re: Theme Switch / Block Visibility
Post by: Brandon05 on September 16, 2008, 02:44:50 PM
Check this post right here.
http://www.tinyportal.net/index.php/topic,19432.0.html

I think that some of your themes may not be TP supported or a TP theme.
The theme name usually has to have a TP at the end of it if its for TinyPortal.
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 16, 2008, 02:47:53 PM
I had some of themes working with blocks in my previous set up - it's only now after reinstalling everything that they won't display ;-(
Title: Re: Theme Switch / Block Visibility
Post by: Brandon05 on September 16, 2008, 02:51:12 PM
When you reinstalled did you update any files or anything? 
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 16, 2008, 03:03:27 PM
I downgraded TP from the current beta to v0.9.8.
Title: Re: Theme Switch / Block Visibility
Post by: Brandon05 on September 16, 2008, 03:06:10 PM
That most likely could be your problem then.
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 16, 2008, 03:10:40 PM
But this version supports blocks which is why I don't understand them not working when I switch themes.
Title: Re: Theme Switch / Block Visibility
Post by: Ken. on September 16, 2008, 03:20:10 PM
Donald, in your stats its says that you are running TP0.9.8... if thats the case then you must have a theme that is written to work with that version of TP.
So the very first thing you must do is... Please read the Posting Guidelines (http://www.tinyportal.net/index.php/topic,581)
Why? Because until we know what versions and what theme you are talking about we don't know what to tell you.  :)
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 16, 2008, 03:32:59 PM
OK, so I guess shouldn't be downloading from the SMF site as they don't mention TP versions there.

BTW, i am unable to access the themes section on this site as there's an error.

Parse error: syntax error, unexpected T_ECHO in /home/tinyport/public_html/Themes/bz22/TPthemegallery.template.php on line 277
Title: Re: Theme Switch / Block Visibility
Post by: IchBin on September 16, 2008, 03:38:15 PM
Donald, there's no need to start multiple topics for the same subject. It doesn't get you help any faster, and it only clutters the board with unneeded posts. The posting guidelines state this, please follow them.

http://www.tinyportal.net/index.php/topic,26042.msg208438.html#msg208438
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 16, 2008, 03:40:29 PM
My apologies - I tried to find my previous post but assumed it had vanished as it wasn't showing under my posts. Strange!
Title: Re: Theme Switch / Block Visibility
Post by: IchBin on September 16, 2008, 04:01:34 PM
lol, thats ok. For your reference, you can click on your profile and scroll to the bottom where there is a link to view your last posts. :D
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 17, 2008, 11:19:38 PM
OK, I've just installed the TP Dark4 theme and again I'm not getting any blocks displaying.

The theme page said it was compatible with TP 0.9.8 so can anybody suggest what could be the problem?

Link to my site: http://www.pre-cert.co.uk/
SMF version: 1.1.6
TP version: 0.9.8
Theme name and version: SMF Default Theme - Core (1.1.5)
Mods installed: None
Related Error messages: None
Title: Re: Theme Switch / Block Visibility
Post by: IchBin on September 18, 2008, 12:17:02 AM
Anytime you don't see the blocks on a theme that says its compatible with TP 0.9.8, check the index.template.php file for the TP code. This theme does not support the older TP version. I've updated the theme to reflect that. And I'll also post about setting the right tags for the theme in our Team boards.
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 18, 2008, 12:20:07 AM
Which themes are compatible with my version of TP / SMF that will display blocks correctly?

I'm a bit confused about this as you can see, so my apologies.
Title: Re: Theme Switch / Block Visibility
Post by: G6Cad on September 18, 2008, 06:52:02 AM
You must use themes that are compatible with TP V098,
Cant list them as it would take all day, but in the theme descriptions the themes that work will have TP in the file name or the description will say if they are working in TP V098 to
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 18, 2008, 09:50:49 AM
Another theme that doesn't display blocks with TP v0.9.8 is Adagio (even though it says it is compatible).

http://www.tinyportal.net/index.php/action,tpmod/themegallery,view/design,1.html
Title: Re: Theme Switch / Block Visibility
Post by: Ken. on September 18, 2008, 12:25:31 PM
Did you turn on support for TP 0.9?

As seen in the screenshot you need to go:
Admin>Current Theme>and activate the theme for TP.


Works great:
http://www.ourfamilyforum.org/tp098/index.php?theme=4
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 18, 2008, 12:58:18 PM
Thanks ken. I feel like a right idiot now ;)
Title: Re: Theme Switch / Block Visibility
Post by: Ken. on September 18, 2008, 01:07:58 PM
Quote from: DonaldDasher on September 18, 2008, 12:58:18 PM
Thanks ken. I feel like a right idiot now ;)

No need, it's a common thing to miss.
With TP9.x you must always take care to make sure to download the correct theme because some come with a version for SMF and another for SMF/TP... and then the third type (like Adagio) where the one download will work with both SMF and SMF/TP but the support for TP must be turned on.
All part of the learning process. :)
Title: Re: Theme Switch / Block Visibility
Post by: DonaldDasher on September 18, 2008, 01:08:58 PM
Indeed it is - I'm learning fast! :)