Amrit Posted February 9, 2011 Report Share Posted February 9, 2011 Hallo, ich will einen neuen button in die obere navi einfügen, soll ein link zur website werden, kann mir jemand einen tip geben in welcher datei ich welche einträge machen muss, aus dem hanbbuch werde ich nicht schlau(er). Grüße Manfred Link to comment Share on other sites More sharing options...
Amrit Posted February 9, 2011 Author Report Share Posted February 9, 2011 Hi, habe meinen Button eingebaut, aber die position ist nicht richtig, weiss jemand wie ich in der index.html.php, so heisst die, oder wo sonst, die position verändern kann? der eintrag ist: <a href="http://www.farbberatung-shop.de">Home</a> Link to comment Share on other sites More sharing options...
xenon777 Posted February 9, 2011 Report Share Posted February 9, 2011 index.html.php ? Also welche nun? Besser wäre du postest hier mal deinen Code von der jeweiligen index-Datei. Link to comment Share on other sites More sharing options...
Amrit Posted February 9, 2011 Author Report Share Posted February 9, 2011 die datei heisst: %%A8^A8C^A8C220AE%%index.html.php und steht im verzeichniss: shop/templates_c den <href=.. am schluß habe ich eingefügt, da gibts bestimmt ne bessere lösung. der shop ist zu besichtigen unter: www.farbberatung-shop.de/shop/ der Button "Home" soll den selben abstand links haben wie die anderen. Danke für die Mühe Manfred hier ab zeile 13.... <div id="topmenuwrap"> <ul id="topmenu"> <li><a href="<?php echo smarty_function_link(array('page' => 'cart'), $this);?> "><?php echo smarty_function_txt(array('key' => 'TEXT_CART'), $this);?> </a></li> <?php if ($this->_tpl_vars['account'] == true): ?> <li><a href="<?php echo smarty_function_link(array('page' => 'customer','conn' => 'SSL'), $this);?> "><?php echo smarty_function_txt(array('key' => 'TEXT_ACCOUNT'), $this);?> </a></li> <?php endif; ?> <li><a href="<?php echo smarty_function_link(array('page' => 'checkout','paction' => 'shipping','conn' => 'SSL'), $this);?> "><?php echo smarty_function_txt(array('key' => 'TEXT_CHECKOUT'), $this);?> </a></li> <?php if ($this->_tpl_vars['account'] == true): ?> <?php if ($this->_tpl_vars['registered_customer']): ?> <li><a href="<?php echo smarty_function_link(array('page' => 'customer','paction' => 'logoff','conn' => 'SSL'), $this);?> "><?php echo smarty_function_txt(array('key' => 'TEXT_LOGOFF'), $this);?> </a></li> <?php else: ?> <li><a href="<?php echo smarty_function_link(array('page' => 'customer','paction' => 'login','conn' => 'SSL'), $this);?> "><?php echo smarty_function_txt(array('key' => 'TEXT_LOGIN'), $this);?> </a></li> <a href="http://www.farbberatung-shop.de">Home</a> <?php endif; ?> <?php endif; ?> Link to comment Share on other sites More sharing options...
Fry Posted February 9, 2011 Report Share Posted February 9, 2011 Nimm die index im Templateordner, nicht die im templates_c.... das ist nur ein Zwischenspeicher den du auch ganz getrost regelmässig leeren kannst:) /shop/templates/xt_default/ wäre sinnvoller. Link to comment Share on other sites More sharing options...
Amrit Posted February 9, 2011 Author Report Share Posted February 9, 2011 Ahhhh, da habe ich am falschen Ort gesucht, vielen Dank für die Hilfe!! Liebe Grüße Manfred (Amrit) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.