Link to new page

More
11 years 1 month ago #34744 by jackson12
Link to new page was created by jackson12
I need to create a new menu item that will link to a new page for a module I installed. I'd think this is as easy creating a new single article and linking it to a new menu item. When I do this and click the menu item it's not redirecting. How can I do this?

Please Log in to join the conversation.

More
11 years 1 month ago #34762 by ivan.milic
Replied by ivan.milic on topic Link to new page
In menu item settings under "Link Type Options" under "Link CSS Style" set " external" <- note first char is blank.

Please Log in to join the conversation.

More
11 years 1 month ago #34776 by jackson12
Replied by jackson12 on topic Link to new page
Thanks, I did try exactly this but no luck! The page does not load still. I did clear cache. I attached picture
Attachments:

Please Log in to join the conversation.

More
11 years 1 month ago #34784 by ivan.milic
Replied by ivan.milic on topic Link to new page
Keep that and open:

templates/hot_food_spirit/js/hot_food_spirit.js

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

replace with:


jQuery(".scroll, .mp_top2 a:not(.external), .mp_top3 a:not(.external)").click(function(event){
event.preventDefault();
try{
jQuery('html,body').animate({scrollTop:jQuery(this.hash).offset().top}, 500);
}catch(e){
jQuery('html,body').animate({scrollTop:0}, 500);
}
});

Please Log in to join the conversation.

More
11 years 1 month ago #34868 by jackson12
Replied by jackson12 on topic Link to new page
This WORKED!

Thank you so much.

Please Log in to join the conversation.

Time to create page: 0.195 seconds
Powered by Kunena Forum