coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: lasa on October 16, 2003, 01:35:04 PM

Title: A block to have custom content like a news feed...
Post by: lasa on October 16, 2003, 01:35:04 PM
Where can I find this new function in Coppermine??

A block to have custom content like a news feed, info about the site ect
Title: A block to have custom content like a news feed...
Post by: Rodinou on October 16, 2003, 01:39:39 PM
Please read


/docs/readme.htm


the block is called

anycontent.php

And if you want to "show it", you add in admin mode

after catlist/alblist ...  anycontent

at the bottom of the index CPG, you'll see by default "Welcome"

You put the title you want ... and here all html you want (or css/dhtml/picutres ...)
Title: A block to have custom content like a news feed...
Post by: lasa on October 16, 2003, 01:40:56 PM
Thnx!

Can I create some more custom blocks?
Title: A block to have custom content like a news feed...
Post by: Rodinou on October 16, 2003, 02:19:32 PM
In the theory, yes.

You can edit in template.html if you want a permanent block on all pages, for examples ... or put dhtml news in the top.

Code is become very easy in 1.2