I think you should ask in the forums, you will be more likely to get help as more people read it.



Arun Kumar
16. März 2012 10:51

Hello All,

          I am working on a custom payment module in OXID.I want to show my credit card fields under my Payment Gateway on Payment Methods Selection during checkout.How to overwrite the Payment selection template with my custom template without affecting other payment modules.Its quite urgent.Please reply as soon as possible.


Thanks to all,


_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general


Shaun Purvis
16. März 2012 00:35

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

Reply via email to