Text on the Main Page Text on the Main Page
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Text on the Main Page

Started by cameron122000, March 26, 2005, 01:49:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cameron122000

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 ???

Tranz

please look in the documentation for anycontent

cameron122000

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

Nibbler

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

gotcah41

#4
one question; how to insert for example this code: <!-- 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)!

gotcah41

problem solved!

topic can be closed now?