Link on the user/index.php should be pointing to order_pixels.php instead of select.php

Problem

Link on the user/index.php should be pointing to order_pixels.php instead of select.php. This means that even though the Simple selection method selected, the Order Pixels link in index.php will be still pointing to the old select.php selection method.

Solution

Edit the user/index.php file.

Locate the following code:

 $label['advertiser_home_onorder'] = str_replace("%PIXEL_ORD_COUNT%", $ordered, $label['advertiser_home_onorder']);

 

And just below the above code, insert the following lines:

 if (USE_AJAX=='SIMPLE') { 	$label['advertiser_home_onorder'] = str_replace('select.php', 'order_pixels.php', $label['advertiser_home_onorder']); } echo $label['advertiser_home_onorder']."";

Leave a Comment