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: problemes on skinning my navigation  (Read 2807 times)

0 Members and 1 Guest are viewing this topic.

Betti ^.^

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
problemes on skinning my navigation
« on: November 26, 2006, 11:52:42 pm »

I'd like to use images for sys menu and sub menu aswell.
Here's what my theme.php looks like

Code: [Select]
define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);



// sys_menu
$template_sys_menu = <<<EOT

<table border="0" cellpadding="0" cellspacing="0" width="380" align="center">
  <tr>
    <td width="33%" align="center"><a href="{HOME_TGT}"><img src="images/home.png" border="0" width="98" height="18"></a></td>
<!-- BEGIN my_gallery -->
    <td width="33%" align="center"><a href="{MY_GAL_TGT}"><img src="images/gallery.png" border="0" width="98" height="18"></a></td>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
    <td width="34%" align="center"><a href="{MEMBERLIST_TGT}"><img src="images/memberlist.png" border="0" width="98" height="18"></a></td>
<!-- END allow_memberlist -->
  </tr>
  <tr>
<!-- BEGIN enter_admin_mode -->
    <td width="33%" align="center"><a href="{ADM_MODE_TGT}"><img src="images/admin.png" border="0" width="98" height="18"></a></td>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
    <td width="33%" align="center"><a href="{USR_MODE_TGT}"><img src="images/usermode.png" border="0" width="98" height="18"></a></td>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
    <td width="34%" align="center"><a href="{UPL_PIC_TGT}"><img src="images/upload.png" border="0" width="98" height="18"></a></td>
<!-- END upload_pic -->
  </tr>
  <tr>
<!-- BEGIN register -->
    <td width="33%" align="center"><a href="{REGISTER_TGT}"><img src="images/register.png" border="0" width="98" height="18"></a></td>
<!-- END register -->
<!-- BEGIN login -->
    <td width="33%" align="center"><a href="{LOGIN_TGT}"><img src="images/login.png" border="0" width="98" height="18"></a></td>
<!-- END login -->
<!-- BEGIN logout -->
    <td width="34%" align="center"><a href="{LOGOUT_TGT}"><img src="logout.png" border="0" width="98" height="18" /></a></td>
<!-- END logout -->
  </tr>
</table>
EOT;



//sub_menu
$template_sub_menu = <<<EOT
<table border="0" cellpadding="0" cellspacing="0" width="380" align="center">
  <tr>
<!-- BEGIN album_list -->
    <td width="33%" align="center"><a href="{ALB_LIST_TGT}"><img src="images/index.png" border="0" width="98" height="18"></a></td>
<!-- END album_list -->
    <td width="33%" align="center"><a href="{LASTUP_TGT}"><img src="lastuploads.png" border="0" width="98" height="18"></a></td>
    <td width="34%" align="center"><a href="{TOPN_TGT}"><img src="mostviewed.png" border="0" width="98" height="18"></a></td>
  </tr>
  <tr>
    <td width="33%" align="center"><a href="{TOPRATED_TGT}"><img src="toprated.png" border="0" width="98" height="18"></a></td>
    <td width="33%" align="center"><a href="{FAV_TGT}"><img src="myfavs.png" border="0" width="98" height="18" /></a></td>
    <td width="34%" align="center"><a href="{SEARCH_TGT}"><img src="search.png" border="0" width="98" height="18"></a></td>
  </tr>
</table>

EOT;

I got the following error message

Code: [Select]
Template error
Failed to find block 'my_profile'(#(<!-- BEGIN my_profile -->)(.*?)(<!-- END my_profile -->)#s) in :

<table border="0" cellpadding="0" cellspacing="0" width="380" align="center">
  <tr>
    <td width="33%" align="center"><a href="{HOME_TGT}"><img src="images/home.png" border="0" width="98" height="18"></a></td>
<!-- BEGIN my_gallery -->
    <td width="33%" align="center"><a href="{MY_GAL_TGT}"><img src="images/gallery.png" border="0" width="98" height="18"></a></td>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
    <td width="34%" align="center"><a href="{MEMBERLIST_TGT}"><img src="images/memberlist.png" border="0" width="98" height="18"></a></td>
<!-- END allow_memberlist -->
  </tr>
  <tr>

<!-- BEGIN leave_admin_mode -->
    <td width="33%" align="center"><a href="{USR_MODE_TGT}"><img src="images/usermode.png" border="0" width="98" height="18"></a></td>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
    <td width="34%" align="center"><a href="{UPL_PIC_TGT}"><img src="images/upload.png" border="0" width="98" height="18"></a></td>
<!-- END upload_pic -->
  </tr>
  <tr>
<!-- BEGIN register -->
    <td width="33%" align="center"><a href="{REGISTER_TGT}"><img src="images/register.png" border="0" width="98" height="18"></a></td>
<!-- END register -->

<!-- BEGIN logout -->
    <td width="34%" align="center"><a href="{LOGOUT_TGT}"><img src="logout.png" border="0" width="98" height="18" /></a></td>
<!-- END logout -->
  </tr>
</table>

Please let me know what I done wrong!
« Last Edit: November 29, 2006, 04:22:24 pm by Sami »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: problemes on skinning my navigation
« Reply #1 on: November 27, 2006, 07:23:29 am »

Logged
‍I don't answer to PM with support question
Please post your issue to related board

Betti ^.^

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: problemes on skinning my navigation
« Reply #2 on: November 29, 2006, 02:59:27 pm »

geez, terribly sorry! I think next time I must put on my glasses :D
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.