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: How to add content to main page?  (Read 2763 times)

0 Members and 1 Guest are viewing this topic.

pero

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
How to add content to main page?
« on: November 21, 2003, 12:27:31 am »

I want to add a link in the main menu that, when clicked, displays content - much like the way search works. I want the same look, menus etc. kept etc.

In essence, I want what can be done via the "anycontent" feature, but in a way that the content is shown when a  link is clicked.

Can this be done?
Logged

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
How to add content to main page?
« Reply #1 on: November 21, 2003, 05:22:53 am »

That can be found in the theme.php of you template

As for "same look, menus etc."
Why don't you just save any page in your gallery as HTML
then edit it with an HTML editor, and link directly to it.
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

pero

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
How to add content to main page?
« Reply #2 on: November 21, 2003, 01:27:20 pm »

I missed to say that the page I want to include is written in PHP.
Anyway, I dug around in the Coppermine code and solved the problem.

Thanks,

/Per
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.