Welcome, Guest
Username: Password: Remember me

TOPIC: TopAds - Hide Title

TopAds - Hide Title 2 years 10 months ago #1740

  • Biking Zone
  • Biking Zone's Avatar
  • Offline
  • Junior Boarder
  • Posts: 22
  • Thank you received: 2
  • Karma: 0
I am using Jomclassifieds on Joomla 3.2.
How do I hide the title for the TopAds? When I enter 0 for the "Title chars limit" it shows the entire title.
The administrator has disabled public write access.

TopAds - Hide Title 2 years 10 months ago #1744

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
Sorry, the feature to hide the title is not available in Jom Classifieds. If still you need it, kindly contact our customization team at This email address is being protected from spambots. You need JavaScript enabled to view it. .

Thanks.
The administrator has disabled public write access.

TopAds - Hide Title 2 years 10 months ago #1746

  • Biking Zone
  • Biking Zone's Avatar
  • Offline
  • Junior Boarder
  • Posts: 22
  • Thank you received: 2
  • Karma: 0
I just added the following code to /modules/mod_jomclassifieds_adverts/tmpl/default.php:
<?php if($params->get('titlecharslimit') > 0) : // Added code ?>
            <h3> <a href="<?php echo $detailPage; ?>"><?php echo JomclUtils::Truncate($item->title, $params->get('titlecharslimit')); ?></a></h3>
<?php endif; // Added code ?>

This way if "Title chars limit" is set to zero, it will not be displayed.
The administrator has disabled public write access.

TopAds - Hide Title 2 years 10 months ago #1756

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
Hi,

We check the above code and it works fine for us. Kindly check whether you have changed the value to '0' in Jomclassifieds Adverts Module and clear your browser cache and check.

Thanks.
The administrator has disabled public write access.

TopAds - Hide Title 2 years 10 months ago #1760

  • Biking Zone
  • Biking Zone's Avatar
  • Offline
  • Junior Boarder
  • Posts: 22
  • Thank you received: 2
  • Karma: 0
Yes, it works for me as well. Maybe this can be added to the base code so others can benefit from the feature.

Thanks
The administrator has disabled public write access.
The following user(s) said Thank You: Super User

TopAds - Hide Title 2 years 10 months ago #1766

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
Sure, we will add this in our future version.

Thanks
The administrator has disabled public write access.
Time to create page: 0.395 seconds