Active
Project:
Gallery
Version:
5.x-2.x-dev
Component:
Code / API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2008 at 14:32 UTC
Updated:
12 Sep 2008 at 11:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
lvthunder commentedI don't think you can do that, but you can make a G2 theme that doesn't have any custom colors or change the CSS classes to use the classes Drupal uses.
Comment #2
profix898 commentedIf I got you right, this is possible with G2.3 (but not with G2.2) and the options to enforce a certain theme for embedded gallery are available in the D6 version of gallery module also.
Comment #3
skizzo commentedIs that capability only available in D6? I just upgraded
Gallery: 2.2.5 ---> G2.3-rc1
gallery module: 5.x-2.2 ---> 5.x-2.x-dev
but still I don't see how to "disable" the gallery module's theme selection.
To clarify: what I would need is to display the embedded gallery using "the site's theme"
(rather than the theme selected in admin/settings/gallery). For example, if I have two
D5 sites using themes Garland_one and Garland_two, I would like to display
- siteone.example.com/gallery with theme Garland_one
- siteone.example.com/gallery with theme Garland_two
...and just forget about the theme selection in admin/settings/gallery
Thank you.
Comment #4
profix898 commentedActually I thought you were talking about the G2 theme. For the Drupal theme (used for gallery pages) you can choose 'System default' at admin/settings/gallery and gallery module does not force a certain theme then. In case it still does this should be considered a bug.
Comment #5
skizzo commentedIf I choose "System default", and my default happens to be Marvin, then I see
- siteone.example.com/gallery (theme Marvin)
- sitetwo.example.com/gallery (theme Marvin)
while for the home pages I would get
- siteone.example.com/ (theme Garland_one)
- sitetwo.example.com/ (theme Garland_two)
Maybe it is not a bug. After all, the system is doing what it is told to...
Maybe what is missing is a setting for theme selection priority, to be
used when gallery and another module both try to set the theme.
Please see attached snapshot from domain.module administration
Note: I tried to change execution order from -100 to +100, but gallery
always wins...