Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: better styling

better styling 14 years 11 months ago #5385

  • thepiston
  • thepiston's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 151
  • Thank you received: 0
I can work with you one this if you want. wrap the "Your total Registration cost" text in H2 tags. Also make the unsuccessful promo codes red as in "This code is expired" and the successful ones green as in "Discount Code Applied! You saved: $ 145.00". That's all I've got so far, but a little styling can make this a great component. It works very well now, but is plain Jane to look at.

Please Log in or Create an account to join the conversation.

better styling 14 years 11 months ago #5388

  • thepiston
  • thepiston's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 151
  • Thank you received: 0
Ok, I found it. Search for "DT_DISCOUNT_CODE_APPLIED" in dtregister.php and change it accordingly:

<tr><td colspan="2"><font color="green"><h4><?php echo JText::_( 'DT_DISCOUNT_CODE_APPLIED'); ?>: <?php echo isset($currency_symbol)?$currency_symbol.' '.numberFormat($discount_code_amount,2):numberFormat($discount_code_amount,2).' '.$currency_code?></font></h4></td></tr>

<tr></tr>

<?php

}else if(isset($dt_user->discountcode->error) && $dt_user->discountcode->error != ""){

?>

<tr><td colspan="2"><font color="red"><strong><?php echo $dt_user->discountcode->error ;?></font></strong><br /><br /></td>

Please Log in or Create an account to join the conversation.

better styling 14 years 11 months ago #5452

  • Howard Sambol
  • Howard Sambol's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 61
  • Thank you received: 0
I second the motion on styling. I think that there are some formatting issues in some places.

For example, in the upcoming events module, there is no control on how an event title appears. For my upcoming teleclass, visible at breakthroughcoaching.cc, the text is too large, is in gray and looks unattractive in the way the formatting appears. The title needs to be centered but currently there is no way to change that.

On the reg form, the asterisks for required fields are not aligned with text properly and when entering a longer label for a field, the text comes out spaced very weird as if it is trying to be left and right justified instead of just appearing as it is typed.

This formatting issue has forced me to get creative with my labels and questions but ideally I think this should be user modifiable.

Sincerely,
Howard

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.203 seconds