Remove "Design (Uni)" from Footer in D7.1???

Does anyone know what files to edit to remove the "Design (uni)" link from the footer in the new D7.1 UNI Template?

Thanks :)

Quote · 20 Nov 2012

templates/base/scripts/BxBaseMenuBottom.php

around line 55 find
function getSwitcherTemplate()
        {
            $sContent = '';
           
            $iTmplsCount = count(get_templates_array());
            if($iTmplsCount <= 1)
                return $sContent;

            $sTemplName = $GLOBALS['oSysTemplate']->getCode();

            $aTmplVars = array();
            $aTmplVars[] = array(
                'caption' => _t('_sys_bm_design', $sTemplName),
                'link' => 'javascript:void(0)',
                'script' => 'onclick="javascript:showPopupTemplate()"',
                'target' => ''
            );

            $sContent .= $GLOBALS['oSysTemplate']->parseHtmlByName('extra_' . $this->sName . '_menu.html', array('bx_repeat:items' => $aTmplVars));
            $sContent .= $this->getListTemplate($sTemplName);

            return $sContent;
        }

and add what's in green

function getSwitcherTemplate()
        {
            $sContent = '';
            if(getParam('enable_template') != 'on')
            return $sContent;

            $iTmplsCount = count(get_templates_array());
            if($iTmplsCount <= 1)
                return $sContent;

            $sTemplName = $GLOBALS['oSysTemplate']->getCode();

            $aTmplVars = array();
            $aTmplVars[] = array(
                'caption' => _t('_sys_bm_design', $sTemplName),
                'link' => 'javascript:void(0)',
                'script' => 'onclick="javascript:showPopupTemplate()"',
                'target' => ''
            );

            $sContent .= $GLOBALS['oSysTemplate']->parseHtmlByName('extra_' . $this->sName . '_menu.html', array('bx_repeat:items' => $aTmplVars));
            $sContent .= $this->getListTemplate($sTemplName);

            return $sContent;
        }
now go to admin section in templates and disable it
Allow users to choose templates

Quote · 20 Nov 2012

....WOOHOO I found someone nice on this site....your reply was a huge help!  Thank you :)

Quote · 20 Nov 2012

:  FYI - I don't know if you are one of the programmers working on D7.1, but I had the "allow users to choose templates" disabled, but this link kept displaying.  

 

Quote · 20 Nov 2012

GAEA - Its not that anyone of us/are the developers that work on D7.1, we all strive to do things that make it better and more functional.  In the past versions, the Beta releases was hidden from public and only "testers/developers" were using it, and testing it.

With a general release of the beta to the public it will expose the items / bugs / etc much quickers but also create issues as the Beta is NOT ment for full site / or production environments.

if you want to PM me your site, I would be more then happy to take a look at it. (and if i can be of any assistance, I will advise)

PixelSofa, Inc. - a fresh view of the web - www.pixelsofa.com
Quote · 20 Nov 2012

 

:  FYI - I don't know if you are one of the programmers working on D7.1, but I had the "allow users to choose templates" disabled, but this link kept displaying.  

 

 make the above changes and clear cache it won't show up any more i know i done it on my site :)

Quote · 20 Nov 2012

Sweeeeet! Thank You! One thing to scratch off my list :)

Quote · 20 Nov 2012

This was answered last week FYI:
http://www.boonex.com/forums/topic/-Design-UNI-won-t-disappear-even-in-new-install.htm#182782

Quote · 20 Nov 2012

Thanks Prolaznik Laughing

Michael
Quote · 9 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.