coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: cameron122000 on March 26, 2005, 01:49:36 AM

Title: Text on the Main Page
Post by: cameron122000 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 ???
Title: Re: Text on the Main Page
Post by: Tranz on March 26, 2005, 01:54:43 AM
please look in the documentation for anycontent
Title: Re: Text on the Main Page
Post by: cameron122000 on March 31, 2005, 02:00:04 AM
Ok. Thnx. I looked through that, but I didn't think that was the right thing.
Title: Re: Text on the Main Page
Post by: Nibbler on March 31, 2005, 02:05:35 AM
That's exactly what you want, see the block on the demo (http://coppermine.sourceforge.net/demo/).
Title: Re: Text on the Main Page
Post by: gotcah41 on April 17, 2005, 05:04:33 PM
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)!
Title: Re: Text on the Main Page
Post by: gotcah41 on April 17, 2005, 09:37:25 PM
problem solved!

topic can be closed now?