Joomla!
http://forum.joomla.org/

How to create banners module in the content (article)?
http://forum.joomla.org/viewtopic.php?f=39&t=150820
Page 1 of 1

Author:  miurdock [ Thu Mar 15, 2007 3:29 pm ]
Post subject:  How to create banners module in the content (article)?

hello,

i want to create banners module in content. Is it possible?

Author:  Robin [ Thu Mar 15, 2007 3:35 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Hi,

Yes, add {mosloadposition user9} into your content. Then publish the banner module to position user9. That would put the banner module into your content.

Regards Robin

Author:  miurdock [ Thu Mar 15, 2007 3:47 pm ]
Post subject:  Re: How to create banners module in the content (article)?

thanx, it works ;)
But how could I change the size of this module?

Author:  Robin [ Thu Mar 15, 2007 8:47 pm ]
Post subject:  Re: How to create banners module in the content (article)?

That is probably determined by the images you show in the banner. Or do you mean something else?

Author:  miurdock [ Thu Mar 15, 2007 9:15 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Look what i mean:
Image

Author:  Robin [ Fri Mar 16, 2007 6:23 am ]
Post subject:  Re: How to create banners module in the content (article)?

Is the site online so I could have a look myself?

Author:  Robin [ Sat Mar 17, 2007 12:01 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Hi,

As you can see in the screenshot, the module spreads the entire content area. It's because of the image that is does not look that way.
So there would be no need to change the module position in any way I guess... Or am I not understanding correctly what you are looking for, or wanting to achieve?

Author:  miurdock [ Sat Mar 17, 2007 4:52 pm ]
Post subject:  Re: How to create banners module in the content (article)?

you, i would like everything look like this:

Image

Author:  Robin [ Sat Mar 17, 2007 6:22 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Ah I see what you mean. You would probably need to edit some of the CSS in your template_css.css file. Look at this code:

Code:
table.moduletable {
   width: 100%;
   margin-bottom: 5px;
   padding: 0px;
   border-spacing: 0px;
   border-collapse: collapse;
}

div.moduletable {
   padding: 0;
   margin-bottom: 2px;
}


It would require adding a suffix which you could then use in the specific banner module suffix parameter. The width=100% would probably need to be removed. So something like (notice the suffix -banner):

Code:
table.moduletable-banner {
   margin-bottom: 5px;
   padding: 0px;
   border-spacing: 0px;
   border-collapse: collapse;
}

div.moduletable-banner {
   padding: 0;
   margin-bottom: 2px;
}


Then add the "-banner" in the banner module, suffix parameter. See if that works.

Author:  miurdock [ Sat Mar 17, 2007 10:16 pm ]
Post subject:  Re: How to create banners module in the content (article)?

ok, i changed css file, but could you explain about that suffix?
Image

Author:  Robin [ Sun Mar 18, 2007 10:13 am ]
Post subject:  Re: How to create banners module in the content (article)?

That looks like you are using another banner module than the default Joomla! one right?

Normally you would have a suffix field where you enter the "-banner" suffix I was talking about. Seems you are not able to... not sure how to resize the module then myself...

Author:  miurdock [ Sun May 27, 2007 11:09 am ]
Post subject:  Re: How to create banners module in the content (article)?

i have made it, but it doesn't work.
You can see it.

Author:  Robin [ Tue May 29, 2007 7:30 am ]
Post subject:  Re: How to create banners module in the content (article)?

Do you have a link/url to that content item?

Author:  miurdock [ Thu Jun 28, 2007 11:45 am ]
Post subject:  Re: How to create banners module in the content (article)?

Yes, i have.
But what do you think about iframe? Maybe it would help us..

Author:  Robin [ Thu Jun 28, 2007 12:41 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Did you also create the class sufix in the template CSS file?

Author:  miurdock [ Thu Jun 28, 2007 12:58 pm ]
Post subject:  Re: How to create banners module in the content (article)?

I have made changes as you mentioned..

Author:  Robin [ Thu Jun 28, 2007 1:07 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Do you have an url of the page with the issue? So I could check the css?

Author:  miurdock [ Thu Jun 28, 2007 1:19 pm ]
Post subject:  Re: How to create banners module in the content (article)?

No i have url with no changes, because after making this i see some mistakes i page (dissapears smth in menu).

http://www.verslosavaite.lt/buves/index ... 6&Itemid=9

Author:  Robin [ Thu Jun 28, 2007 5:35 pm ]
Post subject:  Re: How to create banners module in the content (article)?

I Can't find it that easy, sorry. You might be better of asking this specific CSS questions in the #rd Party, Templates & CSS forum.

Author:  miurdock [ Sat Jul 07, 2007 3:02 pm ]
Post subject:  Re: How to create banners module in the content (article)?

Ok, thanks.
I have created  a topic and waiting for a answer.

Author:  hlake [ Wed Jul 18, 2007 5:14 am ]
Post subject:  Re: How to create banners module in the content (article)?

RobInk wrote:
Ah I see what you mean. You would probably need to edit some of the CSS in your template_css.css file. Look at this code:

Code:
table.moduletable {
   width: 100%;
   margin-bottom: 5px;
   padding: 0px;
   border-spacing: 0px;
   border-collapse: collapse;
}

div.moduletable {
   padding: 0;
   margin-bottom: 2px;
}


It would require adding a suffix which you could then use in the specific banner module suffix parameter. The width=100% would probably need to be removed. So something like (notice the suffix -banner):

Code:
table.moduletable-banner {
   margin-bottom: 5px;
   padding: 0px;
   border-spacing: 0px;
   border-collapse: collapse;
}

div.moduletable-banner {
   padding: 0;
   margin-bottom: 2px;
}


Then add the "-banner" in the banner module, suffix parameter. See if that works.



Hello,

I realize this is an old thread, but I'm trying to do basically the same thing. However I am unable to find that code in my template. I'm using Joomlashack Element. Any idea of what to modify, or should I ask in the JS forum?

Thank you

Author:  miurdock [ Fri Jul 20, 2007 1:33 pm ]
Post subject:  Re: How to create banners module in the content (article)?

It is an axample - banners in the content:
http://www.vtv.lt/naujienos/sveikata/pa ... s-ukr.html

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/