Forums / Developer / Curious new template operator tool_bar
Volker Lenz
Saturday 31 July 2004 10:06:08 am
I feel that this new template operator violates the ez design model, because it makes heavy use of static html in the operator's functional code instead of using .tpl-files to control toolbar-rendering. Why has this design-approach been chosen? Do you plan to maintain it in future ez-releases?
Bård Farstad
Friday 06 August 2004 6:46:33 am
Volker, we totally agree. This was a slip from our side. This needs to be fixed.
--bård
Documentation: http://ez.no/doc
Bruce Morrison
Friday 06 August 2004 5:27:56 pm
Hi Bård
> Volker, we totally agree. This was a slip from our side. This needs to be fixed.
Just confirming that this functionality will stay in Exponential but be brought into line with the general ez design model?
ThanksBruce http://www.designit.com.au/
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Tuesday 10 August 2004 1:32:19 am
Yes, this functionality will not be removed. But it will need to be cleaned up, add templates for it.
Alex Jones
Friday 27 August 2004 11:00:05 am
What is the timeline for the change? I posted a detailed thread about this, before I was aware of this one: http://ez.no/community/forum/suggestions/toolbar_overhaul_needed
Thanks!
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>
Paul Forsyth
Friday 27 August 2004 11:58:04 am
I added these bugs sometime ago, which are relevant:
http://ez.no/community/bug_reports/toolbar_template_uses_hardcoded_png_image_formathttp://ez.no/community/bug_reports/improve_saving_of_toolbar_preferences
paul
kracker
Sunday 29 August 2004 9:20:59 pm
Hello,
Here is a thread regarding this very issue and some positive suggestions to users resolving the issue (temporarily) now:
http://ez.no/community/forum/setup_design/which_template
Regards,kracker
eminem : rock bottom
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
Friday 03 September 2004 12:16:30 pm
A basic time line for these fixes would be much appreciated!
Thanks,
Frederik Holljen
Monday 06 September 2004 1:15:00 am
We will fix this for 3.5.
Tuesday 07 September 2004 6:29:57 am
Thank you Frederik! It is great to know that this will be addressed. :D
Wenyue Yu
Monday 13 September 2004 5:37:52 am
Hi,
We have reimplemented toolbar operator and removed all html code. Fixes is available in svn 8010. We added three variables which can be used in every tool.tpl: first( true, false), last(true, false), placement ( first, last, ""). Here is the line view example of login.tpl.
{section show=$first} <ul> {/section} <li class="toolbar-item {$placement}"> {section show=eq($current_user.is_logged_in)} <a href={"/user/login"|ezurl}>{"Login"|i18n("design/standard/toolbar")}</a> {section-else} <a href={"/user/logout"|ezurl}>{"Logout"|i18n("design/standard/toolbar")}({$current_user.contentobject.name})</a> {/section} </li> {section show=$last} </ul> {/section}
Wednesday 15 September 2004 6:33:07 am
That is great Wenyue, thanks!