PDA

View Full Version : Module with images?


Stubager
06-09-2006, 05:08 PM
Hey

I want a module with an image or a banner or something, but I don't know how to make it. I tried to change some of the other php-files like "birthdays.php" but it didn't worked. My idea is to have a module in the right site of the CMPS with a list of banners underneath each other. Follow me?

Thanks for helping,
Steffen :p

KW802
06-09-2006, 05:22 PM
Need some more information. Are you trying to create a stick module just using some HTML? A dynamic module reading the banners from a folder?

Our Sponsors
 

Stubager
06-11-2006, 10:51 AM
I am trying to create a new module in which i can paste some simple HTML:

<a href="http://www.fodboldforum.dk" target="_blank"><img border="0" src="http://www.fodboldforum.dk/picture.jpg"></a>

Stubager
06-13-2006, 07:33 AM
Bump ^^

Our Sponsors
 

Stubager
06-19-2006, 09:12 AM
Bump

Zachery
06-19-2006, 08:18 PM
Add an html module?

jornada
06-19-2006, 10:12 PM
I think it's already been post. I tried and it works for me.

http://crazysharez.com

Look at the Hot Article Module, with the Worldcup images. Is this wat you want ?

Just go to Admin CP -> CMPS CP -> Add Module -> [Template]

Give it a name, Column and display order.

In the Template Module, Name your new module, for ex "hey" after the adv_portal_ -> it should be adv_portal_hey

In the template content, give the HTML code to your module.

For ex, in my case, i used:


<tr>
<td>
<img src="images/././worldcup.jpg">
</td>
</tr>


Then back to your CMPS CP, go to edit page, active the new module.

Stubager
06-26-2006, 12:22 PM
Well, Í did excactly what you told me, and it is not working yet. :(

Hmm, it seems I am doing something wrong but I don't know what. I tried over and over again.

Damn, I know it is SO simple but I just can't :(

Stubager
07-03-2006, 03:16 AM
Up

Zachery
07-03-2006, 05:47 AM
Define not working?

motohouston.com
11-29-2006, 12:33 PM
I think it's already been post. I tried and it works for me.

http://crazysharez.com

Look at the Hot Article Module, with the Worldcup images. Is this wat you want ?

Just go to Admin CP -> CMPS CP -> Add Module -> [Template]

Give it a name, Column and display order.

In the Template Module, Name your new module, for ex "hey" after the adv_portal_ -> it should be adv_portal_hey

In the template content, give the HTML code to your module.

For ex, in my case, i used:



Then back to your CMPS CP, go to edit page, active the new module.



How can I align the image in the center of the module?

Brian
11-29-2006, 12:40 PM
<img align="center" src="" />