- Posts: 11
- Thank you received: 0
How to change currency_sign symbol
8 years 2 months ago - 8 years 2 months ago #3925
by g9752430
How to change currency_sign symbol was created 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:
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
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
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:
Code:
$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
Code:
$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
Last edit: 8 years 2 months ago by redactie.
Please Log in to join the conversation.
8 years 2 months ago #3926
by redactie
Replied by redactie on topic How to change currency_sign symbol
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
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
Please Log in to join the conversation.
8 years 2 months ago #3927
by g9752430
Replied by g9752430 on topic How to change currency_sign symbol
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
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
Please Log in to join the conversation.
8 years 2 months ago #3928
by redactie
Replied by redactie on topic How to change currency_sign symbol
$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
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
Please Log in to join the conversation.
8 years 2 months ago #3929
by g9752430
Replied by g9752430 on topic How to change currency_sign symbol
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.
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.
Please Log in to join the conversation.
8 years 2 months ago #3930
by redactie
Replied by redactie on topic How to change currency_sign symbol
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.
Having long select fields is usually not very usefull.
Please Log in to join the conversation.
Time to create page: 0.412 seconds