Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Text on the Main Page  (Read 3517 times)

0 Members and 1 Guest are viewing this topic.

cameron122000

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Text on the Main Page
« on: March 26, 2005, 01:49:36 am »

On the main page of Coppermine (that's www.domain.com/index.php) I was wondering if there was a way for me to put in my own text in a small box towards the top. I have Coppermine v1.3.2, and I don't see any modifications or anything for something like that. I know I have seen other copies of Coppermine with a small box where the admin can write comments or news about the site/what's happening. Does anyone have a modification or know how to do this? I'm completely puzzled ???
« Last Edit: April 17, 2005, 09:37:57 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Text on the Main Page
« Reply #1 on: March 26, 2005, 01:54:43 am »

please look in the documentation for anycontent
Logged

cameron122000

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Text on the Main Page
« Reply #2 on: March 31, 2005, 02:00:04 am »

Ok. Thnx. I looked through that, but I didn't think that was the right thing.
Logged

Nibbler

  • Guest
Re: Text on the Main Page
« Reply #3 on: March 31, 2005, 02:05:35 am »

That's exactly what you want, see the block on the demo.
Logged

gotcah41

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Text on the Main Page
« Reply #4 on: April 17, 2005, 05:04:33 pm »

one question; how to insert for example this code:
Code: [Select]
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="1"><h2>About this demo</h2></td>
        </tr>
<tr><td class="tableb" >
<ul>
<li class="footer">The demo uses the bbs integration feature<br />
you'll notice a difference in the ability to post comments and rate pics if you
<a href="login.php?referer=%2Fdemo%2F">log in</a> / <a href="logout.php?referer=%2Fdemo%2F">log out</a>
.</li>
<li class="footer">For performance reasons (and for compliance with sf.net policies) the ecard and upload features have been disabled for &quot;regular&quot; users.</li>
<li class="footer">The block you're currently looking at is called anycontent.php - it can be used to insert all kinds of custom php or html content, or even pull scripts from another location.</li>
</ul>
</td></tr>
</table>
<!-- End standard table -->
at the "index.php" page, just under the menubar?
I mean, the content should only be visible on the main page (index.php)....
Any help is welcome 8)!
« Last Edit: April 17, 2005, 06:17:05 pm by gotcah41 »
Logged

gotcah41

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Text on the Main Page
« Reply #5 on: April 17, 2005, 09:37:25 pm »

problem solved!

topic can be closed now?
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.