forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: jenny20 on January 09, 2006, 08:08:56 pm
-
putt writing on my coppermine gallery on the front page?
-
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();
?>
-
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
-
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
-
Thanks for the help.
I like the way your site is set up
-
anycontent.php should already exist in the package.
-
anycontent.php should already exist in the package.
It's not. I'll add it in later.
-
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.
-
it's one of those "one click" installs from my webhost.
M
-
When you upgrade, please do so manually and avoid the one-click option, which brings along its own issues.