I created a theme using Artisteer for drupal, everything looks great, but whenever a user wants to create a new forum topic they are sent to my admin theme to add content via the www.mysite.com/node/add/forum/0 path.
I have checked the www.mysite.com/node path and that uses my artisteer theme, but as soon as it goes to /node/add it reverts to admin theme (in my case it is the bluemarine). Any idea what is going on? How can I change the theme for "create new forum topics" so that it matches my main pages?
Also, please note that I don't want to change my admin theme overall. I like to keep my admin pages and the content pages separately themed. I just want the new forum topic submission form to be the same theme as the main website. Please help!
Comments
Go to Site
Go to Site configuration->Administration Theme and uncheck the box that says "Use administration theme for content editing".
Thanks
Thanks, discovered that yesterday.
Is there a way to use a
Is there a way to use a custom theme ONLY on new forum topics?
Otherwise, all the content editing on the site won't be in Admin theme, which is problematic for the way my site is configured.
Any ideas on this?
Any ideas on this?
+1 for this. I have the same
+1 for this.
I have the same problem. All the content on the site is edited only by administrators, except forum topics which can be created by general site users. So I want to show the site theme when editing forum topics, not the admin theme.
I will investigate and write another post if I figure out a good method!
The themekey module is what
The themekey module is what you need. With this you can switch themes based on a path or other conditions.
Possible solution
I've just started working on my first forum, found the Advanced Forum module (great!), tried creating a new post and found myself back in Garland (damn!).
I don't want to uncheck the 'Use administration theme for content editing' as the site administrators are comfortable working in the admin theme. ThemeKey won't work because the settings in Admin Theme take precedence.
I found the solution in an older thread http://drupal.org/node/242200
Adding the following to my site's custom module gave me the result I wanted:
Seems to do the job, but if there's a better way (or drawbacks with this one) I'd be pleased to hear it.
Drupal 6.14, Advanced Forum 6.x-1.1
Thanks for posting this
Thanks for posting this Meerkat. I had minor difficulty with the function name for this to work - I replaced this line:
with the following:
Hope this helps!
please explain in detail...
hi..
i am new to drupal...
i do have same problem of redirection.
i tried creating sitename.module file in sites/all/themes/
but it is not working..