PDA


View Full Version : How do I create a basic module for text on left column?


jojo77
06-23-2005, 06:04 PM
For my left column I just need to create module that I can add either regular text when I want or a script to Adsense.

Can someone please give me a quick step by step? I searched the site but didn't see how to do this for 2.0

Brian
06-23-2005, 06:08 PM
Admin CP => vBa CMPS => Add Module => BB Code Module

Just go there, read the options, and fill in the blanks. :)

jojo77
06-23-2005, 06:19 PM
thanks brian I'm getting there but even though I check Yes for Allow HTML it keeps switching back to No after I save.

ConqSoft
06-23-2005, 06:25 PM
thanks brian I'm getting there but even though I check Yes for Allow HTML it keeps switching back to No after I save.

http://www.vbadvanced.com/forum/showthread.php?t=8438

jojo77
06-23-2005, 06:43 PM
thanks, I think it accepted HTML but i tried adding my google script to it and it outputs nothing on the page. this is what I put in the bb module text box

<script type="text/javascript"><!--
google_ad_client = "pub-2506493163782522";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "30210C";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

jojo77
06-23-2005, 06:55 PM
I even got rid of all spaces and checked the source of the page after and it does show the script

<script type="text/javascript"><!--google_ad_client = "pub-2506493163782522";google_ad_width = 120;google_ad_height = 600;google_ad_format = "120x600_as";google_ad_type = "text";google_ad_channel ="";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "30210C";google_color_url = "000000";google_color_text = "000000";//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

jojo77
06-23-2005, 07:19 PM
ok i went about it differently and made a file template, created a php file and added my script there and it worked. But can someone tell me why the heck the module title is displayed below the module and not above?

http://www.fighthq.com/

ConqSoft
06-23-2005, 07:20 PM
Would have been easier to just make a template module, and pop the HTML into the template. :)

jojo77
06-23-2005, 07:33 PM
Would have been easier to just make a template module, and pop the HTML into the template. :)

ok i gave that a try but the module title still shows below the module :confused:

Brian
06-23-2005, 07:44 PM
Try adding <tr><td> tags at the beginning of your template, then </td></tr> tags at the end.

jojo77
06-23-2005, 07:51 PM
Thanks both of you, got it to work now.