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
Anonyme $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Anonyme $ 10.00
minor $ 20.00

Recommended ISP

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.
Répondre au sujetRépondre au sujet Format imprimable

Admin Article Move/Copy Bug

Poster Posté le: 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
 
Messages: 1229
Inscrit le: Mar 18, 2006
Link  QR  Share this Format imprimable  facebook   myspace   twitthis  
Show more ...
Montrer les messages depuis:   
Répondre au sujetRépondre au sujet Page 1 sur 1

3.3 Support

Sauter vers:  



Vous ne pouvez pas poster de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas voter dans les sondages de ce forum
You cannot attach files in this forum
You cannot download files in this forum

Toutes les heures sont au format GMT






layingback Non-Human Terms of Use