add/remove links / buttons from green flower theme add/remove links / buttons from green flower theme
 

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

Main Menu

add/remove links / buttons from green flower theme

Started by technaf, December 26, 2006, 01:11:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

technaf

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.

Joachim Müller


technaf

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.

// ------------------------------------------------------------------------- //
// 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;

?>