Hello everyone: I need to change the look of certain pages, ie I have installed the organic group, and only I want to change the appearance of any content generated by this module with CSS. How can I differentiate them from other content? I know I have to change or rename the file page.tpl.php, but I do not know what I need to put as file name. I am a rookie in styles, forgive me. Thank you very much. I appreciate their support.
Gustavo .-
On Wed, Dec 9, 2009 at 3:17 PM, Gustavo Cabral gmcabral@gmail.com wrote:
Hello everyone: I need to change the look of certain pages, ie I have installed the organic group, and only I want to change the appearance of any content generated by this module with CSS. How can I differentiate them from other content? I know I have to change or rename the file page.tpl.php, but I do not know what I need to put as file name. I am a rookie in styles, forgive me. Thank you very much. I appreciate their support.
You should install the Devel module, and enable the Theme Developer module. That'll give you a nice display of which files can be used to theme the page or element, alone with what data is pushed to the template.
Or instead of making a new page.tpl.php you can just find out what the variable is that defines the organic group, and add this to one of your class statements, and voila; you have a point from which to theme the entire page; beter IMHO than making lots of different tpl.php files, when the majority of what you write in them is identical [more work later to change anything cause you'll have to do it in several files].
Best,
Gustavo Cabral wrote:
Hello everyone: I need to change the look of certain pages, ie I have installed the organic group, and only I want to change the appearance of any content generated by this module with CSS. How can I differentiate them from other content? I know I have to change or rename the file page.tpl.php, but I do not know what I need to put as file name. I am a rookie in styles, forgive me. Thank you very much. I appreciate their support.
Gustavo .-