Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:05 am EST

Geeklog Forums

Block Manager in 1.4.0sr2


Status: offline

Robin

Forum User
Full Member
Registered: 02/15/02
Posts: 725
There is tiny issue with Block Manager in 1.4.0sr2. Namely there is a missing text (Block Manager (Left) and images L and R are mixed up. It doesn't impact the operation of the Block Manager it's just cosmetics Wink
The thing that needs to be changed is in lib-admin.php. Currently it looks like this
Text Formatted Code
            case 'move':
                if ($access == 3) {
                    if ($A['onleft'] == 1) {
                        $side = $LANG21[40];
                        $blockcontrol_image = 'block-right.' . $_IMAGE_TYPE;
                        $moveTitleMsg = $LANG21[59];
                        $switchside = '1';
                    } else {
                        $blockcontrol_image = 'block-left.' . $_IMAGE_TYPE;
                        $moveTitleMsg = $LANG21[60];
                        $switchside = '0';
                    }

 

and should look like this
Text Formatted Code
            case 'move':
                if ($access == 3) {
                    if ($A['onleft'] == 1) {
                        $side = $LANG21[40];
                        $blockcontrol_image = 'block-left.' . $_IMAGE_TYPE;
                        $moveTitleMsg = $LANG21[59];
                        $switchside = '1';
                    } else {
                        $blockcontrol_image = 'block-right.' . $_IMAGE_TYPE;
                        $moveTitleMsg = $LANG21[60];
                        $switchside = '0';
                    }

 


The above modification will display L and R images correctly.

There is still outstanding label Block Manager (Left) however after looking at the code it doesn't look that simple to change.

Hope you find it useful Smile
Geeklog Polish Support Team
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Robin: There is tiny issue with Block Manager in 1.4.0sr2. Namely there is a missing text (Block Manager (Left) and images L and R are mixed up.

Actually, the images have always been like that, and on purpose: The "R" symbolises the option to move the block to the right side. We already know that it's on the left side, as it's listed in the first of the two lists.

The missing headline for the list of left blocks is one of the little inconsistencies that have crept in over time. Thanks for pointing it out.

bye, Dirk
 Quote

Status: offline

Robin

Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by Dirk:The "R" symbolises the option to move the block to the right side.

I've discovered this "hidden" option very recently. Now I understand the block management philosophy Smile
Thanks for explanation Its a deal - shaking hands
Geeklog Polish Support Team
 Quote

All times are EST. The time is now 11:05 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content