IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

Content highlights

  • Michael Weckert
  • Michael Weckert's Avatar Topic Author
  • Offline
  • New Member
More
7 years 10 months ago - 7 years 10 months ago #137307 by Michael Weckert
Content highlights was created by Michael Weckert
hello there nuevvos,
my questions:

1. when I have no modules in the nuModusVersus_Below_Slideshow position, the template generated content highlights for the frontpage are not shown anymore...
is there another solution than setting up an empty module on the nuModusVersus_Below_Slideshow position?

2. how do I implement a "go to top" anchor on the front page?

thank you, best regards, Michael

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago - 7 years 10 months ago #137308 by Yiota Ziaggou
Replied by Yiota Ziaggou on topic Content highlights
Hello,

1. In line 64 of the index.php of the nuModusVersus template, replace this code
					
Note to new users: Please remember to search the forum before posting a question!

Please Log in or Create an account to join the conversation.

  • Michael Weckert
  • Michael Weckert's Avatar Topic Author
  • Offline
  • New Member
More
7 years 10 months ago #137309 by Michael Weckert
Replied by Michael Weckert on topic Content highlights
Gia sou Yiota,

thank you for your fast reply... the solution for content highlight worked fine... "back to top" will not work on the frontpage (homepage) - I tried different places for the code, link appears but does not work... but this is no big issue anyway.

xairetismous pollous kai kales yiortes!
Michael

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #137310 by Yiota Ziaggou
Replied by Yiota Ziaggou on topic Content highlights
You will also have to add this javascript code in custom.js file of the template

// Smooth Scroll
var $nv = jQuery.noConflict();
$nv('.k2Anchor').click(function(event){
event.preventDefault();
var target = this.hash;
$nv('html, body').stop().animate({
scrollTop: $nv(target).offset().top
}, 500);
});

Sorry about that. I thought that the K2 component was loading in the homepage of this template but it doesn't.

Thank you for the wishes :)

Note to new users: Please remember to search the forum before posting a question!

Please Log in or Create an account to join the conversation.

  • Michael Weckert
  • Michael Weckert's Avatar Topic Author
  • Offline
  • New Member
More
7 years 10 months ago #137311 by Michael Weckert
Replied by Michael Weckert on topic Content highlights
gea sou Yiota,
thank you again... I inserted the code into custom.js and the div-snipet into the index.php after the footer div... same as before... link shows but not working... bot don't bother.. there are more important things to do... btw, I appreciate your great work.
Hope life will become better soon in Greece... it's a shame!

best regards,
Michael

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #137312 by Yiota Ziaggou
Replied by Yiota Ziaggou on topic Content highlights
Add this right under your <body> class
<span id="startOfPageId<?php echo JRequest::getInt('id'); ?>"></span>

The anchor is good by itself but it cannot go where there is no actual starting point to go.

Note to new users: Please remember to search the forum before posting a question!

Please Log in or Create an account to join the conversation.

  • Michael Weckert
  • Michael Weckert's Avatar Topic Author
  • Offline
  • New Member
More
7 years 10 months ago #137313 by Michael Weckert
Replied by Michael Weckert on topic Content highlights
geia sou Yiota,

you are right, of course ;o) ...
thanks you again!

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #137314 by Yiota Ziaggou
Replied by Yiota Ziaggou on topic Content highlights
You are welcome.

Note to new users: Please remember to search the forum before posting a question!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum