| Clever combination of extensions: ReReplacer |
| Written by Thomas Kahl |
| Thursday, 26 August 2010 07:07 |
|
We all know that sometimes it is hard to customize things in Virtuemart. Unfortunately, even though we have the themes, some parts are still hardcoded. One of these parts is the rendering of the user registration screen. We were asked to add a link to a block of fields in the registration. There are different ways to do this - but to make it work on all registration pages (yes, there are different pages!) and of course without hacking the core code of Virtuemart, we used a trick using the NoNumber extension ReReplacer. We have added a unique string (for example ##placeholder##) to the text of the delimiter in the configuration of the userfields. After that, we have added an item in ReReplacer to replace any occurance of e.g. ##placeholder## with the required link and text to display. You can see the result here:
There are a lot of advantages doing it this way:
Set as favorite
Bookmark
Email This
Trackback(0)
Comments (1)
![]() Write comment
|
VM-Expert.com is part of the B01 Consulting Network. Since 2003 we build shops and websites with Joomla and Virtuemart. We are specialised in developing custom Joomla and Virtuemart Extensions.