Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

External URL menu with #grid1-link not working

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi, I'm using the template "Onepage". (But my problem might not be specific to Onepage template.)

I'm having trouble with External URL menu, and looking for help here.

For example, one of my main menu is set as follows;

Menu Item Type: External URL
Link: http: //mydomain.com/#grid1-link
Target Window: Parent

- Zentools module is published on grid1
- Template > One page design? : OFF

This menu works OK when you are on HOME page.
But when you are on pages other than HOME, it does not work. (Nothing happens when clicked.)

(Strangely, if I changed the target window from "Parent" to "New Without Navigation", it opens a new window and display the content correctly when clicked.)

Would there be anything else I should do to make it work?

Thanks,
Rika

P.S.
The reason I disabled the "one page design" is because some pages need to be displayed alone without other modules. What I want to achieve is to have "one page scroll design" for HOME page, and usual non-onepage behavior for other pages triggered by footer menu. But I want to always keep the same main menu wherever you are. I tried assigning "one page design template" to HOME menu, and "non-one page design template" to footer menu, but the External URL menu didn't work either.
  • mahalo39's Avatar
  • mahalo39
  • LIfetime Developer - Big Bamboo
  • 76 posts
  • 1 Thanks
  • Karma: 0
Last Edit: 5 years 5 months ago by mahalo39.
The administrator has disabled public write access.
Do you have a link for the site?

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

Thanks for your reply.
The site is under-construction and needs basic authentication.
So I'll send the authentication details by creating a ticket.

Thanks,
Rika
  • mahalo39's Avatar
  • mahalo39
  • LIfetime Developer - Big Bamboo
  • 76 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Rika,

In that case its best to paste in your question in to the ticket to avoid confusion

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Just wanted to share the results.

Rob helped me sort this out by pointing out that the smoothscroll javascript plugin at the bottom of the file /js/template.js, which is responsible for the scrolling effect to the anchor link, prevents the default behaviour of a link that contains the pound/hash symbol (stops the page reloading).

Now I understand why it doesn't let the page reload for the link with hash symbol.

So I've decided to change the main menu structure, giving up to share the same menu between home and other pages.
Now, pages other than HOME have different set of menu.

Thanks,
Rika
  • mahalo39's Avatar
  • mahalo39
  • LIfetime Developer - Big Bamboo
  • 76 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
The following user(s) said Thank You: manh
ah - thanks for the update

Good luck with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers