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: Editing the source HTML.  (Read 2550 times)

0 Members and 1 Guest are viewing this topic.

DekuLink

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Editing the source HTML.
« on: December 18, 2010, 02:07:54 am »

Basically, what I'm trying to do is get rid of the "Random Files" and "Latest Additions" right now. I also soon will be editing the solid HTML for the pages, specifically the home page. (For example, the boxes on the home page listing the albums, I want to change the core HTML of that.) I've looked into the templates, but what I'm looking for is simply included by putting {GALLERY} in it. I've searched all I could to find the file that changes the {GALLERY} to the actual HTML, but I can't find it. What I'm trying to do is similar to editing the templates of vBulletin or IPB. I thought I remembered seeing a similar feature in 1.4.x, but I couldn't find it.

So where can I edit the core HTML?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Editing the source HTML.
« Reply #1 on: December 18, 2010, 02:28:25 am »

most of the core html can be found in the sample theme.php
simply copy what you want to edit into your custom themes theme.php
http://documentation.coppermine-gallery.net/en/theme_create.htm#theme_create

you can remove the meta albums easily in the configuration.
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_album_list_content
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.