Toggle Item Status

Ad management 4 years ago

Free

Description

With this plugin, it is possible for users to tag their listings. Possible marks here are sold and available again. It was no big deal, I've also spend a couple of hours for it, but I've also created a "Framework" for me, on which probably i will build more plugins for OSClass.

The integration is pretty simple. You can insert a Button where you want that give the user the possibility to mark his listings as sold or available. This inform all user, that this Listing is no longer available and when the user want to reinsert the listing, he simply can make it re-available.

To insert the button, only edit the file, where you want to appear the button and put this code on it.



If you want to add a prefix to yout title, you can set the following code before the title.



Not everyone likes perhaps the design that I use for the button, so you can easily change the appearance of the button via CSS in the following file.

../oc-content/plugins/toggle_item_status/assets/css/tis.css

Since I am only involved a few days in the system, there are certainly some things that you could solve even better, all in all I'm quite happy, but I give the plugin anyway only the version o.9.

Maybe I'll even some tinkering in the near future to it and enhance it a little bit. Oh, the whole system runs on AJAX so that the advertiser does not constantly has to reload the page, thus saving requests to the server.

This plugin can be translated in different languges, available for now are: german, english



Deutsche Version:

Mit diesem Plugin ist es den Benutzern möglich, ihre Inserate zu markieren. Mögliche Markierungen hierbei sind verkauft und wieder verfügbar. Es war keine große Sache, hab auch nur ein paar Stunden dafür gebraucht, allerdings hab ich mir gleichzeitig ein “Framework” geschaffen, auf welches wohl noch weitere Plugins für dieses System von mir aufbauen werden.

Die Funktionsweise ist relativ simpel. Man kann sich an beliebiger Stelle im Inseratemarkt einen Button anzeigen lassen, welcher es den Inserenten erlaubt das Angebot auf verkauft zu stellen und somit alle anderen darüber informiert, dass dieser Artikel nicht mehr erhältlich ist. Sollte man wider erwarten auf dem Artikel sitzen bleiben, kann man das Angebot wieder zurückholen, in dem man es wieder auf verfügbar stellt.

Die Integration ist ganz einfach, man bearbeitet in seinem Template des Systems die Datei, wo man den Button anzeigen lassen möchte und fügt dort folgenden Code ein.



Möchte man jetzt noch den Titel seines Angebotes mit einem Präfix versehen, kann man noch zusätzlich folgenden Code vor den Titel setzen.



Nicht jedem gefällt vielleicht das Design, welches ich für den Button verwende, darum kann man das Aussehen des Buttons relativ einfach per CSS in folgender Datei ändern.

../oc-content/plugins/toggle_item_status/assets/css/tis.css

Da ich erst wenige Tage in das System involviert bin, gibt es bestimmt einige Dinge die man noch besser lösen könnte, alles in allem bin ich aber schon recht zufrieden, habe dem Plugin aber trotzdem erst die Version o.9 gegeben.

Vielleicht werde ich in naher Zukunft noch etwas dran herumbasteln und es etwas erweitern. Achja, das ganze System läuft über AJAX, so dass der Inserent nicht ständig die Seite neu laden muss und somit Anfragen an den Server spart.

Das Plugin kann jetzt schon in alle Sprachen übersetzt werden, verfügbar sind bis jetzt: deutsch, englisch

    Attributes

Comments

No comments has been added yet
Free
Professional seller

Product technical data

9409view
55 dwnld
Product version: 1.0.2 Last update: 2019-09-01 00:02:19 Published on: 2019-08-31 23:53:05 Osclass version:3.0 + Author:Liath
osc4u.com
United Kingdom
Registered 4 years ago