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 / Support / Bruce Support / Banner click with SEF active

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.

Banner click with SEF active

More
8 years 2 weeks ago #24824 by cedcha
Replied by cedcha on topic Banner click with SEF active
Hello,

Thank you for the information.

I come back with the same problem as mentionned on the above message. I provided this correct link to the banner "index.php?option=com_contact&view=contact&id=1&Itemid=2187" but it redirects to "index?view=banner&task=click&id=6". It works when SEF is disabled but i don't want to disable it.

Could you please help me ?

Thank you for your help.

Best regards,

Cédric.
More
8 years 2 weeks ago #24840 by loic
Replied by loic on topic Banner click with SEF active
Hello,

I will ask the developper team, I come back to you.

Best regards.
More
8 years 2 weeks ago #24863 by cedcha
Replied by cedcha on topic Banner click with SEF active
Hello,

Thank you.

By waiting i modified the router file of the component and now it works :

<?php
/**
* @package AdsManager
* @copyright Copyright (C) 2010-2012 JoomPROD.com. All rights reserved.
* @license GNU/GPL
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );

jimport( 'joomla.filter.output' );

function BruceBuildRoute(&$query)
{
$segments = array();

if ($query == 'banner') {
$segments[] = 'banner';
unset($query["view"]);
if (isset($query)) {
$pages = explode('/',$query);
unset($query["task"]);
$segments = array_merge($segments,$pages);
}
}
return $segments;
}

function BruceParseRoute($segments)
{
$app = JFactory::getApplication();

$vars = array();

//Get the active menu item
$menu = $app->getMenu();
$item = $menu->getActive();

$nbsegments = count($segments);

if ($nbsegments > 0) {

if ($segments[0] == "banner") {
$vars = 'banner';
array_shift($segments);
//var_dump($segments);exit();
$vars = '/'.implode('/',$segments);
}
}

return $vars;
}

Best regards,

Cédric.
More
8 years 2 weeks ago #24878 by loic
Replied by loic on topic Banner click with SEF active
Hello,

thanks for the tip, I will forward your answer to the developpers team.

Best regards.
Time to create page: 0.110 seconds
Powered by Kunena Forum