Author: Jonathan.Wage
Date: 2010-01-17 10:18:57 +0100 (Sun, 17 Jan 2010)
New Revision: 26756
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/lib/form/doctrine/PluginsfSympalMenuItemForm.class.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/config/generator.yml
Log:
[1.4][sfSympalPlugin][1.0] Allowing you to edit the slug of menu items
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/lib/form/doctrine/PluginsfSympalMenuItemForm.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/lib/form/doctrine/PluginsfSympalMenuItemForm.class.php
2010-01-17 08:57:27 UTC (rev 26755)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/lib/form/doctrine/PluginsfSympalMenuItemForm.class.php
2010-01-17 09:18:57 UTC (rev 26756)
@@ -71,7 +71,14 @@
));
$this->widgetSchema->setLabel('where_to_move', 'Position before or
after?');
- unset($this['site_id'], $this['Content'], $this['root_id'], $this['lft'],
$this['rgt'], $this['level'], $this['slug']);
+ unset(
+ $this['site_id'],
+ $this['Content'],
+ $this['root_id'],
+ $this['lft'],
+ $this['rgt'],
+ $this['level']
+ );
}
public function updateParentIdColumn($parentId)
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/config/generator.yml
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/config/generator.yml
2010-01-17 08:57:27 UTC (rev 26755)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalMenuPlugin/modules/sympal_menu_items/config/generator.yml
2010-01-17 09:18:57 UTC (rev 26756)
@@ -29,7 +29,7 @@
class: sfSympalAdminGenSearchForm
form:
display:
- "Menu Item": [name, label, content_id, custom_path, is_primary,
date_published]
+ "Menu Item": [name, label, content_id, custom_path, is_primary,
date_published, slug]
"Position": [parent_id, move, where_to_move]
"Security": [requires_auth, requires_no_auth, groups_list]
fields:
@@ -50,7 +50,7 @@
label:
help: Enter the menu item label.
slug:
- help: The text slug identifier that represents this menu item.
+ help: The text slug identifier that represents this menu item.
custom_path:
help: Enter the custom path that this menu item maps to. It can be
a URL or a symfony route.
requires_auth:
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.