- Thank you received: 0
menulinks after change articlepage
-
info@fkcomsys.ch
-
Topic Author
- New Member
-
Less
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
-
Less
More
- Posts: 6797
- Thank you received: 723
12 years 3 months ago #23904
by milos
Replied by milos on topic menulinks after change articlepage
Each article of this template must contain the anchor tag in the beginning of the article. It looks (in example) like this:
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
Code:
<a id="environment"></a>
The following user(s) said Thank You: info@fkcomsys.ch
Please Log in to join the conversation.
-
amoraj
Inactive member -
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
12 years 3 months ago - 12 years 3 months ago #24218
by amoraj
Replied by amoraj on topic menulinks after change articlepage
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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 3 months ago #24227
by ivan.milic
Replied by ivan.milic on topic menulinks after change articlepage
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');
}
});
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.
-
oneforpeace
Inactive member -
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
12 years 1 month ago #26833
by oneforpeace
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!
Replied by oneforpeace on topic menulinks after change articlepage
milos wrote: Each article of this template must contain the anchor tag in the beginning of the article. It looks (in example) like this:
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): #environmentCode:<a id="environment"></a>
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 month ago #26850
by ivan.milic
Replied by ivan.milic on topic menulinks after change articlepage
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.191 seconds