Closed (cannot reproduce)
Project:
Domain
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 21:31 UTC
Updated:
23 Jun 2011 at 18:35 UTC
Hi,
I use URL aliases.
When I want to use "Page specific visibility settings" it only works with "system"-urls like "node/11" and not the alias "blog/titel-of-post"
Can I do something about it?
Thanks,
Jurgen
Comments
Comment #1
hass commentedI'm not able to repro.
You may have other modules installed that switch themes. There are potential conflicts... try to disable them all first and provide us a list of all your active modules if this does not fix your problem.
Comment #2
Jurgen8en commentedYes, I also use Domain Access.
By accident, I found a solution. I need to use (added the last one)
blog
blog/*
*/blog/* (for my translations)
Now, together with Domain Access....
It worked on my main site, see http://www.igadgets.be/blog
On my second site, some page worked, some not.
http://www.icadeau.nl/blog NOT
http://www.icadeau.nl/nl/blog/online-op-1-september WORKS
I use:
blog
blog/*
blog/*/*
*/blog
*/blog/*
*/blog/*/*
Comment #3
hass commentedSorry, I've never used Domain Access module... you need to debug this for us.
Comment #4
Jurgen8en commentedWant I know for now is that Domain Access changes the global variable:
$custom_theme
I found this in theme.module:
Comment #5
Jurgen8en commentedI added something to domain_theme.module before the $custom_theme change
Comment #6
hass commentedYes, this could be the reason! I cannot say what $themes[$custom_theme] is... I only know $custom_theme and $theme, but sections only set the $custom_theme var and if a module overrides this value because of a different modules order the last module wins. Domain Access loads after sections and therefore it may override the $custom_theme value of sections. Not sure if $themes[$custom_theme] is wrongly implemented.
I'm moving the issue to Domain Access. Please correct the version number if required.
Comment #7
hass commentedAlso make sure you have "Administration theme" set to system standard or section cannot work correctly...
Comment #8
agentrickardThe discussion of this issue has nothing to do with the original request.
What action are you expecting from me here?
Comment #9
agentrickardBy the way, the correction in #5 is correct, otherwise DA will likely override the value set by other modules.
In the D6 version, this code already exists. So could you roll a patch and mark it a backport, please?
Comment #10
hass commentedI was unable to repro what have been reported at the beginning... what he have written in #2 seems to depend on Domain Access module... (for e.g. "*/blog/*"), but I'm not able to repro this as I'm not using Domain Access module. Additional there might be a bug in Domain Access if theme switching doesn't work if the URL filter is correct...
Comment #11
agentrickard@hass
Those are two entirely separate issues. The problem with Sections is that DA is overwriting your $custom_theme. This is correctable (there is even a UI for resetting the weight of Domain Theme), and #5 is perfectly correct.
The original issue _might_ refer to the process by which DA "steps aside" and does not enforce its access rules on pages like "user/UID/track".
Or it might be user confusion.
Comment #12
agentrickardGee, thanks for following up on this, JurgenBen!
Comment #13
Jurgen8en commentedHi,
I cannot following exactly anymore, there was some bug. But really don´t know way.
I did a very bad solution, added the code also to includes/theme.inc
Because the theme wasn´t set by the domain-module in some situations.
Comment #14
agentrickardThat code doesn't really make sense. It is the same as the code in domain_theme_menu(). Any idea under what conditions the theme was not set by domain_theme?
Comment #15
Jurgen8en commentedHi,
I really don´t found any logic in it. Sometimes it was ok, sometimes not.
Now it is always ok, it does make sense :-)
Sorry, can´t help. Maybe that I did something wrong.
You may change the status of this post.
Jurgen
Comment #16
agentrickardOK, I am going to chalk this up to a known issue in D5.
Comment #17
agentrickard