sfJqueryTreeDoctrineManagerPlugin - 1.2.5

Helper for managing a doctrine nested set tree

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

Symfony Jquery Tree Doctrine Manager Plugin based on JsTree

Whats new

V 1.2.4 : add a right click contextual menu that add a link to the edit form for the node

Installation

You must enable the module for the nested set manager in your application settings.yml

all:
  .settings:
  enabled_modules:        [default, sfJqueryTreeDoctrineManager]

Usage

<?php
// Need to use the helper
use_helper("sfJqueryTreeDoctrine");
echo get_nested_set_manager("Category", "name");

Options

In order to remove the context menu, you can add in app.yml

all:
  sfJqueryTree:
    withContextMenu : false

Screenshots

Below a screenshot of the Roots management (if hasManyRoot is set to true)

root manager

And a screenshot of tree Manager.

root manager

You can drag and drop node, or double click on a node to edit

Creditential

This plugin is inspired by sfDoctrineNestedSetManagerPlugin