Link "Zurück zum Shop" and "Zur Kasse" doubled

26.09.2011 19:53
#1
Vere
Joomshopping forum user no avatar
Name: Matthias
28.07.2011
Posts: 7
Quote
Link "Zurück zum Shop" and "Zur Kasse" doubled -- SOLVED

Greetings
Great component with all you need for a shop. One thing puzzles me though.

The two links "Zurück zum Shop" and "Zur Kasse" are doubled. Can't figure why. Also see example screenshot.

Thanks for your assistance.
Link "Zurück zum Shop" and "Zur Kasse" doubled -- SOLVED

Maybe a css problem, but couldn't find the bad code.

SOLVED, see third post.


Joomla: 1.5
JoomShopping: 2.9.3
Website Url: www.reovit.ch

Letzte Änderung: 27.09.2011 23:00
 
27.09.2011 10:47
#2
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2276
Quote
Aw: Link "Zurück zum Shop" and "Zur Kasse" doubled

Hallo,

in der Datei

components/com_jshopping/templates/default/cart/cart.php

in Zeile 156-161 steht das:
<td width = "50%" class = "td_2">
<a href = "<?php print $this->href_checkout ?>">
<?php print _JSHOP_CHECKOUT ?>
<img src = "<?php print $this->image_path ?>/images/arrow_right.gif" alt = "<?php print _JSHOP_CHECKOUT ?>" />
</a>
</td>


Wenn ich das jetzt doppelt im code stehen hätte, würde "Zur Kasse" auch doppelt dastehen.
Kannst ja mal dort nachschauen, ob dieser Code evt. doppelt ist, was ich mir allerdings eher nicht vorstellen kann, allerdings bin kein Programmierer....

"Zurück zum Shop" betrifft die Zeilen 150-155.

Vielleicht hilft das.

Grüße
----------------------------------------------------------------------------------------------------------------
http://www.amazon.de/JoomShopping-Joomla-Leicht-bedienbarer-ebook/dp/B005L9D8MC/ref=sr_1_1?ie=UTF8&qid=1315307716&sr=8-1


Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
27.09.2011 22:17
#3
Vere
Joomshopping forum user no avatar
Name: Matthias
28.07.2011
Posts: 7
Quote
Aw: Link "Zurück zum Shop" and "Zur Kasse" doubled

Thanks for your thoughts. I think I have found the problem:
Aw: Link "Zurück zum Shop" and "Zur Kasse" doubled

In IE you see Buttons with nonfunctional image path. I didn't change anything with the components' code, so I don't know why the image path could be wrong. Firefox seems to convert those images to a simple href, thus the "double" links.

<img src = "...components/com_jshopping//images/arrow_right.gif">

The path ist corrupted by those double // in front of "images".

SOLUTION: Found the bad code in the
components/com_jshopping/templates/default/cart/cart.php
. I am still puzzled why it was wrong in the first place.



Letzte Änderung: 27.09.2011 23:02
 
08.10.2011 18:08
#4
coupeista
Joomshopping forum user no avatar
Name: carsten
11.08.2011
Posts: 1
Quote
Aw: Link "Zurück zum Shop" and "Zur Kasse" doubled

Hatte das Problem ebenso - aber erst, als ich die .htaccess Datei von http://www.joomla-security.de - wie gewohnt nach Fertigstellung des Projektes einsetzte. Dies Problem betraf die cart.php und whishlist.php
Habe nun in den entsprechenden Codezeilen beider Dateien das / vor den Imagepfaden ...images/arrow_left.gif... entfernt und schon waren die Pfeile wieder da.
Hoffe das hilft jemanden bei einer zukünftigen Fehlersuche.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.