Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 3 Hours, 30 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

module loses styling when in article
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: module loses styling when in article
#6375
module loses styling when in article 2 Years, 1 Month 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 2 Years, 1 Month 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: 9091
User OfflineClick 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 2 Years, 1 Month 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 2 Years, 1 Month 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: 9091
User OfflineClick 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 2 Years, 1 Month 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 2 Years, 1 Month 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.
 
#6382
module loses styling when in article 2 Years, 1 Month ago  
Please tell me when you have time to talke a look on msn (i've added you) because the site isn't supposed to be public yet. then il put it online for you.
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6383
module loses styling when in article 2 Years, 1 Month ago  
The css file doesn't seem to get placed. This has probably got to do with the way yoo mod is programmed.

You could just include the yoo css in your template so it gets loaded by default.
Peter van Westen
Admin
Posts: 9091
User OfflineClick 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.
 
#6384
module loses styling when in article 2 Years, 1 Month ago  
/modules/mod_yoo_accordion/mod_yoo_accordion.css.php
Peter van Westen
Admin
Posts: 9091
User OfflineClick 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.
 
#6391
module loses styling when in article 2 Years, 1 Month ago  
Hi peter, thanks for taking the time to look at this.

I will give this a try, however can you please point to how I can add the module's css to my template's ? is the path you describe above the css file because it ends in a php extension..
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6392
module loses styling when in article 2 Years, 1 Month ago  
yeah, they use a php file to generate a dynamic css. You should be able to add that to your template anyway.

Just take a look in the html source of the page where it does work. You should see the link tag with that css.php file in the head. Just copy the tag and place it in your templates index.php.
Peter van Westen
Admin
Posts: 9091
User OfflineClick 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.
 
#6393
module loses styling when in article 2 Years, 1 Month ago  
thanks a ton ! I'm definitely going to try it out

EDIT: thanks ! it worked
spiritonline
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6448
Re:module loses styling when in article 2 Years ago  
Hi Peter,
I have just downloaded your "Modules Anywhere" plugin and I'm very excited that it is going to do what I need. My query is very similar to spiritonlines but I'm not quite following what needs to be done.

My site is not live (to the world) yet but you can see what I am trying to do when you look at www.hazeldevine.com/joomla. On the left side of my site, there are 2 modules "Physical Thoughts Emotions" - I want to put the styling of the accordion menu from the "Ailments"menu into the "Physical Thoughts Emotions" above. I have used your {module modulename} but it has lost the nice styling from the accordion menu below. I am using a Yoo theme template but not the yoo_accordion module. Can you please let me know what I need to do to maintain the styling from the accordion menu module into the module "Physical Thoughts Emotions"?

Thank you so much,
Karen
Karen Gunnell
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6466
Re:module loses styling when in article 2 Years ago  
Try and look at the module settings of the menu: module/menu suffix. And try and set that the same for the other module.
The main reason for the difference is the classname 'mod-menu' on the top module (and not on the second one).

You can also change the css to also match the modules without 'mod-menu' in it's class.
Peter van Westen
Admin
Posts: 9091
User OfflineClick 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.
 
#6468
Re:module loses styling when in article 2 Years ago  
FANTASTIC!!!

Thank you so much - this is brilliant!

Now all I need to do is put a line under my header words to mimic a regular mod_mainmenu.

I am thrilled.

GREAT EXTENSION!!!!!!!!!!

Thanks again,
Karen
Karen Gunnell
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6475
Re:module loses styling when in article 2 Years ago  
Have you put that title there manually?
If so, go into the html view of the editor and make this of the title code:
<h3 class="header" style="text-align: center; height: 65px; position: relative; line-height: 30px;">Physical  Thoughts Emotions</h3>
Peter van Westen
Admin
Posts: 9091
User OfflineClick 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.
 
#6476
Re:module loses styling when in article 2 Years ago  
What can I say??? That is perfect!

Thank you so much!!! I REALLY appreciate your help.

Thank you!
Karen
Karen Gunnell
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max