Toggle Content

Donations

Donate with PayPal!
Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
Anonymous $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Anonymous $ 10.00
minor $ 20.00

Recommended ISP

Stop Software Patents

stopsoftwarepatents.eu petition banner

Link this Site

http://layingback.net Check our QR links

Admin Article Move/Copy Bug

3.3 Forum ONLY: If you've run into a problem, such as an error message, blank page, or similar problem, this is where to look. Post any installation or other problems or questions here, and I and other users will try to help.
Reply to topicReply to topic Printer Friendly Page

Admin Article Move/Copy Bug

Post Posted: Wed Feb 16, 2011 10:25 am

An error has crept in as a result of the new select-and-go Category selection in Pro_News. On the Admin > Articles page, when you attempt to select a Category before clicking on Copy or Move, the Category change takes you off immediately to view the new selected Category. To fix this annoyance, please apply the following fix to version 3.3.2.3.

In modules/Pro_News/admin/admin_functions.php around line 192 find:

PHP:
					'L_CATLIST' => ProNewsAdm::admin_seccat('cat2'),



and replace with:

PHP:
	
'L_CATLIST' => ProNewsAdm::admin_seccat('cat2','',false),




And again at around line 2352 find:

PHP:
	
function admin_seccat($name,$id='') {



and replace with:

PHP:
	
function admin_seccat($name,$id='',$onchange=true) {




And finally at around line 2366 find:

PHP:
	
$seccat = '<select onchange="this.form.submit()" name="'.$name.'"><option value="">-- '._PNSELONE.' --</option>';



and replace with:

PHP:
	
$seccat = '<select '.($onchange ? 'onchange="this.form.submit()" ' : '').'name="'.$name.'"'.'><option value="">-- '._PNSELONE.' --</option>';



Sorry for the inconvenience.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
Posts: 1229
Joined: Mar 18, 2006
Link  QR  Share this Printer Friendly Page  facebook   myspace   twitthis  
Show more ...
Display posts from previous:   
Reply to topicReply to topic Page 1 of 1

3.3 Support

Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

All times are GMT






layingback Non-Human Terms of Use