Joomla Hosting

icm de datafeeds component


Webhosting Joomla € 4,99
Domeinnaam checken

Niet meer genoeg aan je shared host? Stap over op een VPS van up100!

Please Vote or Review this extensions


The Joomla!® name and logo are trademarked by Open Source Matters in the United States and other countries. The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries. affiliatefeeds.nl is not affiliated with or endorsed by Open Source Matters or the Joomla! Project
Joomla templates by SG

Inloggen



Doneer

Gebruiker

Comments on product items

People over at joomlatune created a nice component to comment on articles and even better it allow to comment on anything using the simple API.


 

it's not a big issue to enable commenting on single item's but it is quite difficult to make it perfect:

 

jcomment assumes that all articles/items are unrelated, but in product feeds an item (product) might appear several times, for example the same hotel from different travel-agency's.

 

Often identical items/product have the same title, but different feeds might have different names for them. And on the other hand items with the same name might be very different.

Scenario One

All items are unique, despite identical titles

 

Demo site with datafeeds using jcomment

 

You need:

  • jcomment :)
  • a recent version of the datafeeds component (788)
  • the jcomment com_datafeeds plugin. Save as php in the plugings directory of com_jcomment
  • the com_datafeeds layout. Save as php file in com_datafeeds/views/items/tmpl. Change the layout in the menu configuration of the com_datafeeds menu item (twice)

 

 

Scenario Two

All items with the same title are treaded as a single to comment on

 

 


 


 

 

 

 

 

 

Reacties  

 
0 #7 Bram 2009-12-09 13:59
Always fun the zillion different configurations of php

I know about instances which can't handle the
Quoting
 
 
0 #6 John Elich 2009-12-09 13:53
I received a 'parser error', then added the closing ?> and it disappeared.
Might have been some inconsistency or bug of the PHP on the server.
Quoting
 
 
0 #5 Bram 2009-12-09 13:41
PHP doesn't require the closing tag (it is assumed when the file ends). Not specifying the closing ?> helps prevent accidents like additional whitespace which will cause session initialization to fail ("headers already sent").
Quoting
 
 
0 #4 John Elich 2009-12-09 13:38
I got it working in a couple of minutes.
One small thing: the com_datafeeds.plugin is missing the closing ?>
You might want to add it.
Quoting
 
 
0 #3 Bram 2009-12-02 16:10
I added the code and instructions.

please be sure to download a version of com_datafeeds allowing changing the layout ( currently in the -latest.zip download)
Quoting
 
 
0 #2 John Elich 2009-11-30 21:47
Interested in making the code work. Even if its not going to be used it looks nice.
If you could send me the code I will try to work with it.
Quoting
 
 
+1 #1 bram-test 2009-10-30 13:31
I don't think people are really going to comment on affiliate shops. But it was a nice excersise for the friday afternoon
Quoting
 

Plaats reactie


Beveiligingscode
Vernieuwen