Subcategory Names Not Displaying Correctly

  • Posts: 39

Subcategory Names Not Displaying Correctly was created by AndyTheAstronomer

Hi,

I have a problem with the display of subcategory names. They are having a zero appended to them. For example, a subcategory called "My category" would display as "My category0". I am attaching a screenshot to illustrate this. I cannot seem to find the line of code that's appending the zero. Please could you assist me to fix this?

Many thanks!

Andy
7 years 1 week ago #1777
Attachments:

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic Subcategory Names Not Displaying Correctly

Oops. This is a Bug. Thanks for bringing this to us.

Solution:

1. Open /public_html/components/com_yendifvideoshare/views/category/tmpl/default.php

2. Fine the line,

$count = 0;


3. Replace it as,

$count = "";


4. Save the changes and try now.

Hope, this solved your issue.
Last edit: 7 years 1 week ago by Administrator.
7 years 1 week ago #1779

Please Log in or Create an account to join the conversation.

  • Posts: 39

Replied by AndyTheAstronomer on topic Subcategory Names Not Displaying Correctly

Many thanks! I shall try your solution....I'm sure it will work!

Thanks for the support!

Happy Christmas

Andy
7 years 1 week ago #1781

Please Log in or Create an account to join the conversation.

  • Posts: 39

Replied by AndyTheAstronomer on topic Subcategory Names Not Displaying Correctly

By the way, in case anybody has the problem and wants to try the above fix, there's an error in it:

The line should read:

$count = "";

and NOT

$count = ";

..which will cause a syntax error.

Regards

Andy
The following user(s) said Thank You: Administrator
7 years 1 week ago #1783

Please Log in or Create an account to join the conversation.

Time to create page: 0.148 seconds

Business Address

PLUGINSWARE INTERACTIVE PVT LTD
Door No 2A, Venkateshwara Nagar,
1st Main Road, Velachery, Chennai,
Tamilnadu, India
Pincode: 600042
© 2013 - 2024 Pluginsware Interactive Private Limited. All Rights Reserved. The Joomla! name and logo is used under a limited license granted in the United States and other countries.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.