Edit attribute(show,x) template in EzPublish

Rate this post

You know when you are using attribute(show,2) on some variable and you can’t understand levels of variable’s contents? I do, so i decided to tweak a bit this function.

All you need to do is open
lib\eztemplate\classes\eztemplateattributeoperator.php
and replace all instances of $spacing = str_repeat( “>”, $cur_level ); with $spacing = str_repeat( “==”, $cur_level );

Now it’s a bit more understandable.

You may also like...

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *

È possibile utilizzare questi tag ed attributi XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">