Welcome to MonJoomla forum board.

SOLVED - Customization Delivery Method

SOLVED - Customization Delivery Method

Hi I would like to customize the Delivery Method fields :
1. Make the text black
2. Change the default value of the radio buttons.

What file controls the DELIVERY METHOD Code. Thankshttp://monjoomla.com/components/com_agora/img/members/4158/Delivery-Method-Picture.jpeg

You can see the install here - http://www.101surfsports.com/index.php/ … /gift-cert

Edited By: davidwells
Nov-25-12 18:24:21

davidwells
useravatar
Offline
5 Posts
User info in posts
Administrator has disabled public posting

Re: SOLVED - Customization Delivery Method

Hello

1. check the solution in your other post, it will fix this

2. Check in the file, /components/com_kocustomgiftcard/views/modal/tmpl/modal.php

begin line 152 you have this

Code:


<input name="ko_delivery" type="radio" id="ko_delivery_email" value="d_mail" <?php if(($this->ko_delivery == "d_mail") || ($this->ko_delivery == "")) { echo('checked="checked"'); } ?> />
          <?php echo JText::_('SEND THIS GIFT CARD BY EMAIL');?><br />
          <input type="radio" name="ko_delivery" id="ko_delivery_print" value="d_print" <?php if($this->ko_delivery == "d_print")  { echo('checked="checked"'); } ?> />
          <?php echo JText::_('PRINT THIS GIFT CARD');?>

you need to replace it with this

Code:


<input name="ko_delivery" type="radio" id="ko_delivery_email" value="d_mail" <?php if($this->ko_delivery == "d_mail") { echo('checked="checked"'); } ?> />
          <?php echo JText::_('SEND THIS GIFT CARD BY EMAIL');?><br />
          <input type="radio" name="ko_delivery" id="ko_delivery_print" value="d_print" <?php if(($this->ko_delivery == "d_print")  || ($this->ko_delivery == ""))  { echo('checked="checked"'); } ?> />
          <?php echo JText::_('PRINT THIS GIFT CARD');?>

I didn't test it, but the difference is only this

Code:

 || ($this->ko_delivery == "") 

Regards

Thanks for your support

If you like my Joomla apps, please help support them with a review here:
http://extensions.joomla.org/

Thank you!

lebill
useravatar
Offline
1772 Posts
User info in posts
Administrator has disabled public posting

Re: SOLVED - Customization Delivery Method

Worked Like a Charm!

davidwells
useravatar
Offline
5 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
856
Total Polls:
0
Total Posts:
3586
Posts this week:
21
User Info:
 
Total Users:
4540
Newest User:
swordlessme1897
Members Online:
0
Guests Online:
213

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked