QuoteAug 23, 2009 00:411 likesLike
 

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

QuoteAug 23, 2009 01:130 likesLike
 

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

QuoteAug 23, 2009 01:170 likesLike
 

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 =="

QuoteAug 23, 2009 22:350 likesLike
 

You can just delete

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

at all.

QuoteAug 25, 2009 16:180 likesLike
 

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.

 

 

QuoteAug 26, 2009 00:180 likesLike
 

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

QuoteOct 21, 2011 23:030 likesLike
 

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