£

  • shirran
    Active member
  • Topic Author
  • Member
  • Member
More
9 months 1 week ago #50599 by shirran
Read More was created by shirran
Hi Milos, I upgraded my Homes template from 3 to 4 and everything went well apart from the read more button.
It shows as COM_CONTENT_READ_MORE_TITLE not as before only read more.
I made sure i loaded the  file from the “languages” folder of Joomla
Is there anything I can do to rectify please
Trev

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 months 1 week ago #50600 by milos
Replied by milos on topic Read More
Hello,

It should load this string from the core Joomla language file. Anyway, try adding this line in file /language/en-GB/en-GB.tpl_sparky_framework.ini:
Code:
COM_CONTENT_READ_MORE_TITLE="Read more..."

Regards,
Milos

Please Log in to join the conversation.

  • shirran
    Active member
  • Topic Author
  • Member
  • Member
More
9 months 1 week ago #50604 by shirran
Replied by shirran on topic Read More
I seem to have other issues as seen in the pix, plus I can not change the $ to £
TPL_SPARKY_FRAMEWORK_CF_ADDITIONAL_DETAILS
TPL_SPARKY_FRAMEWORK_CF_FEATURES
TPL_SPARKY_FRAMEWORK_CF_AGENT
TPL_SPARKY_FRAMEWORK_CF_INQUIRY
TPL_SPARKY_FRAMEWORK_CF_INQUIRY_NAME
TPL_SPARKY_FRAMEWORK_CF_INQUIRY_EMAIL
TPL_SPARKY_FRAMEWORK_CF_INQUIRY_PHONE
TPL_SPARKY_FRAMEWORK_CF_INQUIRY_MESSAGE
I used the language file from hotstart then tried joomla3 file to no avail

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 months 1 week ago #50607 by milos
Replied by milos on topic Read More
Hello,

Perhaps you have some missing or outdated template files. Please download file hot_homes4x.zip from our website and install it in your website. It will overwrite all template files but won’t change your website settings.

Regards,
Milos

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 months 1 week ago #50608 by milos
Replied by milos on topic Read More
To change the currency symbol in Joomla 4 and move currency right from the number, edit files:

/templates/sparky_framework/html/com_content/featured/default_item.php
/templates/sparky_framework/html/com_content/category/blog_item.php

For example, to change from $ to EUR, change this
Code:
if( $field->label == "Price") { echo '<div class="price">' . '$' . number_format($field->value) . '</div>'; }

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

Also, in this file: /templates/sparky_framework/html/com_content/article/default.php change this:
Code:
if( $field->name == "price" && $field->value) { echo '<div class="price">' . '$' . number_format($field->value) . '</div>'; }

to this:
Code:
if( $field->name == "price" && $field->value) { echo '<div class="price">' . number_format($field->value) . ' EUR' . '</div>'; }

Please Log in to join the conversation.

  • shirran
    Active member
  • Topic Author
  • Member
  • Member
More
9 months 1 week ago #50609 by shirran
Replied by shirran on topic Read More
Thank you Milos i did download the template only for your website however nothing changed, i di read an older issue wher the guy had the same issue and you said it could be the language file, i tried that also

Please Log in to join the conversation.

Time to create page: 0.402 seconds
Powered by Kunena Forum