View Issue Details

IDProjectCategoryView StatusLast Update
0001712OXID eShop (all versions)2. ----- eShop backend (admin) -----public2010-04-08 16:38
Reporteravenger Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
Product Version4.2.0 revision 23610 
Summary0001712: Template override for "admin" templates
DescriptionAllow template overriding also for admin templates.
Additional InformationImplementation:

In "oxconfig.php" replace

        // Check for custom template
        $sCustomTheme = $this->getConfigParam( 'sCustomTheme' );
        if( !$blAdmin && $sCustomTheme && $sCustomTheme != $sTheme) {
            $sReturn = $this->getDir($sFile, $sDir, $blAdmin, $iLang, $iShopl, $sCustomTheme, $blAbsolute, $blReturnArray);
        }

with

        // Check for custom template
        //Avenger
        $sCustomTheme='sCustomTheme';
        if ( $blAdmin ) {
            $sCustomTheme .= 'Admin';
        }
        $sCustomTheme = $this->getConfigParam( $sCustomTheme );
        if( $sCustomTheme && $sCustomTheme != $sTheme) {
            $sReturn = $this->getDir($sFile, $sDir, false, $iLang, $iShopl, $sCustomTheme, $blAbsolute, $blReturnArray);
        }
        //Avenger

And add

$this->sCustomThemeAdmin = 'admin_powertemplate';

to "config.inc.php"
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2010-04-08 16:38

reporter   ~0002487

Reminder sent to: avenger

Hi,

This feature request is already registered on feature requests system on oxid.uservoice.com:
http://oxid.uservoice.com/forums/31940-feature-requests/suggestions/373276
and
http://oxid.uservoice.com/forums/31940-feature-requests/suggestions/418834

You can register there all requests for new features or system improvements.
Thank you for your idea.

Best regards,
Birute M.

birute_meilutyte

2010-04-08 16:38

reporter   ~0002488

Closed as this is a feature request