Giter Club home page Giter Club logo

entry_versions's Introduction

Entry Versions

WARNING: Experimental and unsupported. This is just a prototype idea.

Cache a version of an entry each time it is saved for a full edit history. Recover an entry and re-publish it, and view full content history in Data Source XML.

Installation

  • extract the entry_versions folder to your /extensions directory
  • enable the Entry Versions row in the Extensions page
  • add the Entry Versions field to a section

entry_versions's People

Contributors

dtan avatar makenosound avatar nickdunn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

entry_versions's Issues

Creating new section throws error

Ok, this one i'm not really sure what to do here. When I go to create a new section, I get this error:

Symphony Warning: Missing argument 1 for fieldEntry_Versions::__construct(), called in /site/symphony/lib/toolkit/class.fieldmanager.php on line 534 and defined

An error occurred in /site/extensions/entry_versions/fields/field.entry_versions.php around line 8

3     require_once(EXTENSIONS . '/entry_versions/lib/class.entryversionsmanager.php');
4     require_once(EXTENSIONS . '/entry_versions/lib/class.domconverter.php');
5     
6     Class fieldEntry_Versions extends Field{    
7         
8         function __construct(&$parent){
9             parent::__construct($parent);
10             $this->_name = __('Entry Versions');
11             $this->_required = false;
12         }
Backtrace
[/site/extensions/entry_versions/fields/field.entry_versions.php:8]
    GenericErrorHandler::handler();
[/site/symphony/lib/toolkit/class.fieldmanager.php:534]
    fieldEntry_Versions->__construct();
[/site/symphony/content/content.blueprintssections.php:229]
    FieldManager::create();
[/site/symphony/lib/toolkit/class.administrationpage.php:602]
    contentBlueprintsSections->__viewNew();
[/site/symphony/lib/toolkit/class.administrationpage.php:559]
    AdministrationPage->__switchboard();
[/site/symphony/lib/toolkit/class.administrationpage.php:413]
    AdministrationPage->view();
[/site/symphony/lib/core/class.administration.php:228]
    AdministrationPage->build();
[/site/symphony/lib/core/class.administration.php:381]
    Administration->__buildPage();
[/site/index.php:25]
    Administration->display();

This is with sym 2.3

Meta xml is blocking extension page from rendering

With a fresh symphony 2.3 install, the extension.meta.xml file is throwing the following error:

The extension.meta.xml file for the entry_versions extension is not valid XML: 
Missing default namespace definition.

I ran the xml through a validator and it found no errors. I just installed a bunch of other extensions, some of which did not have the extension.meta.xml file and some that do. When I remove this extension completely, the Extensions page renders correctly.

Multiple Checkbox's Added

Multiple Checkbox's Added when using Save and Return/New Buttons Extension.

FIX:

File: entry_versions.publish.js
Line No: 55

Change:


To:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.