Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: A block to have custom content like a news feed...  (Read 4076 times)

0 Members and 1 Guest are viewing this topic.

lasa

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 84
    • Fotos.LaSa.nl
A block to have custom content like a news feed...
« 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

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
A block to have custom content like a news feed...
« Reply #1 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 ...)

lasa

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 84
    • Fotos.LaSa.nl
A block to have custom content like a news feed...
« Reply #2 on: October 16, 2003, 01:40:56 pm »

Thnx!

Can I create some more custom blocks?

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
A block to have custom content like a news feed...
« Reply #3 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
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.