Version Description
- If a post has a custom post status, that status will be shown instead of "undefined". So now CMS Tree Page View works better together with plugins like "Edit flow".
Download this release
Release Info
Developer | eskapism |
Plugin | CMS Tree Page View |
Version | 0.7.11 |
Comparing to | |
See all releases |
Code changes from version 0.7.10 to 0.7.11
- index.php +2 -2
- readme.txt +6 -2
- scripts/cms_tree_page_view.js +9 -1
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: CMS Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
|
5 |
Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
|
6 |
-
Version: 0.7.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
@@ -27,7 +27,7 @@ License: GPL2
|
|
27 |
|
28 |
require("functions.php");
|
29 |
|
30 |
-
define( "CMS_TPV_VERSION", "0.7.
|
31 |
define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
|
32 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
33 |
|
3 |
Plugin Name: CMS Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
|
5 |
Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
|
6 |
+
Version: 0.7.11
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
27 |
|
28 |
require("functions.php");
|
29 |
|
30 |
+
define( "CMS_TPV_VERSION", "0.7.11");
|
31 |
define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
|
32 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
33 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: eskapism, MarsApril
|
|
3 |
Donate link: http://eskapism.se/sida/donate/
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.0
|
7 |
-
Stable tag: 0.7.
|
8 |
|
9 |
Adds a tree of all your pages or custom posts. Use drag & drop to reorder your pages, and edit, view, add, and search your pages.
|
10 |
|
@@ -20,6 +20,7 @@ Page management in WordPress won't get any easier than this!
|
|
20 |
|
21 |
#### Features and highlights:
|
22 |
|
|
|
23 |
* Drag and drop to rearrange/order your pages
|
24 |
* Add pages after or inside a page
|
25 |
* Edit pages
|
@@ -77,6 +78,9 @@ Now the tree with the pages will be visible both on the dashboard and in the men
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 0.7.10 =
|
81 |
- CSS images loaded from google via https instead of http. Does this solve the problems you guys with https-sites had?
|
82 |
- Users of IE could not add pages at the right place. All pages where added at the top instead of after or inside another page. Only tested in IE 8, please let me know of the other version..
|
3 |
Donate link: http://eskapism.se/sida/donate/
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.0.3
|
7 |
+
Stable tag: 0.7.11
|
8 |
|
9 |
Adds a tree of all your pages or custom posts. Use drag & drop to reorder your pages, and edit, view, add, and search your pages.
|
10 |
|
20 |
|
21 |
#### Features and highlights:
|
22 |
|
23 |
+
* View your pages & posts in a tree-view, like you view files in Windows Explorer or the Finder in OS X
|
24 |
* Drag and drop to rearrange/order your pages
|
25 |
* Add pages after or inside a page
|
26 |
* Edit pages
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 0.7.11 =
|
82 |
+
- If a post has a custom post status, that status will be shown instead of "undefined". So now CMS Tree Page View works better together with plugins like "Edit flow".
|
83 |
+
|
84 |
= 0.7.10 =
|
85 |
- CSS images loaded from google via https instead of http. Does this solve the problems you guys with https-sites had?
|
86 |
- Users of IE could not add pages at the right place. All pages where added at the top instead of after or inside another page. Only tested in IE 8, please let me know of the other version..
|
scripts/cms_tree_page_view.js
CHANGED
@@ -419,8 +419,16 @@ function cms_tpv_bind_clean_node() {
|
|
419 |
|
420 |
// add page type
|
421 |
var post_status = li.data("jstree").post_status;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
if (post_status != "publish") {
|
423 |
-
aFirst.find("ins").first().after("<span class='post_type post_type_"+post_status+"'>" +
|
424 |
}
|
425 |
}
|
426 |
|
419 |
|
420 |
// add page type
|
421 |
var post_status = li.data("jstree").post_status;
|
422 |
+
// post_status can be any value because of plugins like Edit flow
|
423 |
+
// check if we have an existing translation for the string, otherwise use the post status directly
|
424 |
+
var post_status_to_show = "";
|
425 |
+
if (post_status_to_show = cmstpv_l10n["Status_"+post_status]) {
|
426 |
+
// it's ok
|
427 |
+
} else {
|
428 |
+
post_status_to_show = post_status;
|
429 |
+
}
|
430 |
if (post_status != "publish") {
|
431 |
+
aFirst.find("ins").first().after("<span class='post_type post_type_"+post_status+"'>" + post_status_to_show + "</span>");
|
432 |
}
|
433 |
}
|
434 |
|