coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: anna.y on July 26, 2007, 04:21:10 PM

Title: Problem with SUB_MENU in upgraded theme
Post by: anna.y on July 26, 2007, 04:21:10 PM
Just upgraded from cpg1.3.5 to cpg1.4.12

Coppermine is bridged with SMF and wrapped in Joomla.  Link --> HERE (http://www.torontogsdrescue.org/index.php?option=com_wrapper&Itemid=31)

I was able to use my former SYS_MENU, and remove all irrelevant buttons.

I don't want to do anything with my SUB_MENU except  the spacer to be "|" rather than "::".

However, the SUB_MENU does not show up, no matter what I do.


**********************************************/


define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);

 
        // HTML template for sys menu
$template_sys_menu = <<<EOT

           

<!-- BEGIN custom_link -->
<!-- BEGIN album_list -->
                        <a href="{HOME_TGT}" title="{HOME_LNK}"><img src="themes/classic_adapted/images/albums_p.gif"></a>
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}"><img src="themes/classic_adapted/images/my_gallery_p.gif"></a>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->

<!-- END my_profile -->
<!-- BEGIN faq -->
                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}"><img src="themes/classic_adapted/images/faq_p.gif"></a>
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}"><img src="themes/classic_adapted/images/admin_mode_p.gif"></a>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}"><img src="themes/classic_adapted/images/user_mode_p.gif"></a>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}"><img src="themes/classic_adapted/images/upload_p.gif"></a>
<!-- END upload_pic -->
<!-- BEGIN login -->

<!-- END login -->
<!-- BEGIN register -->

<!-- END register -->


<!-- BEGIN logout -->

<!-- END logout -->
 
<!-- END custom_link -->

EOT;


  // HTML template for template sub_menu spacer
  $template_sub_menu_spacer ="|";



?>


After 3 days of reading again and again the relevant threads, documentation I simply don't understand enough php coding to do it without some help here...

I know that I used a 'quick & dirty' way to remove the buttons, but that's the way I had it done in cpg1.3.5 and the plug in seems too complex and I'll use it only if lack of it is what is interfering with my SUB_MENU

Anna
Title: Re: Problem with SUB_MENU in upgraded theme
Post by: Joachim Müller on July 26, 2007, 06:55:17 PM
Actual gallery link is http://www.torontogsdrescue.org/gallery/

Zip your custom theme and attach it to your posting (using "additional options" when composing your message).
Title: Re: Problem with SUB_MENU in upgraded theme
Post by: anna.y on July 26, 2007, 07:47:06 PM
Thank you GauGau.

Hopefully my 'zipping' works.  If it does not work, please let me know and I'll attach individual files.

Anna
Title: Re: Problem with SUB_MENU in upgraded theme
Post by: Joachim Müller on July 27, 2007, 08:49:00 AM
You have made several mistakes, some grave and some less important. Here are some of them:

Find a working copy of your custom theme attached.

As this took longer than expected and I did more for you than what you can expect from regular support I want you to review the thread We need your help (http://forum.coppermine-gallery.net/index.php?topic=14227.0) and pick at least one of the suggestions there as a compensation.

Joachim