Would it be possible to make it a variable in future versions? This would
extend functionality by 100% I think!

Regards, Kai

----------------------------------------------------------------------------------------------------
*Vektor*Design - Online-Shops und Programmierung

Kai Gazmaga
Katharinenstraße 57
73 728 Esslingen

Tel.: +49 711 - 25516226
Fax: +49 711 - 25518078

Mail: [email protected]
Web: www.vektordesign.de



2012/3/16 Rimvydas Paskevicius <[email protected]>

>   Hi,
>
> It’s not possible to manipulate on  [{$smarty.block.parent}] as it is not
> variable, just a placeholder. When block file is parsed, this
> [{$smarty.block.parent}] is replaced by parent blocks content using regexp.
>
>
> Rimvydas
>
>
>
>  *From:* Shaun Purvis <[email protected]>
> *Sent:* Friday, March 16, 2012 1:35 AM
> *To:* [email protected]
> *Subject:* [oxid-dev-general] Possible to manipulate parent block
>
> When overriding tpl blocks, the original parent block can be inserted with
> [{$smarty.block.parent}].  I was hoping to manipulate this variable, but
> haven't had any success.  I'm starting to think it has some special
> treatment.  I tried something like
>
> [{$smarty.block.parent|regex_replace:"</td>":"</td><new tag...>"}]
>
> But it didn't render.  No luck with other modifiers either so it seems it
> cannot be modified.
>
> I'm trying to avoid replacing the entire block for the sake of
> maintenance.  Has anybody ever tried to modify the $smarty.block.parent
> variable, or know if it's even possible?
>
> Shaun.
>
> ------------------------------
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
>
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to