trying to override the home breadcrumb links

e-roula - June 17, 2009 - 19:51
Project:Front Page
Version:6.x-1.2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

hello, i need some hlep please, my situation is the following:

1. i have a page outside drupal (land.php) where i want the visitors to go to when they first enter the website, so i changed .htaccess settings to go to land.php
2. land.php has 2 links for the visitors to choose their connection speed from so i show them the flash intro based on their connection speed. so they either go to lightning.php or turtle.php, both are outside drupal too.
3. after viewing the intro they click enter link which takes them to index.php which is the drupal installation.

now all of the above was working fine except for one thing, when visitors are inside drupal and click on the home link anywhere, they go back to land.php because it's now the default home page as specified in the .htaccess that i modified. I want the home link inside drupal to go to drupal home page and not go back to choose the intro speed connection.

i tried installing the frontpage module to solve this problem, i didnt change any settings except:
1. checked the box for "Override your HOME breadcrumb links" and put the value "index.php" in the "Redirect your site HOME links to:" textbox.
2. activated the frontpage settings by entering the value "front_page" in the "Default front page:" textbox.

now when visitors first enter the site they go to land.php, view the intro after selecting the connection speed, then when clicking enter i get this error message "This webpage has a redirect loop."

can anybody know what i'm doing wrong in this? i dont know if i'm missing something :S

thanks a lot for your support.

#1

e-roula - June 17, 2009 - 22:57

ok since i'm in a hurry i tried the splash module and it worked fine. it would be cool to know how to use this module too. thanks.

#2

e-roula - June 19, 2009 - 21:54

one of the many reasons that made me choose drupal over other cmss out there is what i read everywhere during my research about how drupal got this great online community supporting it and providing answers to whatever questions u might have. until now not a single question i posted on drupal website itself got a single answer! is everyone so busy or did everyone switch to another cms?!

#3

Scott M. Sanders - June 19, 2009 - 22:11

FYI, I just tried using index.php as my HOME override and am getting a redirect loop error too. Bug?

The text right below this field suggests using a value like "node/12" instead.

#4

Dublin Drupaller - November 12, 2009 - 09:51
Status:active» closed

@Scott. redirecting the front_page.module back to itself is not a good idea. you will throw the module into a loop.

To the earlier poster...why don't you use the FULL HTML option for your splash page and redirect the users to node/2 when they click on the HOME Breadcrumb link?

That's what it's for. See the readme.txt for more.

If you want to redirect ALL home links, you need to modify your page.tpl.php file. The Home Breadcrumb override only affects the breadcrumb.

#5

Scott M. Sanders - November 12, 2009 - 15:38

Yes, just confirming.

 
 

Drupal is a registered trademark of Dries Buytaert.