fbpx

Stay Home & Grab 20% Discount COVID19Grab Now

Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with the menu: a domain is added to the anchor.

Problem with the menu: a domain is added to the anchor. 2 months 12 hours ago #21046

  • lemady
  • lemady's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hi! I use the SimpleCallback module on my site. I need to create a link like
<a href= "#simplecallback"></a>
but when I add an external link to the menu, the domain is added to it. It turns out:
<a href="http://mysite.com/#simplecallback"></a>
How do I make sure that the domain is not added to external links? This menu is displayed correctly in the protostar template. Thank!
Last Edit: 2 months 12 hours ago by lemady.
The administrator has disabled public write access.

Problem with the menu: a domain is added to the anchor. 2 months 9 hours ago #21049

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3704
  • Thank you received: 543
  • Karma: 96
Hi,

See here: github.com/joomdev/Astroid-Framework/blo...u/link.php#L106-L108
It's intentionally done for the one page smooth setup (assuming one page is the homepage). You can comment line 108 to disable it.

thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: lemady

Problem with the menu: a domain is added to the anchor. 2 months 2 hours ago #21055

  • lemady
  • lemady's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Thank You, Chetan! In this case, might it be better to add a checkbox to the template settings to be able to manage this function?
The administrator has disabled public write access.

Problem with the menu: a domain is added to the anchor. 1 month 4 weeks ago #21060

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3704
  • Thank you received: 543
  • Karma: 96
Yes, I was thinking about it after I posted here.

We assume that only the homepage would be the default menu item in one page cases and that is not the case.

Will see what can be done here. Thanks again,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.305 seconds