Mark-Berger Posted April 20, 2005 Report Share Posted April 20, 2005 :wall: Hallo an Alle, ich habe ein Problem. Ich habe den Shop mit dem Affiliate Modul zusammen derzeit noch auf meinem Server zum Test laufen. Folgendes ist f?r mich nicht zu knacken... Warum bekomme ich die Affiliate Anmelde Seite so angezeigt ? Ich m?chte gerne das diese Seite so angepasst werden kann das die grossen Spalten nicht zu sehen sind. K?nnt Ihr mir Helfen ??? Gru? Mark Link to comment Share on other sites More sharing options...
smedder Posted April 20, 2005 Report Share Posted April 20, 2005 Welche gro?en Spalten meinst du jetzt? Link to comment Share on other sites More sharing options...
Mark-Berger Posted April 20, 2005 Author Report Share Posted April 20, 2005 Hallo und danke f?r die schnelle Antwort, ich finde das der Abstand zwischen den Zeilen sehr gross ist. Bei einer normalen Account Ersetllung sind die Zeilen enger untereinander ! Oder habe ich da nur einen Fehler ? Gru? Mark Link to comment Share on other sites More sharing options...
smedder Posted April 20, 2005 Report Share Posted April 20, 2005 Poste am besten mal den Code von der entsprechenden Seite, ich habe das Affiliate-Modul nicht und kann das so nicht nachvollziehen, wird aber wohl ein Fehler in der Tabellenkonfiguration sein. Link to comment Share on other sites More sharing options...
Mark-Berger Posted April 20, 2005 Author Report Share Posted April 20, 2005 Sieh eigentlich ganz normal aus, also ich habe das Affiliate Modul 3.2, l?uft auch alles super nur diese Seite ist einfach Schrecklich, hier der Code: {config_load file="$language/affiliate_lang_$language.conf" section="affiliate_account_details"} <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="formAreaTitle">{#category_personal#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> {if $ACCOUNT_GENDER == 'true'} <tr> <td class="main">{#entry_gender#}</td> <td class="main">{$gender_content}</td> </tr> {/if} <tr> <td class="main">{#entry_first_name#}</td> <td class="main">{$firstname_content}</td> </tr> <tr> <td class="main">{#entry_lastname#}</td> <td class="main">{$lastname_content}</td> </tr> {if $ACCOUNT_DOB == 'true'} <tr> <td class="main">{#entry_date_of_birth#}</td> <td class="main">{$dob_content}</td> </tr> {/if} <tr> <td class="main">{#entry_email_address#}</td> <td class="main">{$email_content}</td> </tr> </table></td> </tr> </table></td> </tr> {if $ACCOUNT_COMPANY == 'true'} <tr> <td class="formAreaTitle"> {#category_company#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main">{#entry_affiliate_company#}</td> <td class="main">{$company_content}</td> </tr> <tr> <td class="main">{#entry_affiliate_company_taxid#}</td> <td class="main">{$company_taxid_content}</td> </tr> </table></td> </tr> </table></td> </tr> {/if} <tr> <td class="formAreaTitle"> {#category_payment_details#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> {if $AFFILIATE_USE_CHECK == 'true'} <tr> <td class="main">{#entry_affiliate_payment_check#}</td> <td class="main">{$payment_check_content}</td> </tr> {/if} {if $AFFILIATE_USE_PAYPAL == 'true'} <tr> <td class="main">{#entry_affiliate_payment_paypal#}</td> <td class="main">{$payment_paypal_content}</td> </tr> {/if} {if $AFFILIATE_USE_BANK == 'true'} <tr> <td class="main">{#entry_affiliate_payment_bank_name#}</td> <td class="main">{$payment_bank_name_content}</td> </tr> <tr> <td class="main">{#entry_affiliate_payment_bank_branch_number#}</td> <td class="main">{$payment_bank_branch_number_content}</td> </tr> <tr> <td class="main">{#entry_affiliate_payment_bank_swift_code#}</td> <td class="main">{$payment_bank_swift_code_content}</td> </tr> <tr> <td class="main">{#entry_affiliate_payment_bank_account_name#}</td> <td class="main">{$payment_bank_account_name_content}</td> </tr> <tr> <td class="main">{#entry_affiliate_payment_bank_account_number#}</td> <td class="main">{$payment_bank_account_number_content}</td> </tr> {/if} </table></td> </tr> </table></td> </tr> <tr> <td class="formAreaTitle"> {#category_address#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main">{#entry_street_address#}</td> <td class="main">{$street_address_content}</td> </tr> {if $ACCOUNT_SUBURB == 'true'} <tr> <td class="main">{#entry_suburb#}</td> <td class="main">{$suburb_content}</td> </tr> {/if} <tr> <td class="main">{#entry_post_code#}</td> <td class="main">{$postcode_content}</td> </tr> <tr> <td class="main">{#entry_city#}</td> <td class="main">{$city_content}</td> </tr> <tr> <td class="main">{#entry_country#}</td> <td class="main">{$country_id_content}</td> </tr> {if $ACCOUNT_STATE == 'true'} <tr> <td class="main">{#entry_state#}</td> <td class="main">{$state_content}</td> </tr> {/if} </table></td> </tr> </table></td> </tr> <tr> <td class="formAreaTitle"> {#category_contact#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main">{#entry_telephone_number#}</td> <td class="main">{$telephone_content}</td> </tr> <tr> <td class="main">{#entry_fax_number#}</td> <td class="main">{$fax_content}</td> </tr> <tr> <td class="main">{#entry_affiliate_homepage#}</td> <td class="main">{$homepage_content}</td> </tr> </table></td> </tr> </table></td> </tr> {if $PASSWORD_READONLY == 'false'} <tr> <td class="formAreaTitle"> {#category_password#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main">{#entry_password#}</td> <td class="main">{$password_content}</td> </tr> <tr> <td class="main">{#entry_password_confirmation#}</td> <td class="main">{$password_confirmation_content}</td> </tr> </table></td> </tr> </table></td> </tr> {/if} <tr> <td class="formAreaTitle"> </td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"></td> <td class="main">{$agb_content}</td> </tr> </table></td> </tr> </table></td> </tr> </table> Gru? Mark Link to comment Share on other sites More sharing options...
smedder Posted April 20, 2005 Report Share Posted April 20, 2005 Mach hier mal folgendes: {config_load file="$language/affiliate_lang_$language.conf" section="affiliate_account_details"} <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="formAreaTitle">{#category_personal#}</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> {if $ACCOUNT_GENDER == 'true'} Daraus machst du das (Ich habs mal auf die Tabellenbereiche gek?rzt).: <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="formArea"> <tr> <td class="main"><table width="100%" border="0" cellspacing="0" cellpadding="0"> {if $ACCOUNT_GENDER == 'true'} Also ich hab bei den 2 table-Tags width="100%" eingebaut und cellpadding="0" gesetzt. Wenn es funktioniert, musst du diese Werte bei allen Tabellen-Tags weiter unten die beiden Werte auch setzen. Der aller erste Tabellen-Tag ganz oben sollte aber so bleiben, wie er ist. Link to comment Share on other sites More sharing options...
Mark-Berger Posted April 20, 2005 Author Report Share Posted April 20, 2005 Habs mal ?berpr?ft aber das klappt auch nicht ?!?! Ich bin Ratlos. ??? Wenn ich mir den Quelltext ansehe der vom Shop generiert wird m?sste eigentlich alles klappen ?!? <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="formAreaTitle">Ihre persönlichen Daten</td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="formArea"> <tr> <td class="main"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main">Anrede:</td> <td class="main"><div><input type="radio" name="a_gender" value="m" /></div>Herr<div><input type="radio" name="a_gender" value="f" /></div>Frau*</td> </tr> <tr> <td class="main">Vorname:</td> <td class="main"><div><input type="text" name="a_firstname" /></div>*</td> </tr> <tr> <td class="main">Name:</td> <td class="main"><div><input type="text" name="a_lastname" /></div>*</td> </tr> <tr> <td class="main">Geburtsdatum:</td> <td class="main"><div><input type="text" name="a_dob" /></div>* (zB. 21.05.1970)</td> </tr> <tr> <td class="main">E-Mail Adresse:</td> <td class="main"><div><input type="text" name="a_email_address" /></div>*</td> </tr> </table></td> </tr> </table> ... Kann einfach nicht verstehen warum dann durch diesen Code das obige Ergebnis ensteht ? Kann das durch den <div> kommen ?? Gru? Mark Link to comment Share on other sites More sharing options...
Mark-Berger Posted April 20, 2005 Author Report Share Posted April 20, 2005 FEHLER EGFUNDEN !!!!! Es sind die <div> Befehle die im xtc_draw_input_field.inc.php geschrieben werden. Habe diese jetzt mal rausgenommen, siehe Code unten und teste den Shop mal so. Kann mir jemand sagen warum ?berhaupt die <div> Codes da geschrieben werden ??? Gru? Mark <?php /* ----------------------------------------------------------------------------------------- $Id: xtc_draw_input_field.inc.php,v 1.1 2003/09/06 21:47:50 fanta2k Exp $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright (c) 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: (c) 2000-2001 The Exchange Project (earlier name of osCommerce) (c) 2002-2003 osCommerce(html_output.php,v 1.52 2003/03/19); [url]www.oscommerce.com[/url] (c) 2003 nextcommerce (xtc_draw_input_field.inc.php,v 1.3 2003/08/13); [url]www.nextcommerce.org[/url] Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ // Output a form input field function xtc_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) { $field = '<input type="' . xtc_parse_input_field_data($type, array('"' => '"')) . '" name="' . xtc_parse_input_field_data($name, array('"' => '"')) . '"'; if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) { $field .= ' value="' . xtc_parse_input_field_data($GLOBALS[$name], array('"' => '"')) . '"'; } elseif (xtc_not_null($value)) { $field .= ' value="' . xtc_parse_input_field_data($value, array('"' => '"')) . '"'; } if (xtc_not_null($parameters)) $field .= ' ' . $parameters; $field .= ' />'; return $field; } function xtc_draw_input_fieldNote($data, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) { $field = '<input type="' . xtc_parse_input_field_data($type, array('"' => '"')) . '" name="' . xtc_parse_input_field_data($data['name'], array('"' => '"')) . '"'; if ( (isset($GLOBALS[$data['name']])) && ($reinsert_value == true) ) { $field .= ' value="' . xtc_parse_input_field_data($GLOBALS[$data['name']], array('"' => '"')) . '"'; } elseif (xtc_not_null($value)) { $field .= ' value="' . xtc_parse_input_field_data($value, array('"' => '"')) . '"'; } if (xtc_not_null($parameters)) $field .= ' ' . $parameters; $field .= ' />'.$data['text'].''; return $field; } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.