JComments nach oben verschieben

30.08.2012 08:20
#1
MasterX
User MasterX
Name: Mathias
12.04.2012
Posts: 108
Quote
JComments nach oben verschieben

Hallo Jungs und Mädels
folgendes ich habe jetzt JComments aktiv auf meiner Seite siehe Link
http://lavasteine.net/lava-korngroesse-2-bis-8.html

Es sieht auch gut aus so habe ich es mir fast vorgestellt :)
Was ich ein wenig schlecht finde ist das der artikel kommt dann die verwanden Artikel und dann erst die Kommentare.

Könnte man das nicht abändern erst den Artikel dann die Kommentare und dann die verwanden Artikel?

Vielen Dank im Vorraus

 
31.08.2012 14:18
#2
MasterX
User MasterX
Name: Mathias
12.04.2012
Posts: 108
Quote
Aw: JComments nach oben verschieben

Hat keiner ne Lösung?

 
31.08.2012 14:55
#3
swissa
Joomshopping forum user no avatar
Name: swissandy
10.10.2011
Posts: 183
Quote
Aw: JComments nach oben verschieben

at your own risk....

Look at this file :- root/components/com_jshopping/templates/defaultg/product/product_default.php circa line 260

you should have this
<?php
print $this->_tmp_product_html_before_related;
include(dirname(__FILE__)."/related.php");
print $this->_tmp_product_html_before_review;
include(dirname(__FILE__)."/review.php");
?>


change to
<?php
print $this->_tmp_product_html_before_review;
include(dirname(__FILE__)."/review.php");
print $this->_tmp_product_html_before_related;
include(dirname(__FILE__)."/related.php");
?>


 
31.08.2012 14:58
#4
WYSIWYG
User WYSIWYG
Name: tap
10.11.2011
Posts: 117
Quote
Aw: JComments nach oben verschieben

Hallo

Das Plugin kommt erst nach der Ausgabe aller JoomShopping-Daten, ergo nach den verwandten Produkten.

Guck dir aber mal die Plugin-Einstellungen an:

Plugins > Content - JComments

Dort kannst du einstellen, dass JComments vor dem Artikel angezeigt wird (aber nicht mitten drin...!).


Last change: 31.08.2012 14:58
 
31.08.2012 15:19
#5
swissa
Joomshopping forum user no avatar
Name: swissandy
10.10.2011
Posts: 183
Quote
Aw: JComments nach oben verschieben

Ah!

Do not know JComment and do not know if JShopping would allow you to paste external code into template or what file is used for JComment.

I would NOT attempt this on a live site or dev site without doing backup first. I would try to find output file for JComment and then change the path in JShopping template to include this in JS file. If that makes any sense.

z.B.

<?php
print $this->_tmp_product_html_before_review;
include(dirname(__FILE__)."/plugins/jcomment/outputfile.php"); < path for JComment
print $this->_tmp_product_html_before_related;
include(dirname(__FILE__)."/related.php");
?>


Without testing I do not know if it would work. That is why I would only do it on a development server not live site. Maybe ask developer of JComment if this is possible and webdesigner here too. Hope they can help you.


Last change: 31.08.2012 15:20
 
03.09.2012 11:36
#6
MasterX
User MasterX
Name: Mathias
12.04.2012
Posts: 108
Quote
Aw: JComments nach oben verschieben

swissa - 31.08.2012 14:55
<?php
print $this->_tmp_product_html_before_review;
include(dirname(__FILE__)."/review.php");
print $this->_tmp_product_html_before_related;
include(dirname(__FILE__)."/related.php");
?>


Nice is workit :D thanks

 


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.