web design, England, Britain, UK, belgium
 
Ulti Clocks content

Adding Back Buttons to VirtueMart 1.1 Account Maintenance pages

GJC Web Design Joomla & VirtueMart how to, tips, tricks, coding examples, html, php, tutorial, 101, useful hints, help

A collection of help articles and coding examples for Joomla & Virtuemart

Belgium, VirtueMart & Joomla Web Design England UK Britain & Germany

Joomla, VirtueMart, how to, tips, tricks, coding examples, html, php, tutorial, 101, useful hints, help sand How to add back - return buttons to the bottom of the Joomla VirtueMart 1.1 Account Maintenance Shipping & Billing Address pages.
nbsp, virtuemart, button, account, address, joomla, root, com, default, themes, file, components, templates, buttons, add, update, open, editor, tpl, class, shipping, billing, pages, submit, line, php, end, page, dialogues, maintenance, following, shipto, hacker, info, altering, delight, finding, check, just, customers

Home Joomla - VirtueMart Joomla & VM How To's Adding Back Buttons to VirtueMart 1.1 Account Maintenance pages

Tue

05

May

Adding Back Buttons to VirtueMart 1.1 Account Maintenance pages

  • Joomla 1.0 & 1.5
  • Virtuemart 1.1

When the customers of VirtueMart alter their Account Information or Shipping Address it is nice to have a "Back" button along side the submit button for when the want to just check their info without altering it.

Part of the "delight" of Virtuemart is finding where the coding
is done for any particular element.
virtuemart account maintenance back button


As the documentation of VirtueMart leaves a lot to be desired for the average code hacker I document here where to find the 2 files needed to add "Back" buttons to the Account Maintenance dialogues.

For the Shipping Address update open in your editor the file - joomla_root/components/com_virtuemart\themes\default\templates\pages\account.shipto.tpl.php and go to line 74.
Add after the submit button the following -
     
<a href="<?php $sess->purl('/ SECUREURL."index.php?page=$next_page" ') ?>" class="button"> <?php echo $VM_LANG->_('BACK') ?> </a>
For the Billing Address update open in your editor the file - joomla_root/components/com_virtuemart/themes/default/templates/pages/account.billing.tpl.php and to line 39.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="<?php $sess->purl('/ SECUREURL."index.php?page=$next_page" ') ?>" class="button"> <?php echo $VM_LANG->_('BACK') ?> </a>

Then you have some back buttons at the end of the page....
virtuemart account maintenance back button


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
Last Updated on Tuesday, 05 May 2009 21:15 Read : 5477 times
 
Comments (1)
1
1 Wednesday, 15 July 2009 13:26
Natasha
Thank you for information about the hackers. I am sure it will take. I am interested in this. Great article.

Add your comment

BoldItalicUnderlineStrikethroughSubscriptSuperscriptEmailImageHyperlinkOrdered listUnordered listQuoteCodeHyperlink to the Article by its id
Very HappySmileWinkSadSurprisedShockedConfusedCoolLaughingMadRazzEmbarrassedCrying or Very SadEvil or Very MadTwisted EvilRolling EyesExclamationQuestionIdeaArrowNeutralMr. GreenGeekUber Geek
Your name:
Subject:
Comment:

Latest Articles

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

VM Live Product Search

Recommended Reading

For those interested in extending there knowledge of Joomla! & VirtueMart Packt Publishing has an excellent range of help & how to books.
Listed below are some I can recommend.
Simply click on the images to be taken directly to their web shop.

Learning Joomla! 1.5 Extension Development Learning Joomla! 1.5 Extension Development
by Joseph L. LeBlanc.
Read the review
Joomla! E-Commerce with VirtueMart Joomla! E-Commerce with VirtueMart
by Suhreed Sarkar.
Read the review
Joomla! Web Security Joomla! Web Security
by Tom Canavan.

Mastering Joomla! 1.5 Extension and Framework Development Mastering Joomla! 1.5 Extension and Framework Development
by James Kennard.

Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide
by Tessa Blakeley Silver.

GJC Web Design Joomla & VirtueMart how to, tips, tricks, coding examples, html, php, tutorial, 101, useful hints, help

A collection of help articles and coding examples for Joomla & Virtuemart

Belgium, VirtueMart & Joomla Web Design England UK Britain & Germany

Joomla, VirtueMart, how to, tips, tricks, coding examples, html, php, tutorial, 101, useful hints, help



Adding Back Buttons to VirtueMart 1.1 Account Maintenance pages



How to add back - return buttons to the bottom of the Joomla VirtueMart 1.1 Account Maintenance Shipping & Billing Address pages.


nbsp, virtuemart, button, account, address, joomla, root, com, default, themes, file, components, templates, buttons, add, update, open, editor, tpl, class, shipping, billing, pages, submit, line, php, end, page, dialogues, maintenance, following, shipto, hacker, info, altering, delight, finding, check, just, customers