Changing all ads by this user heading

Changing all ads by this user heading was created by Francois Watson

When clicking on the view all ads by this user link on an advert you are directed to another page with a heading of Ads by username - on our site the username is a supplier code, where (What file) would I change to change the value of username
6 years 7 months ago#2400

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

Replied by Super User on topic Changing all ads by this user heading

Hi,

Open the view.html.php file from the below path,
Root-->components-->com_jomclassifieds-->views-->userads

In this file, search the following code,
$title = JText::_('ADS_BY').' '.$user->username;

and change it as below,
$title = JText::_('ADS_BY').'francois';

Hope this help you.

Thanks.
The following user(s) said Thank You: Francois Watson
6 years 7 months ago#2401

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

Replied by Francois Watson on topic Changing all ads by this user heading

Awesome thanks for the help,

If I wanted to pull the name from a different table where would I find the .php file with the query to adjust? Would this adjustment affect anything else?
6 years 7 months ago#2402

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

Replied by Super User on topic Changing all ads by this user heading

You can write a query in the same file and get the name from any table in the same file view.html.php

Thanks.
6 years 7 months ago#2403

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

Time to create page: 0.152 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
Copyright © 2013-2020 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.