Related Items module changes main menu

  • Posted by Arjan den Heijer (9) Offline
Question about the Related Item Extended Module:

- When I activate the module it works perfectly.. which is great;
- But when I visit a page with the the active module my main menu is acting strange;
- Please see the attachment for the result (bad) and how it should be (good);
- Can you give me a hint to repair this.

Thanks in advance..
A
10 years 6 months ago #1 by Arjan den Heijer

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

  • Posted by TemplatePlazza (5310) Offline
Hi adenheijer, sorry for delay in responding.
Please open this file with your favorite text editor :
www.zijnboodschap.nl/modules/mod_related...assets/css/style.css

change the line :
* {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
with
.ac * {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
10 years 6 months ago #2 by TemplatePlazza

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

  • Posted by Arjan den Heijer (9) Offline
Hi.

Thanks. That helps!

Another question:
If I order the related articles by 'Article Ordering' it looks like it is ordered descending and not ascending. Can I change this in ascending order?

Another question:
Can I change the text of 'Read more' and 'More Articles'? For example to my own language?

Thanks in advance,
10 years 6 months ago #3 by Arjan den Heijer

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

  • Posted by Arjan den Heijer (9) Offline
I solved my 2nd question (language) already myself.
Could you still please check my first question of the above message?

tnx,
10 years 6 months ago #4 by Arjan den Heijer

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

  • Posted by TemplatePlazza (5310) Offline

If I order the related articles by 'Article Ordering' it looks like it is ordered descending and not ascending. Can I change this in ascending order?

Please open file /modules/mod_related_items_xtd/helper.php with your php editor and around line 151 you'll see this code
case 2: $orderby  = "c.ordering DESC"; break;
and another one at line 300:
case 2: $orderby  = "a.ordering DESC"; break;
change the word DESC to ASC

Can I change the text of 'Read more' and 'More Articles'? For example to my own language?

yes, you can edit the file /language/en-GB/en-GB.mod_relateditems_xtd.ini at line 157 or create your own version of xx-XX.mod_relateditems_xtd.ini
10 years 6 months ago #5 by TemplatePlazza

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

  • Posted by Arjan den Heijer (9) Offline
tnx.. for your help.
Problem solved! :)
10 years 6 months ago #6 by Arjan den Heijer

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

Powered by Kunena Forum