Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:26:23 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155537 Posts in 21714 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: news with drag n drop the order of the items ...  (Read 466 times)
snark
Guest
« on: September 20, 2010, 12:11:19 PM »

making my presence here a bit useful...

news with drag n drop for items in the backend

also added: pagination for the newsitems in the backend and added a field in the news settings so that you can set the amount of items per page

I do not know if the install file adds the table "posts_per_page_admi n", I added it manually into the phpmyAdmin, somebody might wanna check that ...

« Last Edit: September 20, 2010, 01:49:31 PM by snoork » Logged
snark
Guest
« Reply #1 on: September 20, 2010, 01:50:06 PM »

*kick*

forgot to attach the zippppppp

Logged
tiesy

Offline Offline

Posts: 124


WWW
« Reply #2 on: September 24, 2010, 11:38:40 AM »

Sounds cool, will test it soon. By the way: It would be useful to show the published-when-date in the overview-list.
Logged
Gerben

Offline Offline

Posts: 3


« Reply #3 on: September 29, 2010, 08:40:12 AM »

The variable THEME_URL hasn't been set at my WB, so I replaced it with ADMIN_URL because that variable was used at my old news module. Problem is, the drag n drop works but it isn't saved to the database, probabley because this line in your original:

var oNews = { WB_URL : '<?php echo WB_URL; ?>', ADMIN_URL : '<?php echo ADMIN_URL; ?>', THEME_URL : '<?php echo THEME_URL; ?>' };

is replaced by this:

var oNews = { WB_URL : '<?php echo WB_URL; ?>', ADMIN_URL : '<?php echo ADMIN_URL; ?>', ADMIN_URL : '<?php echo ADMIN_URL; ?>' };
« Last Edit: September 29, 2010, 09:09:49 AM by Gerben » Logged
snark
Guest
« Reply #4 on: September 29, 2010, 09:02:09 AM »

I noticed the drag n drop does not work properly on 2.7 ...

is it posible for you to upgrade?
Logged
Gerben

Offline Offline

Posts: 3


« Reply #5 on: September 30, 2010, 06:11:34 PM »

You mean I need to upgrade my WB from 2.7 to 2.8?
Logged
snark
Guest
« Reply #6 on: September 30, 2010, 08:50:01 PM »

hey, I do not know if it works good on 2.7, havents istalled in on a 2.7... on a 2.8 it works great for as far as I can see

however, I am just a hobby-coder ... I would like a better coder to have a look at it and before that I cannot really garantee anything ...
Logged
erutter

Offline Offline

Posts: 60


« Reply #7 on: October 15, 2010, 02:43:07 PM »

a question:
how i could deinstall it??

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!