How to change currency_sign symbol

4 years 1 month ago - 4 years 1 month ago #3925 by g9752430

Hi there,

Firstly, thank you for an excellent product. On first impressions it looks fantastic and I'm still exploring all it has to offer.

I was wondering how to go about changing the currency_sign that is displayed?
I thought it would be in the items.php here:

$where['currency_sign']= $this->params->get( 'currency_sign', '€' );

but when I changed &euro to £ it had no effect. Also, I noticed on site I don't see the same wording as indicated here
$where['read_more']= $this->params->get( 'read_more', 'Read More...');

as the words "Read More..." actually say "Read on..." on site

I'm likely looking in the wrong place, I'd be very grateful if you could let me know what to change and where :)

Thank you



  • Posts: 11
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Last Edit: 4 years 1 month ago by bram.

    Please Log in to join the conversation.

    4 years 1 month ago #3926 by bram

    In the menu configuration should be a tab 'strings', allowing to customize several strings for the component ( menu item ) and the module.

    However I tend to simply hardcode the strings in the used layout.


    like when using the 'full' layout found in

    components/com_datafeeds/views/items/tmpl/default_full.php and then line 18

    joomla has a build in mechanism to customize views using a template override more on affiliatefeeds.nl/custom-layouts.html



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

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

    4 years 1 month ago #3927 by g9752430

    Thanks Bram for the swift reply.

    I'll hardcode too;

    I've gone to components/com_datafeeds/views/items/tmpl/default_full.php and then line 18 and can see it says $currency=$this->where
    what exactly do I need to change so that the euro is replaced by a pound sign? (As you'll gather I'm far from an expert on such things!)

    I've also noticed that when a URL for a product is created that there is a character limit of 50. Can this limit be removed? (note: I have the filter/callback as generic_cb)

    Thanks



  • Posts: 11
  • Thank you received:

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

    4 years 1 month ago #3928 by bram

    $currency='£';

    or

    $currency='£';

    not sure hat you mean with the character limit, the url ( the affiliate link) should go into the 'product link' field which has a much higher limit



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

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

    4 years 1 month ago #3929 by g9752430

    Perfect, currency has been changed. Thank you.

    Sorry that I came across unclear; I was referring to the content which is populated in <span class="datafeeds_bread"> via the criteria set in feed to database mapping, Select 1, Select 2 e.t.c.
    The URL for the product appears to be created based on this, but with a character limit.



  • Posts: 11
  • Thank you received:

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

    4 years 1 month ago #3930 by bram

    The anchor text is based on the 'Select' fields and those are limited by the database field length.

    Having long select fields is usually not very usefull.



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

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

    Time to create page: 0.069 seconds
    Powered by Kunena Forum