Closed (fixed)
Project:
Sections
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2010 at 19:24 UTC
Updated:
5 Jul 2010 at 19:30 UTC
Hi,
I'm new to Drupal and am using the sections module for a few different sub themes. All pages with at my.kidwind.org/kidwind/ look like one site and all pages at my.kidwind.org/windwise/ look like another, as configured in sections.
When I'm going to pages like users/* or comment/reply/*/* i can only get one template. Does anyone know if there is a way to show these pages using the template that the user is coming from? So if I'm coming from my.kidwind.org/windwise/curriculum, when I click "my account," the page my.kidwind.org/users/* looks like all the /windwise/ pages?
thanks
Comments
Comment #1
hass commentedYou may be able do solve this with custom PHP code. Use referer or save something in a session var... strange logic.
Comment #2
robyedlin commentedOk thank you. I noticed that you can append a trailing slash and any text to many of the common pages, then assign those pages to the section.
For example, if you are using a template that is triggered by /windwise (example.com/windwise/*), you can add /windwise to common pages like user/register, so you get example.com/user/register/windwise and then in sections just assign the proper template to /user/register/windwise.
Not a fix but for most of the pages except user edit pages this can work. Then in the template itself you can rework the links.