Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Edit images or icon from table h1  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Edit images or icon from table h1
« on: June 04, 2018, 07:28:28 pm »

I new user for coppermine :D I trying change the template with own icons but i can't found how change this icon like <td class="tableh1" colspan="1"><img src="images/icons/random.png" border="0" alt="" width="16" height="16" title="... or latest hit... in theme.php i cant see this template in sample theme or other.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4569
    • Windsurf.me
Re: Edit images or icon from table h1
« Reply #1 on: June 04, 2018, 09:11:11 pm »

Hi and welcome to Coppermine.

It is always easier of you could post a link so we can see your site and what theme you are using. If you are unable to post a link, please tell us what theme you are using and if possible a screenshot showing what you are trying to change.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Edit images or icon from table h1
« Reply #2 on: June 05, 2018, 08:08:55 pm »

Thanks!!! :D well i install coppermine on xampp ans use sample and water drop theme for learn about themes. But in thme .php cant see wher can fin the icons for table h1 and what add div only for random files and latest hit.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 939
Re: Edit images or icon from table h1
« Reply #3 on: June 06, 2018, 12:34:17 am »

Set 'THEME_HAS_MENU_ICONS' in your theme.php
http://documentation.coppermine-gallery.net/en/theme_theme_php.htm#theme_create_theme_menu_icon

and put your icons in <your-theme>/images/icons/

Logged

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Edit images or icon from table h1
« Reply #4 on: June 07, 2018, 06:44:31 pm »

GReat but i want custom only random and last hist table... adding more code like div or span sample:
<td class="tableh1" colspan="1"> <span class="random"></span> Random Files ..... <- Like this ... the same with last hit.. i don't want change for toher table.
Logged

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Edit images or icon from table h1
« Reply #5 on: June 11, 2018, 08:56:34 pm »

Any?  :'(
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 939
Re: Edit images or icon from table h1
« Reply #6 on: June 12, 2018, 12:36:52 pm »

You would have to use a custom theme that overrides the PHP function theme_display_thumbnails.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.