menulinks after change articlepage

  • info@fkcomsys.ch
  • Topic Author
  • New Member
  • New Member
More
12 years 3 months ago #23897 by info@fkcomsys.ch
menulinks after change articlepage was created by info@fkcomsys.ch
Hello Dan, cool template, I like it. Problem, if I change even a single character in article page the link no longer works from the menu. What am I doing wrong. Thanks a lot for your help. Gruss Fredy

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 3 months ago #23904 by milos
Each article of this template must contain the anchor tag in the beginning of the article. It looks (in example) like this:
Code:
<a id="environment"></a>
You can't see it if WYSIWYG editor is enabled in global configuration. So, either disable it or use HTML view to see this tag. When you have such tag in the content, then you can make menu items as on our demo. Those menu items are External URL (menu item type) and link in them should be (for this example): #environment
The following user(s) said Thank You: info@fkcomsys.ch

Please Log in to join the conversation.

More
12 years 3 months ago - 12 years 3 months ago #24218 by amoraj
I have the same problem.
I build the main page, but the link Biography no Link at the content.
www.angelmora.com/joomla/index.php?lang=en
Thank you,
Angel
Last edit: 12 years 3 months ago by amoraj. Reason: Add url

Please Log in to join the conversation.

More
12 years 3 months ago #24227 by ivan.milic
open:

templates/hot_one_page/js/hot_onepage.js

change:

jQuery(".scroll, .mp_topmenu a").click(function(event){
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
});

to:


jQuery(".scroll, .mp_topmenu a").click(function(event){
try{
event.preventDefault();
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
window.location = jQuery(this).attr('href');
}
});

Please Log in to join the conversation.

More
12 years 1 month ago #26833 by oneforpeace

milos wrote: Each article of this template must contain the anchor tag in the beginning of the article. It looks (in example) like this:

Code:
<a id="environment"></a>
You can't see it if WYSIWYG editor is enabled in global configuration. So, either disable it or use HTML view to see this tag. When you have such tag in the content, then you can make menu items as on our demo. Those menu items are External URL (menu item type) and link in them should be (for this example): #environment


I've a fresh installation!

Yes, I can see, Milos, that that is how the Main menu is designed to work...just one MAJOR problem...the tables in the database have the anchor tags, but the text in the WYSIWYG editor, in HTML view, of the corresponding article do not have the anchor tags. This is a fresh installation! So, I add the tags in the HTML view of the editor, AND, when I save the article the anchor tags are removed before the save, which means that the tables in the database no longer have the anchor tags either. I set global configuration to "No Filtering" for everyone and still the anchor tags are stripped. My Website is breaking one article at a time!

Please Log in to join the conversation.

More
12 years 1 month ago #26850 by ivan.milic
any element with id attribute will do. Maybe the problem is if you use empty <a tag

Please Log in to join the conversation.

Time to create page: 0.107 seconds
Powered by Kunena Forum