Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / what is the file for ads list cb user

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

what is the file for ads list cb user

More
8 years 3 months ago #23413 by francota
Replied by francota on topic what is the file for ads list cb user
Well I wuold like to custom the list view when user visit the list of other user but without change the view of default general list ads.
It is possible to do that?? wiche file in this case?

Thanks
Frank
More
8 years 3 months ago #23420 by loic
Replied by loic on topic what is the file for ads list cb user
Hello,

This is the code loading the view in the CB profile :
if ($myads == true) {
		if (is_file($templateDir.'/html/com_adsmanager/myads/default.php')) {
			$config['template_path'] = JPATH_BASE.'/templates/' . $app->getTemplate().'/html/com_adsmanager/myads';
		} else {
			$config['template_path'] = JPATH_BASE.'/components/com_adsmanager/views/myads/tmpl';
		}
		$view = new AdsmanagerViewMyads($config);
	} else {
		if (is_file($templateDir.'/html/com_adsmanager/list/default.php')) {
			$config['template_path'] = JPATH_BASE.'/templates/' . $app->getTemplate().'/html/com_adsmanager/list';
		} else {
			$config['template_path'] = JPATH_BASE.'/components/com_adsmanager/views/list/tmpl';
		}
		$view = new AdsmanagerViewList($config);
	}

If you are on your own page, if the myads/tmpl/default.php, otherwise it is list/tmpl/default.php

Best regards.
More
8 years 3 months ago #23432 by francota
Replied by francota on topic what is the file for ads list cb user
Yes Loic it is clear
To do what I want I have to delete this code :
<?php
$conf= $this->conf;
$jlang = JFactory::getLanguage();
$jlang->load("mod_breadcrumbs", JPATH_ROOT, null, true);
?>
from list/tmpl/default.php
But in this way I delete the path from the user list and from the list ads
In other words I wuold delete tha path from here:
www.bachecaviaggi.it/annunci.html?rootid=0
and from here
www.bachecaviaggi.it/Community.html?tab=adsmanagerTab&user=78

While I wuold like just in the second...I think it is imposible :blush: couse the file is the same for both

Frank
More
8 years 3 months ago #23470 by loic
Replied by loic on topic what is the file for ads list cb user
Hello,

Ha I understand. You need to custom the code I paste earlier to load the view from another folder.

CB load the same view as the default view so if you custom one, it will be visible on the other.
The solution is to load another view.

Best regards.
Moderators: perry
Time to create page: 0.145 seconds
Powered by Kunena Forum