- Posts: 30
COMMUNITY FORUM
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Module in component area
- Nikos Papanikolaou
- Topic Author
- Offline
- Junior Member
Less
More
11 years 4 months ago #136759
by Nikos Papanikolaou
Module in component area was created by Nikos Papanikolaou
hi, i need to place a module inside the component area.. actually i have an empty k2 item and in this item i wan't the module to be loaded..
if i use {loadposition customposition} the module breaks (actually it seems not to call the js code, although there is no error in console)
what are the alternatives? i tried this code but no success
if i use {loadposition customposition} the module breaks (actually it seems not to call the js code, although there is no error in console)
what are the alternatives? i tried this code but no success
Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 4 months ago #136760
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Module in component area
Hello Nikos in order for your code to work you need to assign this item to a menu item.
Then assign the module to that particular menu item and at the
nuMuzik_Component position
Then assign the module to that particular menu item and at the
nuMuzik_Component position
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Nikos Papanikolaou
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
11 years 3 months ago #136761
by Nikos Papanikolaou
Replied by Nikos Papanikolaou on topic Module in component area
Krikor, while assigning menu to items/categories etc.. i see no option to assign this specific module..
how should i do it?
is for some reason k2 item blocking other js from running?
how should i do it?
is for some reason k2 item blocking other js from running?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 3 months ago #136762
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Module in component area
Hello Nikos,
Have you entered this position in your templatedetails.xml as well?
You can also type it in the text field and it will also render.
For your second question K2 is not blocking any JS scripts. Make sure you are not using a 'Tidy' plugin or something of that sort,
Have you entered this position in your templatedetails.xml as well?
You can also type it in the text field and it will also render.
For your second question K2 is not blocking any JS scripts. Make sure you are not using a 'Tidy' plugin or something of that sort,
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Nikos Papanikolaou
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
11 years 3 months ago - 11 years 3 months ago #136763
by Nikos Papanikolaou
Replied by Nikos Papanikolaou on topic Module in component area
the code from k2 forum, adding a new position in item.php didn't work either..
i was almost convinced that it was a module issue..but on the other hand on a quick test on beez5 default template, had as a result the module to operate normaly even within k2 item with {loadposition customposition}
i really don't know how to deal with this..it seems that probably the module is not a "state of art" in terms of bulletproof code but on the other hand i can't explain how it is possible to work ok on beez5
so far the only viable solution has been to position it absolutely but tbh i m not happy with this solution..
and the weirdest of all is that it generates no js errors in the console..
if you feel it like a "case study" on what could possibly be the issue module vs template i have no problem to provide the module for examination
*edit:just to clarify because sometimes when writing could be misunderstood, i m not expressing a dissatisfaction regarding the template, just a kind of warning of a potential issue..
i was almost convinced that it was a module issue..but on the other hand on a quick test on beez5 default template, had as a result the module to operate normaly even within k2 item with {loadposition customposition}
i really don't know how to deal with this..it seems that probably the module is not a "state of art" in terms of bulletproof code but on the other hand i can't explain how it is possible to work ok on beez5
so far the only viable solution has been to position it absolutely but tbh i m not happy with this solution..
and the weirdest of all is that it generates no js errors in the console..
if you feel it like a "case study" on what could possibly be the issue module vs template i have no problem to provide the module for examination
*edit:just to clarify because sometimes when writing could be misunderstood, i m not expressing a dissatisfaction regarding the template, just a kind of warning of a potential issue..
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 3 months ago #136764
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Module in component area
The problem with checking jQuery code with the beez template is that that template does not use jQuery so you can't check for multiple instances of jQuery and other conflicts.
I can see the module is force loading an older version of jQuery (1.7) so the conflict lies in the multiple instances of the jQuery.
Disabling the 1.7 version and keeping the 1.8 version or downgrading to 1.7 will resolve your issues.
I can see the module is force loading an older version of jQuery (1.7) so the conflict lies in the multiple instances of the jQuery.
Disabling the 1.7 version and keeping the 1.8 version or downgrading to 1.7 will resolve your issues.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Nikos Papanikolaou
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
11 years 3 months ago #136765
by Nikos Papanikolaou
Replied by Nikos Papanikolaou on topic Module in component area
i think i ve ended up with a solution..
after disabling behaviour.js i found that the module worked properly..
so i returned back to module core files and replaced anonymous functions and all $ instances with my own var after having it defined as jquery.noconflict now it seems to operate as expected..
it had been really tricky..!!!
after disabling behaviour.js i found that the module worked properly..
so i returned back to module core files and replaced anonymous functions and all $ instances with my own var after having it defined as jquery.noconflict now it seems to operate as expected..
it had been really tricky..!!!
Please Log in or Create an account to join the conversation.