View Full Version : Welcome Message on Front Page
djnth
09-08-2004, 05:11 PM
Is there a way that I can have a seperate module on my front page right above the News/Announcements in the center block where I can have a welcome message or an announcement that would always be there? It's probably something easy, but I'm just not much of a programmer.
Thanks,
djnth
Brian
09-09-2004, 10:55 AM
Just add a module with the message.
djnth
09-09-2004, 01:24 PM
For the module do I include my text in an HTML file and then select that as the FILE TO INCLUDE? I can't seem to get it working.
djnth
iguanairs
09-09-2004, 02:03 PM
Hello,
Here is how I did it.
I created a new template called - adv_portal_welcomemessage
In that template I have (You will need to change the text to suit your site.):
<table align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%"> <tr> <td align="$stylevar[left]" class="tcat"> <p align="center"><b>Welcome to Herp Center</b></td><tr> <tr><td class="alt2"><body>
<font class="sf" face="verdana,arial,helvetica" size="1"> Thank you
for visiting Herp Center. Herp Center is dedicated to providing our members with
a place to share information regarding reptiles in a fun, friendly, online
community.
<p><font class="sf" face="verdana,arial,helvetica" size="1">Come and share information and help others get the advice they
need about their reptiles. Share your photos, send private messages to friends,
and vote in our polls. </p>
<p><font class="sf" face="verdana,arial,helvetica" size="1">To join in the fun, <a href="http://www.herpcenter.com/register.php?"><b><font color="#660000">Register</font></b></a>
with us today.</p>
</font>
</body> </td></tr> </table> <br>
Then I went into the CMPS and selected " Add Module". When that opened, I named the module "WelcomeMessage".
Where it says: OR Template to Include: I entered "welcomemessage". CMPS doesn't require that you write the adv_portal first. If you do, it will not show the contents of the template.
After that, make sure that: "Active:" is set to yes.
Then choose where you want the module to be located on the homepage in the next location.
You can choose to set the rest or you can just hit save from there. You will now have a new Welcome Message on your homepage.
Hope this helps.
djnth
09-09-2004, 03:41 PM
Thanks for the help, everyone here is great!!
I'm still pretty new to this whole thing, :o where do I create a new template?
djnth
joeychgo
09-09-2004, 04:07 PM
Mine is a little different..............
Someone here gave it to me, and its slightly different.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet]Welcome to LincolnvsCadillac.com</strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%" align="center">
<!-- Begin custom code -->
<!-- End custom code -->
<br><br>
</td>
</tr>
</table>
<br/>
iguanairs
09-09-2004, 04:15 PM
Hello,
Thanks for the help, everyone here is great!!
I'm still pretty new to this whole thing, where do I create a new template?
djnth
Go into the admin panel. Choose, styles and templates from the left hand side. Then choose style manager. When the new page appears, you will see a drop down menu. Click it and scroll up. Select "Add new Template"
djnth
09-09-2004, 05:24 PM
Worked like a charm!! Thanks to everyone!!
djnth
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.