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
- 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
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 :with
10 years 6 months ago #2
by TemplatePlazza
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;}
.ac * {-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
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
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,
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
Could you still please check my first question of the above message?
tnx,
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5310) Offline
Please open file /modules/mod_related_items_xtd/helper.php with your php editor and around line 151 you'll see this codeIf 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?
case 2: $orderby = "c.ordering DESC"; break;
case 2: $orderby = "a.ordering DESC"; break;
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.iniCan I change the text of 'Read more' and 'More Articles'? For example to my own language?
Please Log in or Create an account to join the conversation.
- Posted by Arjan den Heijer (9) Offline