DB7 - ADS MODULE (BUG)

1


modules\boonex\ads\classes\BxAdsModule.php

line 2598, line 2599

'add_subcat' => array('href' => 'javascript: void(0);', 'title' => 'Add subcategory', 'onclick' => ' site_url = \'http://www.aramis.s/dolphin7_rep_svn/\';  showPopupAnyHtml(\'modules/boonex/ads/post_mod_ads.php?action=add_sub_category\');', 'active' => 0),
'manager' => array('href' => 'javascript: void(0);', 'title' => 'Category manager', 'onclick' => ' site_url = \'http://www.aramis.s/dolphin7_rep_svn/\';  showPopupAnyHtml(\'modules/boonex/ads/post_mod_ads.php?action=category_manager\');', 'active' => 0)

change to

'add_subcat' => array('href' => 'javascript: void(0);', 'title' => 'Add subcategory', 'onclick' => ' site_url = \''.$this->sHomeUrl.'\';  showPopupAnyHtml(\'post_mod_ads.php?action=add_sub_category\');', 'active' => 0),
'manager' => array('href' => 'javascript: void(0);', 'title' => 'Category manager', 'onclick' => ' site_url = \''.$this->sHomeUrl.'\';  showPopupAnyHtml(\'post_mod_ads.php?action=category_manager\');', 'active' => 0)



2

modules\boonex\ads\classifieds.php

line 31

$_page['extra_js'] = $oTemplConfig->sTinyMceEditorJS;

change to

//$_page['extra_js'] = $oTemplConfig->sTinyMceEditorJS;


then clean js & css cache in backend home

Quote · 23 Aug 2009

For those of us who aren't great at reading code, why don't you describe the bug that this code fixes.

Quote · 23 Aug 2009

For those of us who aren't great at reading code, why don't you describe the bug that this code fixes.

only copy & paste in line 2598 & 2599 =="

Quote · 23 Aug 2009

You can just delete

'site_url = \'http://www.aramis.s/dolphin7_rep_svn/\'; '

at all.

Quote · 24 Aug 2009

thanks.

fixed my ads manager, now I can add subcats and edit categories,

but after clicking submit, the next page is broken(html and things), came out of the admin page design.

hope to be fixed in B5.

 

 

Quote · 25 Aug 2009

I don`t understand which Next page ..

should load same page without any errors.

Can you PM me your admin access - I can check it directly at your site

Quote · 26 Aug 2009

I am having the same problem with the inability to manage the categories or even select the sub-categories and thus unable to post an ad.     I did not see the "$_page['extra_js'] = $oTemplConfig->sTinyMceEditorJS;" in

modules\boonex\ads\classifieds.php

Quote · 22 Oct 2011

I'm having the same issue as ttime1. I don't know where this line of code is  

 $_page['extra_js'] = $oTemplConfig->sTinyMceEditorJS;


I have already edited the first code bundle.

'add_subcat' => array('href' => 'javascript: void(0);', 'title' => 'Add subcategory', 'onclick' => ' site_url = \''.$this->sHomeUrl.'\';  showPopupAnyHtml(\'post_mod_ads.php?action=add_sub_category\');', 'active' => 0),
'manager' => array('href' => 'javascript: void(0);', 'title' => 'Category manager', 'onclick' => ' site_url = \''.$this->sHomeUrl.'\';  showPopupAnyHtml(\'post_mod_ads.php?action=category_manager\');', 'active' => 0)

Quote · 25 May 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.