Why on earth can't the admin pages use their very own template folder, instead of requiring templates/tmpl_uni ? Why? If the admin pages must have a 'Uni' template, at least move a copy of this folder to the administration folder, and use that instance of it.
This is annoying. I want to offer users a selection of templates, but I don't want the Uni template to be one of them. If at least we were able to select which templates the user could choose from, it would make more sense.
Please remove the admin pages dependence on tmpl_uni, or give us a way to exclude templates from which users can choose. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Hello all templates from administration you can find there : /administration/templates/base PS: If possible do not write me personally, please try to ask on the forum first |
You don't seem to understand. Perhaps a demonstration will help. Go rename your templates/tmpl_uni folder to something else, so that it is not recognized as a template. (rename it to xxx_tmpl_uni)
Then go browse around in your admin section and watch what happens. Then come back and tell me that all admin templates are in /administration/templates/base My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
It would be nice if you folks at Boonex took the time to read and understand what is posted here, instead of just a drive by post that accomplishes nothing. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
I know you want them to fix it so admin does not rely on the presence of the uni template, but in the mean time, do you want a work around to remove it from the menu for users choice of templates?
https://www.deanbassett.com |
Yes. I could live with the fact that admin pages depend on the presence of the uni template, if we could select which templates the user had to choose from. For now, removing it as a menu choice is an acceptable work-around. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Ok. For this to work, you need at least 2 templates other than UNI. Otherwise you may as well just shut off user menu switching.
Simple fix to get the UNI to not appear on the menu.
Edit templates/base/scripts/BxBaseMenu.php
Find this at about line 352. It only appears once, so a search should work.
$sTemplateElement .= '<li><a href="' . $sTemplateUrl . '" class="button more_ntop_element' . $sIActiveClass . '">'.$sTemplateVal.'</a>';
Now make it look like this.
if ($sTemplateVal != 'UNI') { $sTemplateElement .= '<li><a href="' . $sTemplateUrl . '" class="button more_ntop_element' . $sIActiveClass . '">'.$sTemplateVal.'</a>'; }
https://www.deanbassett.com |
Thanks Deano.... I knew we kept you around for a reason. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
dudes i just wanna say I LOVE YOU GUYS
so far you two have personally guided me through some of my
wanted modifications to dolphin
thank you both for all your awesome posts
gentlemen and scholars both
ps Sasha you got the thumbs up by defult hidding away in there you sneaky bastard
Im surprised too not a single bad word |