+ */
+class ContentController extends AbstractCrudController {
+
+ /**
+ * Return the creation form for this object
+ */
+ protected function getCreationForm()
+ {
+ // TODO: Implement getCreationForm() method.
+ }
+
+ /**
+ * Return the update form for this object
+ */
+ protected function getUpdateForm()
+ {
+ // TODO: Implement getUpdateForm() method.
+ }
+
+ /**
+ * Hydrate the update form for this object, before passing it to the update template
+ *
+ * @param unknown $object
+ */
+ protected function hydrateObjectForm($object)
+ {
+ // TODO: Implement hydrateObjectForm() method.
+ }
+
+ /**
+ * Creates the creation event with the provided form data
+ *
+ * @param unknown $formData
+ */
+ protected function getCreationEvent($formData)
+ {
+ // TODO: Implement getCreationEvent() method.
+ }
+
+ /**
+ * Creates the update event with the provided form data
+ *
+ * @param unknown $formData
+ */
+ protected function getUpdateEvent($formData)
+ {
+ // TODO: Implement getUpdateEvent() method.
+ }
+
+ /**
+ * Creates the delete event with the provided form data
+ */
+ protected function getDeleteEvent()
+ {
+ // TODO: Implement getDeleteEvent() method.
+ }
+
+ /**
+ * Return true if the event contains the object, e.g. the action has updated the object in the event.
+ *
+ * @param unknown $event
+ */
+ protected function eventContainsObject($event)
+ {
+ // TODO: Implement eventContainsObject() method.
+ }
+
+ /**
+ * Get the created object from an event.
+ *
+ * @param unknown $createEvent
+ */
+ protected function getObjectFromEvent($event)
+ {
+ // TODO: Implement getObjectFromEvent() method.
+ }
+
+ /**
+ * Load an existing object from the database
+ */
+ protected function getExistingObject()
+ {
+ // TODO: Implement getExistingObject() method.
+ }
+
+ /**
+ * Returns the object label form the object event (name, title, etc.)
+ *
+ * @param unknown $object
+ */
+ protected function getObjectLabel($object)
+ {
+ // TODO: Implement getObjectLabel() method.
+ }
+
+ /**
+ * Returns the object ID from the object
+ *
+ * @param unknown $object
+ */
+ protected function getObjectId($object)
+ {
+ // TODO: Implement getObjectId() method.
+ }
+
+ /**
+ * Render the main list template
+ *
+ * @param unknown $currentOrder, if any, null otherwise.
+ */
+ protected function renderListTemplate($currentOrder)
+ {
+ // TODO: Implement renderListTemplate() method.
+ }
+
+ /**
+ * Render the edition template
+ */
+ protected function renderEditionTemplate()
+ {
+ // TODO: Implement renderEditionTemplate() method.
+ }
+
+ /**
+ * Redirect to the edition template
+ */
+ protected function redirectToEditionTemplate()
+ {
+ // TODO: Implement redirectToEditionTemplate() method.
+ }
+
+ /**
+ * Redirect to the list template
+ */
+ protected function redirectToListTemplate()
+ {
+ // TODO: Implement redirectToListTemplate() method.
+ }
+}
\ No newline at end of file
diff --git a/templates/admin/default/folders.html b/templates/admin/default/folders.html
index 658919208..b7d435e88 100644
--- a/templates/admin/default/folders.html
+++ b/templates/admin/default/folders.html
@@ -214,7 +214,7 @@
current_order=$content_order
order='id'
reverse_order='id_reverse'
- path={url path='/admin/folders' id_folder=$folder_id target='contents'}
+ path={url path='/admin/folders' parent=$parent target='contents'}
label="{intl l='ID'}"
}
@@ -225,7 +225,7 @@
current_order=$content_order
order='alpha'
reverse_order='alpha_reverse'
- path={url path='/admin/folders' id_folder=$folder_id target='contents'}
+ path={url path='/admin/folders' parent=$parent target='contents'}
label="{intl l='Content title'}"
}
@@ -236,7 +236,7 @@
current_order=$content_order
order='visible'
reverse_order='visible_reverse'
- path={url path='/admin/folders' id_folder=$folder_id target='contents'}
+ path={url path='/admin/folders' parent=$parent target='contents'}
label="{intl l='Online'}"
}
@@ -246,7 +246,7 @@
current_order=$content_order
order='manual'
reverse_order='manual_reverse'
- path={url path='/admin/folders' id_folder=$folder_id target='contents'}
+ path={url path='/admin/folders' parent=$parent target='contents'}
label="{intl l='Position'}"
}
@@ -262,7 +262,7 @@
{loop type="image" name="folder_image" source="content" source_id="$ID" limit="1" width="50" height="50" resize_mode="crop" backend_context="1"}
-
+
{/loop}
|