CoderJim Posted February 2, 2016 Share Posted February 2, 2016 Upgraded to 6.0.10 and now the Language & Currency Container displays the 'selects' which I do not want, however behind the display it defaults to US and US$ - yes. I find the code for this in the main.php however, and within the Lingerie Skin, this specific page was not altered in the process so I'm not sure where this code snippet is coming from. No other pages in this skin were altered either. Any help would be appreciated very much. Lingerie Skin Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 2, 2016 Share Posted February 2, 2016 "In the Lingerie Skin, this specific page was not altered in the process." The upgrade process? Had you made changes to the Lingerie skin to suppress the display of the currency and language selectors? If so, please review for us the changes you made to the Lingerie template main.php. Do you recall making any changes in /classes/gui.class.php? Quote Link to comment Share on other sites More sharing options...
CoderJim Posted February 2, 2016 Author Share Posted February 2, 2016 No changes made to gui.classes.php The original build had this in the main.php <div class="container" id="container"> <div class="row" id="topbar"> {if isset($LANGUAGE)}<div class="u2">{$LANGUAGE}</div>{/if} {if isset($CURRENCY)}<div class="u1">{$CURRENCY}</div>{/if} <div id="topLeft">{$SESSION}</div> <div id="topRight">{$SITE_DOCS}</div> <-- missing in current, was working, page </div> The only difference between that and before this occurred is the line noted below <div id="topRight">{$SITE_DOCS}</div> --> was deleted Perhaps we can suppress display? I did not do anything to change this container. That said, it's possible that somewhere else I might have effected it but I have no idea. Thanks Lingerie Skin Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 2, 2016 Share Posted February 2, 2016 There would have been a change needed to the Lingerie skin to have suppressed these indicators. Either in the main.php template, or in each of the box.language.php and box.currency.php files. Regardless, to supress the entire box, find: In main.php: {if isset($LANGUAGE)}<div class="u2">{$LANGUAGE}</div>{/if} {if isset($CURRENCY)}<div class="u1">{$CURRENCY}</div>{/if} Change to: {if false && isset($LANGUAGE)}<div class="u2">{$LANGUAGE}</div>{/if} {if false && isset($CURRENCY)}<div class="u1">{$CURRENCY}</div>{/if} This keeps the code in a state easily undone -- the false makes the expression to not show the HTML. Quote Link to comment Share on other sites More sharing options...
CoderJim Posted February 3, 2016 Author Share Posted February 3, 2016 Resolved, thank you so much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.