Welcome Guest Search | Active Topics | Log In | Register

Themes apply to "front page" but not to other pages Options · View
MichaelS
#1 Posted : Tuesday, August 26, 2008 6:11:23 PM

Rank: YAF Forumling



Joined: 8/26/2008
Posts: 5
Location: Chicago
I've followed the instructions on the wiki in creating my own theme. It appears on the front page, with the banner, and I see the correct theme name on the bottom of the page. If I go to view a specific forum, it goes back to the "ASPNET Theme" - I see that on the bottom of the page. This is also true for topic view, new reply, new topic, etc.

I've got the correct theme selected in the Admin Control Panel and I have the banner option checked. I have not made any changes to the default.aspx, aside from including the <img> for the banner (from alt.aspx). I've searched this forum and haven't seen this problem.

Any thoughts on where I can go next? Debugging doesn't seem to help as I never hit breakpoints. Thanks!

MS
test2005
#2 Posted : Wednesday, August 27, 2008 1:16:48 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy
Does this happen when you select another theme?

.....the man in black fled across the desert..........and the gunslinger followed.....

MichaelS
#3 Posted : Wednesday, August 27, 2008 1:57:09 PM

Rank: YAF Forumling



Joined: 8/26/2008
Posts: 5
Location: Chicago
test2005 wrote:
Does this happen when you select another theme?



Yes it does.

Pages that seem to use the selected theme:
Front / Forum list / default page
Inbox
Admin
Search
Moderate
Active Topics
All Profile pages
Members

Pages that ignore the selected theme:
Topic browse page (Forum selected from front/forum list page)
Topic thread view page
Topic reply page
Post New Topic page

Seems to be a consistent pattern - whenever I am dealing with a single forum/topic page, it ignores the theme selected.

Note: I selected Chrome as my alternative theme. My theme is based on SoClean.

Thanks!
MichaelS
test2005
#4 Posted : Wednesday, August 27, 2008 1:59:05 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy
Well it sounds like the theme management code has been altered? Did you do any other mods to YAF?
.....the man in black fled across the desert..........and the gunslinger followed.....

MichaelS
#5 Posted : Wednesday, August 27, 2008 2:00:47 PM

Rank: YAF Forumling



Joined: 8/26/2008
Posts: 5
Location: Chicago
test2005 wrote:
Well it sounds like the theme management code has been altered? Did you do any other mods to YAF?


Not that I'm aware of. This is a clean install, we're evaluating the software for use with our product/software support. So we're running on a test server right now. The only modification I've done was to alter the default.aspx page to have the <img> for the forum banner.

Anything I can look for in the code that might indicate an alteration? Would it make sense to just download/install a "fresh" copy? I'm running latest version.

MichaelS
Neven
#6 Posted : Wednesday, August 27, 2008 2:23:47 PM

Rank: YAF MVP



Joined: 11/26/2004
Posts: 509
Location: Zagreb, Croatia
can you give us the link or you are working at localhost/intranet?
... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
MichaelS
#7 Posted : Wednesday, August 27, 2008 2:24:50 PM

Rank: YAF Forumling



Joined: 8/26/2008
Posts: 5
Location: Chicago
Neven wrote:
can you give us the link or you are working at localhost/intranet?


Intranet - I wouldn't be able to get permission to take it into the DMZ. Is there something I can look for?

Thanks!
MS
MichaelS
#8 Posted : Wednesday, August 27, 2008 5:11:07 PM

Rank: YAF Forumling



Joined: 8/26/2008
Posts: 5
Location: Chicago
test2005 wrote:
Well it sounds like the theme management code has been altered? Did you do any other mods to YAF?


I hate not knowing, so I dug around the code a bit and it led me to the yaf_forum table.

Apparently, when I changed the site theme, the change did not propagate to the individual forums. Is this because they had their settings overridden on the theme type for each forum?

I went into the database, nulled out the ThemeURL and now all is well. That's what I get for inheriting someone else's project that they abandoned 4 months ago.

Thanks!
MichaelS
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.083 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET