Home » Forum
NoNumber!

Joomla! extensions & websites
development / support / consultancy

I try to respond within 24 hours (excluding weekends). If I haven't responded by then, feel free to post a reminder or bug me via email.
Welcome, Guest
Please Login or Register.    Lost Password?

module loses styling when in article
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: module loses styling when in article
#6375
module loses styling when in article 8 Months, 1 Week ago  
Hi there,

I really like the feature this plugin provides but I'm having a bit of trouble with it.

When I load my module (yooaccordion) into my article (which is placed within 2jtabs) it loses all it's styling and comes up as plain text.

I've created a unique module position in the template xml for yooaccordion and it's published there.

However when I publish it in a previously existing position on the same page (like debug) it keeps it's styling but only when enabled. but that will result in having the module displayed twice on my page which I don't want either.

any help is much apriciated.
(edit: when published in an article it also loses functionality.)

Thanks in advance,
Jason.
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6376
module loses styling when in article 8 Months, 1 Week ago  
Styling is mainly done through the templates css. And that css may be formed in a way that the module styles only have effect in certain areas (like the div with class "left" or whatever).
So you would have to change that css file so these styles also have effect on modules in other areas.

Secondly, the modules are placed in a certain html style. This is normally defined by the templates index.php. So have a look in there to see what html style is used for the modules in the normal position (probably 'xhtml'). So you will have to use that html style for the display of the module in the content too.
You can change the default html style in the plugin settings.
Peter van Westen
Admin
Posts: 4549
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6377
module loses styling when in article 8 Months, 1 Week ago  
Hi thanks for the quick answer,

I am not talking about the styling of the template tough but the styling of the module itself (and it's funtionality.)

I've taken a look in the index.php, can I conclude by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
that it's xhtml ?

I will test the setting in the plugin and see if it works, thanks

Edit:
I've changed to xhtml but this didn't seem to be the fix.
could you please explain or point me to how I can change my template's css to let the module keep it's styling and functionality when loaded by your plugin ?

thanks a ton in advance !
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6378
module loses styling when in article 8 Months, 1 Week ago  
Do you have a link to a page where you have it working (in module pos). And a link to the page where you don't have the styling?
Peter van Westen
Admin
Posts: 4549
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6379
module loses styling when in article 8 Months, 1 Week ago  
let me make you those links, currently it's only on one page.
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6380
module loses styling when in article 8 Months, 1 Week ago  
the styling should look like:
http://www.maars-systeemwanden.nl/Kantoor-inrichting
but it looks like: http://www.maars-systeemwanden.nl/

(when above conditions are applied)

PS: for the home page it's the 3th field in the tabbed section
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
Joomla Open Source Training