can i can i
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

can i

Started by jenny20, January 09, 2006, 08:08:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jenny20

putt writing on my coppermine gallery on the front page?

sbpoole

Yes you can.  Actually there are 2 ways to do this
Either you can download and install the minicms plugin or you
can create an anycontent.php file containing the text you wish

The anycontent.php file would be added by logging in as
the administrator in CPG, going to config and adding
anycontent in "the content of the main page" under album
list view.  Mine is set as

minicms/breadcrumb/anycontent/alblist/catlist/lasthits

the anycontent will be shown at the top of the page
if you want it at the bottom, change it to

minicms/breadcrumb/alblist/catlist/lasthits/anycontent

The minicms plugin is probably the easiest option though.

Hope this helps you




Sample anycontent.php file created with notepad
-----------------------------------------------



<?php

starttable("100%"," ");

?>
<tr><td class="tableb" ><div align="center"> //text will be centered

<font size=-3  color="#c8ffff"><br> //use the font size & color you like

<i>type the text you wish in this line<br> //the <br> starts a new line
and this line<br>
and this line<br>
and this line, etc.<br>
</a></i></font><br>
</td></tr>

<?php
endtable();

?>

MikePaglia

I'm not a coder, so this question may be weird:

Do I create that new file, anycontent.php, and upload it my server in the root directory?

and where can I get the plugin from?

Thanks
Mike

sbpoole

Yes, you create the anycontent.php file and upload it to your root directory.  You can copy and paste the above example and modify it and save it as anycontent.php

If you are speaking of the minicms plugin you can get it at:

http://sourceforge.net/project/showfiles.php?group_id=132063&package_id=146227

If you use the anycontent.php method, you don't have to install the minicms plugin unless you want to.

Sonny

MikePaglia

Thanks for the help.

I like the way your site is set up

Tranz

anycontent.php should already exist in the package.

MikePaglia

Quote from: TranzNDance on January 12, 2006, 06:00:26 AM
anycontent.php should already exist in the package.

It's not. I'll add it in later.

Joachim Müller

where did you get the package from?

Anyway, just create a file and name it anycontent.php. Edit it with a plain text editor, save it into coppermine's root folder.

MikePaglia

it's one of those "one click" installs from my webhost.

M

Tranz

When you upgrade, please do so manually and avoid the one-click option, which brings along its own issues.