Latest version
Make sure you have the latest stable version of each installed extension.
 
Commercial templates (Yootheme, RocketTheme, Artisteer etc.)
Please note that support for commercial templates is also commercial - for Membership Personal and Membership Full users.
We believe it is the necessary step to make our service even better.
 
Custom modification
In case you modify our extensions, you assume responsibility for the correct functionality and you haven't got right of support.
 
Live demo
Please supply a link to a live web page where I can see your entire environment.
 
Modern browsers
Please use a latest version of your browser.

 

Welcome, Guest
Please Login or Register.    Lost Password?

Problem with {loadmodule...} tags
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Problem with {loadmodule...} tags
#8587
Re:Problem with {loadmodule...} tags 1 Year, 1 Month ago  
Hi Daniel,

I played around a bit after your last post.

In my test, I have three tabs, each tab loading a different module type (mod_search, mod_login, mod_stats).
Code:

{magictabs}
TAB 01::{loadmodule mod_search,search}
||||
TAB 02::{loadmodule mod_login,login}
||||
TAB 03::{loadmodule mod_stats,stats}
{/magictabs}

Everything works fine at this point and the expected information is loaded into the respective tab's content container.

I then created another mod_search named searchMod in the module overview with another search field default entry 'searchMod'
After that I replace mod_stats with mod_search search2
Code:

{magictabs}
TAB 01::{loadmodule mod_search,search}
||||
TAB 02::{loadmodule mod_login,login}
||||
TAB 03::{loadmodule mod_search,searchMod}
{/magictabs}


Instead of displaying the search field of searchMod it displays the first search module's search field.
So, as conclusion it could be said that a module type is only loaded one time. If there is a second loadmodule tag with the same module type it automatically uses the information of the first loadmodule tag and so on.

Do you have any idea how to fix that?
vigges
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8588
Re:Problem with {loadmodule...} tags 1 Year, 1 Month ago  
Does it even work when you use it outside of Magic Tabs plugin?
I'm trying to put the text outside {magictabs} marks and only the first search module is working.
daniel.rataj
Admin
Posts: 4162
graph
User Offline Click here to see the profile of this user
Gender: Male Core Design Location: Czech Republic
The administrator has disabled public write access.
Daniel Rataj
www.greatjoomla.com
 
#8589
Re:Problem with {loadmodule...} tags 1 Year, 1 Month ago  
Well, it does work now and I don't know why.
I switched to using loadposition tags like I tried with no success before opening a thread here, but this time it's working

Daniel, thanks a lot for your time, anyway. I really appreciate it.
vigges
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: daniel.rataj