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

hass’s picture

Status: Active » Fixed

You may be able do solve this with custom PHP code. Use referer or save something in a session var... strange logic.

robyedlin’s picture

Ok 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.