Support > cpg1.5 theme contributions

Classic with drop down menus

(1/4) > >>

Gene-2008:
Here I release a theme developed from the classic theme with the only changes those required to make the drop down menus for admin_menu, sys_menu, and sub_menu.

This is done with all the released SVN code.  Only theme files are changed.

The one thing I didn't get working are the words for the headings in other languages.  Those would require an addition to the language files.
If the development team is interested could we get the words added to the language files?

Example can be seen here:
http://gfyoung.homeip.net/cpg15x/index.php?theme=classic_w_drop
Official cpg1.5.x Demo

Attached is the theme files zip.
You can also download it here: https://sourceforge.net/projects/coppermine/files/Themes/1.5.x/cpg1.5.x_theme_classic-w-drop_2.1.zip/download

There  are several other drop down changes I have made in another theme with drop down menus in more places but they at present require some changes to the SVN code.  This is still WIP while I try to get it to work with SVN code.
http://gfyoung.homeip.net/cpg15x/index.php?theme=New15b

Hope you find this helpful and interesting,
Gene

Αndré:

--- Quote from: Gene-2008 on October 08, 2009, 03:06:31 am ---The one thing I didn't get working are the words for the headings in other languages.  Those would require an addition to the language files.

--- End quote ---
The only non translated string is 'Media/File settings' (see attachment).

Why did you copy all those icons to the theme? As far I can see (almost) all of them will never be used? You can remove all standard icons if you remove

--- Code: ---define('THEME_HAS_MENU_ICONS', 16);
--- End code ---
in your theme.


There are some issues when plugins add some buttons to the admin menu (see attachment). But that's maybe my fault (I'm not sure how I added these buttons to the menu. E.g. it works for the forum manager).

Gene-2008:

--- Quote from: Αndré on October 08, 2009, 12:13:34 pm ---The only non translated string is 'Media/File settings' (see attachment).

--- End quote ---
Actually the non translated are:
The title for the sys_menu which I labeled as User.  There is a $lang_gallery_admin_menu['users_lnk'] = 'Users';
But I haven't figured out of to get it recognized in the $template_sys_menu template.

The title for the sub_menu which I labeled as Albums.  Like the sub_menu label there are some translations but I don't know how to get them to work.

I addition "Gallery" and the one you pointed out "Media/File setting".  I am open to other suggestions for that as well.


--- Quote ---Why did you copy all those icons to the theme? As far I can see (almost) all of them will never be used? You can remove all standard icons if you remove

--- Code: ---define('THEME_HAS_MENU_ICONS', 16);
--- End code ---
in your theme.

--- End quote ---
I meant to do that and had already removed the define('THEME_HAS_MENU_ICONS', 16); so the standard Icons are being used except those that were in the Albums menu.  I fixed the CSS to use the standard ones for those as well and will post latter.


--- Quote ---There are some issues when plugins add some buttons to the admin menu (see attachment). But that's maybe my fault (I'm not sure how I added these buttons to the menu. E.g. it works for the forum manager).

--- End quote ---
I will look into that today and get back today.

Thanks for the comments,
Gene

jeepguy_1980:
The drop down on my site is difficult to read, b/c the background isn't rendered.

Gene-2008:
You appear to be missing the button images that should be in the themes/class_w_drop/images directory.
Like:
   Sq_button_drop_up.png
   Sq_button_drop_down.png
   menu_dropa_0_wide.png
   menu_drop_0.gif
  etc

Make sure you unzipped the theme correctly.

Gene

Navigation

[0] Message Index

[#] Next page

Go to full version