TS Edit Anywhere

Downloads: 746
Category: Plugin
Compatible with: GetSimple 3.3 - 3.3

Last Updated: March 18, 2018
Tags: editing content
Author: Lars

(3) 3 Votes

Plugin Description:

This plugin enables a comfortable editing from within the frontend. It also turns the behavior from the "VIEW" button: Instead of iopening a new tab, after activation the "VIEW" butten opens the page in the same window.

After tagging any named DIV-container with the CLASS "iedit" the DIV container becomes a "#" for editing and a "+" for adding new pages.

In the simpliest way tag your main DIV-container where the

<h1><?php get_page_title(); ?></h1>
<?php get_page_content(); ?>

is placed with a class "iedit".

Example

<div id="main" class="iedit">
<h1><?php get_page_title(); ?></h1>
<?php get_page_content(); ?>
<div>

Editing any other DIV-container

To edit any other DIV containin another page (e.g. Infoboxes) you have to extend the class with the slugname of your page:

Example

<div id="info" class="iedit slugname">
...
<div>

Edit a page dependent content

To edit a site depentent content such as product infos, add a "_" befor the groupslugname.

Example

<div id="info" class="iedit _group">
...
<div>

This will extend to "slugname_group" so you are able to edit any content on the page.

History

0.1a added VIEW button behaviour

Install Instructions:

Unzip into your plugins directory.

Include jQuery in your template.

<head>
....
<script src="http://code.jquery.com/jquery-latest.js"></script>
....
</head>

Make sure that

<?php get_footer(); ?>

is included in your template (Best position: right before the closing BODY-Tag..

Add "iedit" to any DIV-Container or section to make them editable.

Archived Versions:

These are old versions of this file. Please use with caution as they are probably out of date and no longer supported. ShowHide