XFileSharing Pro - Un Publish selected

Message
Author
adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

Un Publish selected

#1 Postby adiga » Apr 19, 2011 9:32 pm

In File Manager there is an option Publish selected
How can I add the option of Un Publish selected ?

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#2 Postby ufkabakan » Apr 19, 2011 11:35 pm

Uncheck box and press Publish selected

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#3 Postby adiga » Apr 20, 2011 1:05 pm

ufkabakan wrote:Uncheck box and press Publish selected
Thank you
i want add new button like Publish selected button for un Publish all files in folder without select files one by one

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#4 Postby ufkabakan » Apr 20, 2011 4:48 pm

I thing u need some java code for it.
Other resolution, default options not selected. But u need change some files for it.

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#5 Postby adiga » Apr 23, 2011 1:49 am

The button is in the form of my_files.html but is disabled in this form

Code: Select all

<!--input type="submit" name="set_private" value="<TMPL_VAR lang_unpublish>" class="btn2"-->
When I remove activation code the button does not work

We hope that admins help

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#6 Postby ufkabakan » Apr 23, 2011 9:18 am

u can find a code for it. Javascript can uncheck all box and submit unpublish button automatickly. But u need a code for, java script can do it.

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#7 Postby komi » Apr 24, 2011 1:24 am

Normally files are unpublished instantly when you unticked them, no need to press a button.