davebm Posted April 25, 2003 Share Posted April 25, 2003 1) how do i change the company details info. ie i want to change all the text in bold, and the text next to the box 2)is it possible to make the text box larger, ie about 5 or 6 lines in height? thanks dave Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2003 Share Posted April 25, 2003 1) how do i change the company details info.ie i want to change all the text in bold, and the text next to the box 2)is it possible to make the text box larger, ie about 5 or 6 lines in height? thanks dave The most efficient way to make the text bold in all areas would be to assign it a new class in the catalog/includes/modules/account_details.php Find this section of code in the file- <?php if (ACCOUNT_COMPANY == 'true') { ?> <tr> <td class="formAreaTitle"><br><?php echo CATEGORY_COMPANY; ?></td> </tr> <tr> Change the class="formAreaTitle" to something else, like companyDetails. Then add a new class to your styleheet: TD.companyDetails { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } Change the text to a larger size or whatever you need to do. Make a larger box for the information, you need to change this section of code in the modules/account_details.php. <?php if ($is_read_only == true) { echo $account['entry_company']; } elseif ($error == true) { if ($entry_company_error == true) { echo tep_draw_input_field('company') . ' ' . ENTRY_COMPANY_ERROR; } else { echo $company . tep_draw_hidden_field('company'); } } else { echo tep_draw_input_field('company', $account['entry_company']) . ' ' . ENTRY_COMPANY_TEXT; } ?></td> Change to: <?php if ($is_read_only == true) { echo $account['entry_company']; } elseif ($error == true) { if ($entry_company_error == true) { echo tep_draw_textarea_field('company') . ' ' . ENTRY_COMPANY_ERROR; } else { echo $company . tep_draw_hidden_field('company'); } } else { echo tep_draw_textarea_field('company', $account['entry_company']) . ' ' . ENTRY_COMPANY_TEXT; } ?></td> I haven't tested the above code and you may need to add some size parameters for the text area, you MAY have to change the size of the field (max number of characters in the database) but, this should get you atarted. Link to comment Share on other sites More sharing options...
davebm Posted April 25, 2003 Author Share Posted April 25, 2003 got these errors: Warning: Missing argument 3 for tep_draw_textarea_field() in /home/dtlmasters/public_html/catalog/includes/functions/html_output.php on line 214 Warning: Missing argument 4 for tep_draw_textarea_field() in /home/dtlmasters/public_html/catalog/includes/functions/html_output.php on line 214 however visibly it did work Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2003 Share Posted April 25, 2003 Dave, It is telling you that it needs the size arguments for the text area...Check one of the ceckout files that has a text area in it to see an example of how you need to format the size. Link to comment Share on other sites More sharing options...
davebm Posted April 25, 2003 Author Share Posted April 25, 2003 thanks, i got it sorted now Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2003 Share Posted April 25, 2003 Cool! I'm getting pretty good at this stuff...... :D Have you got a URL where I can peek? This is not a mod I have implemented for myself and I'd be interested to see how it looks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.