By MarekP on
Hello,
I'd like to modify theme templates of my web site, but I want to use some of the standard themes for the administration interface in the same time. I've included the following code in the beginning of the page.tpl.php
if (arg(0) == 'admin' ||
(arg(0) == 'node' && arg(1) == 'add') ||
(arg(0) == 'node' && arg(2) == 'edit') ||
(arg(0) == 'user' && arg(2) == 'edit')) {
include 'page-admin.tpl.php';
return;
}
but this affect the page template only. All theming done via other templates and via template.php apply both to the front end and the admin interface. Is there a simple way, how to use template.php just for the front end?
Thank you,
Marek
Comments
contrib module
If I don't remeber wrong there is a module that will allow to have different themes for different sections of your site. I don't recall its name but go through the list of modules.
Section module - CVS
Hi Alex,
I've found the Section module here: http://drupal.org/handbook/modules/Sections
It seems to be exactly the one I need, but I don't know how to download it. Is it possible to download it from CVS archive?
Thank you very much,
Marek
Looks like it's not ready yet
Hi Marek,
the new Sections module looks like EXACTLY what I was looking for to use with my new user group site.
I looked at the CVS section and it appears that it is still "in development" and hasn't been released yet.
Maury
Sections CVS
Try this address: http://drupal.org/project/sections
To find modules click on the Downloads tab, then modules, and then choose a version number.