Item aditional info in Datafeed for Joomla 3.x

5 years 4 days 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

$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
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.



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • The following user(s) said Thank You: k.m.1

    Please Log in to join the conversation.

    5 years 4 days ago #3375 by k.m.1

    Hallo Bram

    Vielen Dank Alles funktioniert jetzt.

    Viele Grüße



  • Posts: 62
  • Thank you received:

  • Gender: Male
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    4 years 4 weeks 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.



  • Posts: 15
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    4 years 4 weeks ago #3963 by bram

    Should work similair, some module templartes use $row instead of $item



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    3 years 6 months ago - 3 years 6 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



  • Posts: 1
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Last Edit: 3 years 6 months ago by MirandaOnline.

    Please Log in to join the conversation.

    3 years 6 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



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Time to create page: 0.064 seconds
    Powered by Kunena Forum