11
tititou36
Re: Order of icons in navigation bar ?
  • 2009/8/16 13:31

  • tititou36

  • Just popping in

  • Posts: 16

  • Since: 2009/8/15


This is due to css of the theme :
div#navOptionsCP a {
    
border0px solid #00536C;
    
height32px;
    
displayblock;
    
width32px;
    
floatright;      <--------
    
margin-right2px;
    
margin-left0;
    
margin-top0;
    
margin-bottom0
}

When float is 'right', each block is displayed one at a time, right to left. That is why the order is reverse.

I solution could be to invert the order of the options to be displayed by adding at line 231 :
// Options are displayed right to left in the theme, so the order of
// the array has to be inverted in order to keep the correct layout
$mod_options array_reverse($mod_options);

and inverting in \modules\system\class\gui\oxygen\templates\admin\system_adm_navbar.html the order navOptionsCP in built by (first preferences THEN options) :
<div id="navOptionsCP">
    <
div class="modname">
        <{
$modname}>
    </
div>
    <{if 
$moddir!='system' && $mod_options}>
        <
class="tooltip" href="<{$xoops_url}>/modules/system/admin.php?fct=preferences&op=showmod&mod=<{$modid}>" title="<{$lang_preferences}>">
            <
img src="<{$xoops_url}>/modules/system/class/gui/oxygen/images/navIcons/prefs.png" alt="<{$lang_preferences}>" />
        </
a>
    <{/if}>

    <{foreach 
item=op from=$mod_options}>
        <
class="tooltip" href="<{$op.link}>" title="<{$op.title}>">
            <
img src='<{$op.icon|default:"$xoops_url/modules/system/class/gui/oxygen/images/icon_options.png"}>' alt="<{$op.title}>" />
        </
a>
    <{/foreach}>
</
div>



12
tititou36
Re: Order of icons in navigation bar ?
  • 2009/8/16 11:32

  • tititou36

  • Just popping in

  • Posts: 16

  • Since: 2009/8/15


I do agree that onbe do not change theme every day.

My comment was mostly about new users, just as me

Anyway, in these themes, users see 2 navigation bars with identical functionalities (AFAIK). I think that :
- either only one should be displayed
- or they should be displayed at least in the same order



13
tititou36
Generated HTML code layout
  • 2009/8/16 11:23

  • tititou36

  • Just popping in

  • Posts: 16

  • Since: 2009/8/15


Hi, when looking at HTML output generated by xoops, some times the layout looks terrible.

There are many places where it is not consistant :
- mix of tab and spaces
- non consistant number of spaces
- unaligned code
- missing or extra spaces

I wanted to know if you would find usefull if I send patches about it or if it is not an important issue for you ?



14
tititou36
Order of icons in navigation bar ?
  • 2009/8/16 10:34

  • tititou36

  • Just popping in

  • Posts: 16

  • Since: 2009/8/15


Hi, I was wondering why in the exm and the oxygen GUI admin theme icons in the navigation bar on the right of the module name (the one in <div id="navOptionsCP">) are in reverse order compared to the menu item or the ones in <div id="buttonbar"> built from loadModuleAdminMenu ?

Is this the way it should be ? Personally I find it confusing...



15
tititou36
Could 'preference' navigation be improved when configuring modules ?
  • 2009/8/16 10:13

  • tititou36

  • Just popping in

  • Posts: 16

  • Since: 2009/8/15


Hi,

there is something I found sad about module configuration is that when you go on the 'preference' link you leave the module itself and arrive in the system module.
There is no easy way (except the back button of the browser...) to come back in the module where we were previously.




TopTop
« 1 (2)



Login

Who's Online

138 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 138


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits