Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: add/remove links / buttons from green flower theme  (Read 6578 times)

0 Members and 1 Guest are viewing this topic.

technaf

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
add/remove links / buttons from green flower theme
« on: December 26, 2006, 01:11:27 pm »

I'm using green flower theme downloaded from (http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98541) .. we need to know how to add / remove links/buttons.  i've searched the forum but could not find my answer to our particular issue.  such as we want to add more links under "Gallery Menu" and remove links from "Gallery Roll.   

can anyone tell me detail step by stp instructions.  i'd highly appreciate your quick response.

thank you.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: add/remove links / buttons from green flower theme
« Reply #1 on: December 26, 2006, 01:27:37 pm »

Edit themes/yourtheme/theme.php
Logged

technaf

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: add/remove links / buttons from green flower theme
« Reply #2 on: December 26, 2006, 01:47:30 pm »

thx for quick response.  sorry but im a newbee.  what is the code and where exactly do i put the codes below (theme.php file)? -- where to bgin and where to end?  I appreciate your patience.

Code: [Select]
// ------------------------------------------------------------------------- //
// This theme has had all redundant CORE items removed                           //
// ------------------------------------------------------------------------- //

define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_IS_XHTML10_TRANSITIONAL',1);

// HTML template for sys_menu
$template_sys_menu = <<<EOT
  <div class="topmenu">

          <table border="0" cellpadding="0" cellspacing="0">
                  <tr>
  {BUTTONS}
                  </tr>
          </table>
  </div>
EOT;

// HTML template for template sys_menu buttons
$template_sys_menu_button = <<<EOT

<!-- BEGIN {BLOCK_ID} -->
  <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
<td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
  <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
  <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
          <a href="{HREF_TGT}" title="{HREF_TITLE}">{}</a>
  </td>
  <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0"

<!-- END {BLOCK_ID} -->
EOT;

?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.