Sections only seem to work when a user is logged in.

tarnus - March 15, 2009 - 16:23
Project:Sections
Version:6.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have a site with 2 sections. When your on the front page it displays one and the rest of the site the default template. As long as a user is logged in the front page uses the over-ridden section, but when a user is not logged in it reverts to the default template.

I have tried setting the roles in the section as well as leaving them both blank but the results are still the same.

I am running drupal 6.10

Thanks.

#1

hass - March 15, 2009 - 19:29

Are you really using D6 v1.2? I remember that there was a caching bug or something like this I cannot remember anymore. Very long time ago... pre 1.0 or so...

#2

tarnus - March 15, 2009 - 21:10

Yes I verified it when I set the version number. Its a strange one. Ive tried cleaning caches multiple times to no avail. I even uninstalled and reinstalled the module with the same results. Let me know if you need any other info.

Thanks

#3

hass - March 16, 2009 - 00:33

Please provide a list of all enabled modules. I'm not able to repro this...

#4

tarnus - March 16, 2009 - 00:57

Here is a list of installed modules:

Administration menu 6.x-1.3
Plugin Manager 6.x-1.9
Content 6.x-2.1
Node Reference 6.x-2.1
Number 6.x-2.1
Option Widgets 6.x-2.1
Text 6.x-2.1
Color 6.10
Comment 6.10
Database logging 6.10
Help 6.10
Menu 6.10
Path 6.10
PHP filter 6.10
Taxonomy 6.10
Update status 6.10
Administration theme 6.x-1.1
IMCE 6.x-1.2
Pathauto 6.x-2.x-dev
Sections 6.x-1.2
Token 6.x-1.11
Webform 6.x-2.6
IMCE Wysiwyg API bridge 6.x-1.0
Wysiwyg 6.x-1.x-dev

Thanks for looking into this for me.

#5

hass - March 16, 2009 - 08:06
Status:active» postponed (maintainer needs more info)

First of all, try to disable "Administration theme" module and try again, please.

From a quick look I do not see any other potential problematic module. Are you able to install a test machine with sections, create a few dummy nodes and assign a section to them. Than try enabling one module after the other and verify when the section breaks.

#6

tarnus - March 16, 2009 - 13:20

Looks like turning off admin theme module fixes it. It seems to be working now I have turned that off.

Thanks for the suggestions. Odd thing is on another site it works with admin theme module. No idea what is different there and the other site.

Thanks again.

#7

hass - March 16, 2009 - 14:23
Status:postponed (maintainer needs more info)» fixed

Good. From a short code review this morning haven't seen anything that is problematic - code wise. But config can potential conflict. You can build the same logic with Sections... no need to install admin theme module.

Create a section named "Admin" or so and assign a theme to the following paths:

admin
admin/*
node/add
node/*/edit

#8

tarnus - March 16, 2009 - 17:51

Thanks,

Just implemented this and works perfectly.

Thanks again.

#9

System Message - March 30, 2009 - 18:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.