page theme is not taking over page i select it for.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Test Page.txt | 2.49 KB | glassbyd |
| #13 | Test Page Edit.txt | 2.5 KB | glassbyd |
| #13 | Page-Theme.jpg | 18.62 KB | glassbyd |
| #12 | check_custom_theme.tar_.gz | 871 bytes | rstamm |
| #10 | PageTheme.jpg | 58.65 KB | glassbyd |
Comments
Comment #1
rstamm commentedneed more info
which theme do you use and can you post the drupal paths to which the theme is assigned
Comment #2
rstamm commentedComment #3
glassbyd commentedI am having the same issue - on one site this module works fine - but on another I have set up my base theme as a Zen sub-theme and tried two different page themes for two different pages
Garland
New Zen sub theme
Neither is working and both are enabled
I am running this site under 6.13.
Comment #4
glassbyd commentedJust noted you wanted to know where stuff was
/public_html/sites/all/themes
where public_html is root
Comment #5
glassbyd commentedWhen I wake up the drupal paths are
thispage (using autoalias)
node/20 (deliberately not using aliases)
Comment #6
glassbyd commentedI have just been running some tests
threecol
node/20/edit
admin/build/page-theme/edit/bluemarine
node/6/edit
node/20
node/14/edit (node/14 and threecol are the same thing)
Using bluemarine (just because it was an obvious change)
threecol and node/20 don't work the other four do
Comment #7
rstamm commentedDo you use a related module such as Sections or Themekey?
Maybe Page theme will be overwritten by another module.
Check the module's callup with System information.
Go to Administer > Site configuration > System information and set modules list to Ascending sorted by module's call-up.
Go to Administer > Reports > System information > Drupal > Modules and post your modules list.
Comment #8
glassbyd commentedSure Modules list attached as a .txt.
What is surprising is that this site is pretty similar to the site that is working fully - for which I thank you for the module!
Comment #9
rstamm commentedModules list looks ok.
Tested with fresh installation but couldn't confirm.
Please check if there are any white spaces in your pages/paths settings and remove them.
The paths
node/20andnode/20are different pages.Comment #10
glassbyd commentedCan I point out my earlier mail which notes that some of the pages are working and others aren't. The common theme is that the base pages aren't working, but the edit pages etc. are working?
The attached screenshot shows that they don't have spaces on the edit pages. They also don't on the URL aliases page
The top level pages all don't work so tose below don't pick up the page theme
node/14
node/20
Front
content/thispage2
Hope this helps
Comment #11
rstamm commentedPlease enable devel module and add
dvm('page_theme: '. $custom_theme);to function page_theme_init() in file page_theme.module.It should looks like this:
check the output on every page which won't work.
Comment #12
rstamm commentedA better way to find out which theme is used on which page is to use this small module.
It displays the value of the variable
$custom_themeas Drupal message.Comment #13
glassbyd commentedSorry for the delay, but I am now back at my PC.
Actually just looking at the source tells me the same thing. Two files are attached one has the test page css files and the other has the node/21/edit css files . As you can see the test page is using the base css (artist) while the edit page is using the page theme allocated css (square). In both cases page theme (the third file) is set to use Square.
Comment #14
rstamm commented