I'm having a linking problem with the phptemplate theme I've developed. The public site works fine for anonymous users, but when authenticated users log-in, the links in the admin section go haywire.

For example, suppose I log-in and go to administer >> themes:
www.site.com/drupal-install/admin/themes

Now let's say I try to log-out... or go anywhere outside the /admin directory I'm in. Instead of going to:
www.site.com/drupal-install/logout

I get taken to:
www.site.com/drupal-install/admin/themes/logout

Each new link gets appended to the URLs embedded in the links. This can get quite comical...
www.site.com/drupal-install/admin/themes/admin/themes/admin/themes/logout etc.

What's puzzling is that I haven't modified any *.inc or *.module files, and what's more, all the other PHPtemplate themes still work fine.

Taking advantage of that, I set my authenticated account to use box_cleanslate so I can finish the site build. But I'd love to puzzle this out... any thoughts?

FYI - I'm running drupal 4.6.3, phptemplate 4.6.0, menu-on-the-fly 4.6.0, php 4.4.1

Comments

sherwoodseo’s picture

Adding a base tag to the template fixed the URLs, nailing them to a common floor :)

Sherwood Stranieri
NCC Boston / Search Engine Marketing