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

×

Notice

The forum is in read only mode.

×
End of Forum > Moving to ticket system (01 Jan 2014)

The forum is now in read-only mode.

To send us support request, please open a tickets > Support > Tickets Support

We have tested the ticket system during the last 3 months and we are sastified with it. So the forum is just for history now.

Banner click with SEF active

2 years 3 months ago #24824 by cedcha
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.
2 years 3 months ago #24840 by loic
Hello,

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

Best regards.
2 years 3 months ago #24863 by cedcha
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.
2 years 3 months ago #24878 by loic
Hello,

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

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