£

  • shirran
    Inactive member
  • Topic Author
  • Member
  • Member
More
1 year 2 months ago #50624 by shirran
Replied by shirran on topic Read More
Hi Milos, just a quick update, it must be happening during the update from 3 to 4, I set up a temp site with the hotstart homes and it works perfectly. I used the Firefox Developer Tools and deleted the agent, additional details and features and it looked great as i do not use them.
Can you advise what file they would be in so I can edit them and save them that would resolve my issue.
Trev

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
1 year 2 months ago #50625 by milos
Replied by milos on topic Read More
Hello,

All customizations of the Joomla content component (template overrides) are in several files in folder /templates/homes/html/com_content and its subfolders. You can edit them directly or through Joomla in System > Site Templates > Homes Details and Files > Updated Files.

If you make an error in code, your website may output an error, so make sure you keep backups of the original files.

Regards,
Milos

Please Log in to join the conversation.

  • shirran
    Inactive member
  • Topic Author
  • Member
  • Member
More
1 year 2 months ago #50626 by shirran
Replied by shirran on topic Read More
Thanks that worked for me.
Did you manage to look at my site, find anything if not my ticket resoled
Trev

Please Log in to join the conversation.

  • shirran
    Inactive member
  • Topic Author
  • Member
  • Member
More
1 year 2 months ago #50627 by shirran
Replied by shirran on topic £
Sorry Milos i am having problems changing the $ to £
What you sent me is different to what i see could you advise how to edit

I have ...

if( $field->label == "Price") {
echo '<div class="price">' . $template->params->get('currencySymbol', '$') . number_format($field->value) . '</div>';
}

your recomendation ...


if( $field->label == "Price") {
echo '<div class="price">' . number_format($field->value) . ' £' . '</div>';
}

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
1 year 2 months ago #50628 by milos
Replied by milos on topic £
Hello,

Yes, the code I gave you is correct. Obviously, you have old J3 template files in the J4 installation. Feel free to make the change as I recommended.

Regards,
Milos

Please Log in to join the conversation.

Time to create page: 0.271 seconds
Powered by Kunena Forum