1
davidtillyer
Home Page Text

Hi All

Can someone pls advise me how I add FREE text to my HOME page (what anonymous users see)(the outside world)

Q1: Do I have to use a module or do i have to add the test "Hello welcome to etc..." to a .ccs or php file? if so what one?

Q2: Same thing but for "Registered Users" (Hello and Welcome to...)AFTER they have loged in.

Q3: What file do I need to edit to change the header logo and the "footer" copy wite message? Is this a .ccs or index file if so where do I find it?
Kind Regards
David

2
Herko
Re: Home Page Text
  • 2006/11/5 13:29

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


A1/A2: create two custom blocks containing the HTML for the text you want to show, and set to be visible on the start page only. In system admin -> groups you give the corresponding groups the rights to view the block for them.

A3: header logo: themes/currentthemename/theme.html. Copyright footer is either in the same file, or in the system admin -> preferences -> meta and footer settings.

Herko

3
davidtillyer
Re: Home Page Text

Thank you, I will give this a go and let you know
Kind Regards
David

4
davidtillyer
Re: Home Page Text

Hi Herko,

I have tried this and it dose not work. I have copied below the code. Can anyone please tell me why this dose NOT work and what I need to change to make it work.

script>
<center>
<table cellspacing="0">
<tbody>
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>Eclub_logo_transp.gif" width="204" height="52" alt="" /></a></td>
<td id="headerbanner" rowspan="3"><img src="%3C{$xoops_imageurl}%3Etitle_cg.jpg" /></td>
</tr>
<tr>
Kind Regards
David

5
Quest
Re: Home Page Text
  • 2006/11/6 14:41

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


As far as I know smarty doesn't work in Custom Blocks, use full url.

I see this in your code you posted script> not sure what that is for, and in the
<td id="headerbanner" rowspan="3"><img src="%3C{$xoops_imageurl}%3Etitle_cg.jpg" /></td>

there is %3C and %3E in the code.

Mostly you just need to change the urls without the <{$xoops_imageurl}> or the <{$xoops_url}> use:
http://www.your.c o m/themes/your theme/images etc.
and
http://www.your.c o m
And save it as HTML.

HTHs
Quest

Login

Who's Online

124 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 124


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits