Forums / Setup & design / Link to site root.

Link to site root.

Author Message

Brian Baxter

Sunday 01 July 2007 10:24:58 pm

Ok, this small task has been daunting me for the past week, I would like to add a link on my menu back to "home" i.e. the site root, but whenever I add a "link" it opens in a new window, how can one go about doing so without it opening in a new window?

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

André R.

Monday 02 July 2007 2:12:24 am

override menu/flat_top.tpl

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Brian Baxter

Monday 02 July 2007 8:24:21 pm

I am sorry, I am still a bit of a newbie, so I am not sure what that means? can you give me more details???

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

Brian Baxter

Wednesday 25 July 2007 6:36:31 am

just for the record for anyone else who needed this information, I am not sure if it exists as i couldn't find it, and after 20 something days later i feel like I should have gotten more support, even though the support isn't guaranteed, I do know and understand.

The file that needs to be edited resides at this location. For the record there are other directories that contain this file as well, but this one needs to be changed, and also be sure to clear your cache to reflect the changes in this file.

extension/ezwebin/design/ezwebin/templates/menu/flat_top.tpl

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

André R.

Wednesday 25 July 2007 7:39:36 am

Hi, didn't notice your question there.
Sorry for not being more precise.

btw, link to root will normally look like this:

<a href={'/'|ezurl}>Home</a>

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom