Welcome, Guest
Username: Password: Remember me

TOPIC: Ad ID & Username

Ad ID & Username 2 years 4 months ago #3325

I'm using Jom Classifieds to post ads on my website. No other users will be posting ads, only me, the site owner. There is no need for the ad ID or 'user' to be displayed in the advert layout. I can't find any options to remove this from the layout.

Please help?!
The administrator has disabled public write access.

Ad ID & Username 2 years 4 months ago #3327

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2763
  • Thank you received: 292
  • Karma: 40
Dear Customer,

kindly open the default.php file from the path,

Root->components->com_jomclassifieds->views->advert->tmpl->default.php

In this file search the below codes and remove it,
<h3><i class="icon-info-sign"></i>&nbsp;<?php echo JText::_('AD_ID'); ?>&nbsp;:&nbsp;<?php echo $item->id; ?></h3>

<div class="user"><?php echo $username.'&nbsp;('.$this->getuseradsCount($item->userid).')'; ?></div>

Finally save the changes and check your front-end.

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