Item aditional info in Datafeed for Joomla 3.x

More
8 years 7 months ago #3374 by bram
Hi,

white pages are nasty, they do not give information, sometimes some message can be found in the error log of the web server.

there was a type after the '#or' the '.' should be a '='. However this line is only effective if you remove the #or.

it's actually an exact copy of a callback filter I use for some zanox feeds.

If you have several filter you could add the line
Code:
$item['description'].="<br/>".$item['longdescription'];

to each function BEFORE the generic_cb call

or add the add_long_cb function as is and replace the generic_cb in each shop filter
Code:
function a_cb(&$item){ #generic_cb($item); add_long_cb($item); # your stuff }

the database change will allow longer lines during the NEXT import, it will not change existing fields.
The following user(s) said Thank You: k.m.1

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #3375 by k.m.1
Hallo Bram

Vielen Dank Alles funktioniert jetzt.

Viele Grüße

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #3962 by prijsreus
Hi Bram, Is it possible to add the sale price in a module? The code on the fisrt page of this topic works fine in the component but not in the module.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #3963 by bram
Should work similair, some module templartes use $row instead of $item

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago - 7 years 2 months ago #4095 by MirandaOnline
Beste Bram,

What a pity that it is not possible anymore to add a bullit list to the description.
I had previously only a select box, now I have to change the script. I have no idea where to do that and I don't know what I'm doing. This makes the module almost no longer usable for me.
This is much more difficult. It would be great to maintain both functions. The bullit list like we had for the people with less knowledge, and others can change the script.
I hope that you can put this feature back.

Groet,
Miranda
Last edit: 7 years 2 months ago by MirandaOnline.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #4098 by bram
Hi,

sorry to hear that.

Main reason to remove that feature was that the list with not flexible enough.

I know that for a lot of people php is far for simple. But for these features you only need a little bit of knowledgde. And it's basicly not more then complicated html-code.

To start it's important to understand the way joomla uses templates (or tmpl or layouts the naming conventions is rather confusing and this time it's not me causing it) and how to change them ( affiliatefeeds.nl/custom-layouts.html )

If you tell/email me what layout you are using and which fields you want to add I can help you to get started

Please Log in or Create an account to join the conversation.

Time to create page: 0.269 seconds