Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Module assignment problem [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Module assignment problem [SOLVED] (Read 7143 times)
peppemania
Jr. Member
Posts: 56
Module assignment problem [SOLVED]
«
on:
October 24, 2012, 12:03:03 »
Hello, I have a problem with Module assignment only on the home page and other pages linked from the menu.
example: mod_ads (right position) assigned only on the home page and a few pages.
however appears in all pages that are not on the menu.
I tried to assign frontpage position, but it only works with home page. not with the other pages that I want to assign it.
any solution?
«
Last Edit: November 18, 2012, 11:48:47 by peppemania
»
Logged
StefanSultanov
Full Member
Posts: 143
Re: Module assignment problem
«
Reply #1 on:
November 06, 2012, 21:25:09 »
Which beta you have this issue with?
Logged
peppemania
Jr. Member
Posts: 56
Re: Module assignment problem
«
Reply #2 on:
November 07, 2012, 10:56:05 »
hi Stefan,
elxis 4 beta rev1327
The problem occurs with the modules assigned only in homepage.
The modules appear in all articles that do not have a link in the menu.
example:
module xxxx assigned to the right position (only in home page), appears to right position of each new article
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Module assignment problem
«
Reply #3 on:
November 07, 2012, 14:01:56 »
Read this
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
peppemania
Jr. Member
Posts: 56
Re: Module assignment problem
«
Reply #4 on:
November 15, 2012, 12:24:16 »
the rev1358 does not work well for the modules assignment.
it is not possible to assign the module to a single page.
the modules assignment on category does not appear, but it appears on the all inside pages.
the assigned module on the homepage appears on all pages that have no links on menu.
it is possible to return to rev1327 for the assignment of the modules?
rev1327 only had the problem home page, solved with the custom front page and duplication of modules if necessary.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Module assignment problem
«
Reply #5 on:
November 17, 2012, 20:23:07 »
In Elxis 4.x menu items are just links. You have used (Elxis 2009.x) to assign modules on menu items with the Itemid. Now Itemid is gone and things work very different.
Elxis 4.x is not so accurate in assigning a module to a menu item, so new methods are required, and Elxis 4.x is full of these. What you want to do can be done in other ways.
To help those having similar problems I will try to make this assignment more accurate although I don't want to (as it adds extra database queries).
Please wait, I will reply back later.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Module assignment problem
«
Reply #6 on:
November 17, 2012, 21:50:34 »
Problem fixed!
Overwrite existing files with those I attach.
includes/libraries/elxis/menu.class.php
modules/mod_menu/mod_menu.php
The module assignment now works correct in all cases.
The highlight of clicked menu item(s) now works correct in all cases.
Important:
In order for this fix to work correctly elxisURIs in menu items should contain the component name.
Example 1:
content:famous-places/
instead of just
famous-places/
Example 2:
content:/
instead of an
empty string
for the site frontpage.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
peppemania
Jr. Member
Posts: 56
Re: Module assignment problem
«
Reply #7 on:
November 18, 2012, 11:47:57 »
wow it works perfectly now, except for pages not in menu (example: autonomuous page or article without category menu and search result).
now im ready for live site.
sometimes I love you
«
Last Edit: November 18, 2012, 11:58:09 by peppemania
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Module assignment problem [SOLVED]
«
Reply #8 on:
November 18, 2012, 17:11:50 »
Pages ot in menu, as in Elxis 2009.x, get the Itemid of the frontpage item.
If you don't want to display a menu item for those create a hidden menu and add menu items to these pages there.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Module assignment problem [SOLVED]