TinyPortal
Development => Support => Topic started by: penfield on March 25, 2007, 08:52:59 PM
I'm using an article with a forced theme setting ( the "forced theme") as an entry point to my forum, and I'd like users who enter the site through that article to continue using that theme setting.
Currently, when someone clicks the "Home" button in the article, the index page opens in my default theme. I want users entering the site directly (by going to the site's index page) to continue to use the default theme, so I don't want to change my default theme.
I've been looking for a way to change the destination url of the "Home" button in the index.template.php file. Is this the right approach? Thanks!
Quote from: penfield on March 25, 2007, 08:52:59 PM
I'm using an article with a forced theme setting ( the "forced theme") as an entry point to my forum, and I'd like users who enter the site through that article to continue using that theme setting.
Currently, when someone clicks the "Home" button in the article, the index page opens in my default theme. I want users entering the site directly (by going to the site's index page) to continue to use the default theme, so I don't want to change my default theme.
I've been looking for a way to change the destination url of the "Home" button in the index.template.php file. Is this the right approach? Thanks!
Could you be a little more specfic about what you're trying to do? Are you saying that you want the theme of your forum to be the same as the theme of your article?
Quote from: zarprime on March 25, 2007, 09:10:38 PM
Are you saying that you want the theme of your forum to be the same as the theme of your article?
Thanks for the reply - I don't want to change my theme setting for the site (I know how to do that), I want for users who navigate around my site
using the menu on an article to open pages using the theme setting that i had set for that article. Thanks!
This is not possible in TP or SMF's current state.
Thanks IchBin - could I remove the menu on the article (and insert my own link to the index page for the forced theme)?
Sure you can change the link that the button points to. Locate the home button at the bottom of your index.template.php file. But changing this will not make the theme stay constant when people visit your site like you want it to.
Thanks. I understand, it's not perfect, but it will do the trick for now.