ItemRemove Element for ZOO

5.0/5 rating (12 votes)
  • Added: 31 January 2013
  • Updated: 10 March 2013
  • File size: 3.12 KB
  • Version: 3.0.1
  • Dwnlded: 822
  • Author: Attavus M.D.
  • License: GPLv2 or later
  • Type: Non-Commercial
ItemRemove Element - Displays a link to remove the item in the frontend.
 
According to a tool tip in the submission section, if enabled, a submission will be used for direct item removing. There can be at most one item remove submission per app. The access level of this submission will determine who will be able to remove an item. You'll also have to assign an ItemRemove Element to the layout you want the Remove Item button to show on.

Installation

How it is to install, configure and use the new feature:
  1. Install the ItemRemove Element for ZOO using the Joomla Extension Installer
  2. Add ItemRemove Element to your types.    
  3. Assign the new element "Item Remove" to a layout
  4. Then create a new submission and set Item Edit to yes
  5. Important is to set the right access level. All users with this level can remove items on the frontend
That is basically all you need to do.
 
Have fun with the new release!
3.0.1
# Fixed PH2-PHP Files missing JEXEC security
 
3.0.0
+ Initial release

* -> Security Fix
# -> Bug Fix
$ -> Language fix or change
+ -> Addition
^ -> Change
- -> Removed
! -> Note

Comments (4)

  • adso

    adso

    11 July 2014 at 13:14 |
    Thank you! Work like a charm... but redirection URL cannot be changed. Would be great awesome if redirection URL will be the "Frontpage" where the deleted element belong!

    reply

    • Attavus M.D.

      Attavus M.D.

      12 August 2014 at 14:37 |
      Ok. I will add this feature.

      reply

  • polega

    polega

    18 November 2014 at 19:51 |
    В дополнение к первому комментарию - было бы неплохо, чтобы после удаления была возможность сделать редирект не только на главную, но и также на адрес страницы, на которой была нажата кнопка ItemRemove. Поясню для чего - если был применён фильтр, после удаления айтема он сбрасывается. А очень хочется, чтобы после удаления был редирект на страницу с применённым фильтром.

    reply

    • Attavus M.D.

      Attavus M.D.

      14 March 2015 at 18:18 |
      Редирект жестко прописан в контроллере на страницу "Мои подачи", кроме как хаком сделать нельзя.
      Пример прописанного редиректа: $this->setRedirect(JRoute::_($this->app->route->mysubmissions($this->submission), false), $msg);

      reply

Leave a comment

Please login to leave a comment.