Giter Club home page Giter Club logo

2sic / 2sxc Goto Github PK

View Code? Open in Web Editor NEW
140.0 31.0 37.0 180.21 MB

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)

Home Page: http://2sxc.org

License: MIT License

JavaScript 0.18% C# 96.27% CSS 0.10% HTML 1.04% ASP.NET 0.19% Batchfile 0.10% TSQL 2.07% PLpgSQL 0.04%
dnn dotnetnuke eav cms cms-framework cms-frontend content-management tinymce dnncms dnn-2sxc

2sxc's People

Contributors

2sicprogrammers avatar bdukes avatar benifreitag avatar christophbuehler avatar gwendolinepouet avatar ijungleboy avatar pagnodunadan avatar raphael-m avatar scullman avatar tobias2sic avatar tvatavuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

2sxc's Issues

Version history dialog for entities does not work on non-ML sites

Version history does not work on non-ML sites because no defaultCultureDimension is set.

Stack Trace:
DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: GetEntityVersion without defaultCultureDimension is not yet supported.
   at ToSic.Eav.EavContext.GetEntityVersion(Int32 entityId, Int32 changeId, Nullable`1 defaultCultureDimension)
   at ToSic.Eav.EavContext.GetEntityVersionValues(Int32 entityId, Int32 changeId, Nullable`1 defaultCultureDimension, String multiValuesSeparator)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
   at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
   at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
   at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
   at System.Web.UI.WebControls.GridView.DataBind()
   at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
   at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace --

Number field template: Localization issue

The field template for type number does not work correctly when multiple languages are set up in 2sxc. Steps to reproduce:

  1. Setup 2sxc with multiple languages (for example, de-DE and en-US)
  2. Create a content type with a number field
  3. Open the dialog to create a new entity for the new content type (in de-DE)
  4. Enter 12,6 into the number field
  5. Save the entity and open it again. The value has changed to 126.

Another issue is that if someone enters 12,.13 into the number field, it will be saved, but the entity is not editable anymore.

Visual hints for reordering list-items are not intuitive

Many customers do not find out how to reorder list-items intuitively:

  • They can't see the dashed line (appears while dragging where the item will be dropped)
  • They don't recognize the dots as drag'n'drop functionality

Maybe we can improve this?

dnn 7.3 and 6.1.2 2sexycontent

I'm getting the following error when trying to upload a example application.

Could not import the package. Could not load file or assembly 'SharpZipLib, Version=0.81.0.1407, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

There was a SharpZipLib.dll in the bin folder, but i had to remove it because of a upgrade error because dnn supllied a new ICSharpCode.SharpZipLib.dll and it was conflicting with the sharpziplib.dll

Re-label the inline edit buttons

Just re-label: The edit button is now only “is published” - a bit strange. “Edit (published)” would be better and “Edit (unpublished)

Place quick-access to settings/resources in the Admin-area

Create new Tab "App Config"

Note: just add this new tab/dialog; don't change the Apps-Management dialog yet.

With the following text/functionality.

Title: Configure the App and special App-Settings here.
subtitle: App Resources
Resources are used for labels and things like that in the App. They are usually needed to create multi-lingual views and such, and should not be used for App-Settings.

  1. (button) Edit App Resources
  2. (button) Configure App Resources (+ help text) configure which resources exist for this App

subtitle: App Settings
Settings are configurations used by the app - like SQL-connection strings, default "items-to-show" numbers and things like that. They can also be multi-language, so that a setting (like default RSS-Feed) could be different in each language.

  1. (button) Edit App Settings
  2. (button) Edit App Resources (+help text) configure which settings exist for this App

Subtitle: App Definition
(button) Edit App Definition

Subtitle: Export this App
(button) Export App

Timepicker only

It would be useful if the DateTime could be Timepicker only. This could be useful in countless situations.

Inline template selection, maybe AJAX when selecting templates etc.

  1. Show the new template / view without postback.
  2. Don't save the change, till it's "finalized" - by pressing "save". Till then it's just temporary, and other user don't see the template change.
  3. Pressing x would cancel
  4. When the user want's to switch an existing template, it should offer him that option when he selects "Change Template/Layout" in the edit-menu (previously "Change Layout or Content"). So the same bar should appear again, and allow him to look around till he presses save/"x"

Note that this could cause some issues with

  • JavaScripts which are included (do they run at all?) - note that in this mode, the enable-optimization would have to be ignored and the JS would have to be included as the

Errors when installing an app should show more infos

Just recently wanted to install an App, but the target folder had already existed. The server error just says something went wrong, it would be better if...

  1. the error would say a bit more (like the most common errors explained)
  2. tell the user that he might discover more about the error if he visits the event log

Typical errors that could be output

  1. If a download error occurs (trying to get the app)
  2. if something is wrong in the unpacking-phase (while looking at the zip-content)
  3. if something went wrong creating the folders in the 2sxc section

Refactor creating the list of Configuration-Provider

Configuration-Provider has still some issues:

public static ConfigurationProvider GetConfigurationProvider(App app)
{
        var configurationProvider = new ConfigurationProvider();
        configurationProvider.Sources.Add("querystring", new QueryStringPropertyAccess());
        configurationProvider.Sources.Add("app", new AppPropertyAccess(app));
        configurationProvider.Sources.Add("appsettings", new DynamicEntityPropertyAccess(app.Settings));
        configurationProvider.Sources.Add("appresources", new DynamicEntityPropertyAccess(app.Resources));
            return configurationProvider;
}
  • If a pipeline needs multiple parts, the providers is always re-created: not required
  • Can't be static because it should be created once per module
  • Should have module, user, profile, tab, portal as sources

App-Export not stable yet

When exporting an app as ZIP file, the downloaded file is sometimes corrupt (or the browser shows error "Could not be downloaded").

Default content templates don't install the demo-images

Tried the default content templates - when switching through them, no demo-images appear (all are "unfound images")
Reason: the link in the records points to /Portals/0/... (and not File:27) - so the files are actually imported, but if you do this on any other portal than Portal 0, they won't show up...

Finish adding template / view without having to add real content

Enable hiding the “select type/template” without having to enter data at all (for deco-elements and such)…

Goal: add a small "x" button which "finishes" the module and will then hide the blue change-bar forever

Note: this will need the additional ability to add this bar again, this will be related to the issue #45

Error when installing the demo apps

Make sure that the demo apps install without an error (sometimes an error occurs like Could not remove directory: it is not empty - which could be the Temporary directory inside the module folder)

Enable views/templates without content

Provide an option in the template configuration to explicitly NOT have content. So if that template is finalized, the user can't even edit it - there is none.

Used for design elements or apps/views without any configuration.

  • Call it < layout element without content type >
  • in the select-content-type drop-down, add an item "Layout element" "Gestaltungs-Element" - place it in normal a-z order
  • please add a shadow-line (like on 2sic) to our default templates for distribution

Fix content-export dialog

Export of Content – Selection Dialog causes many problems. Fix either w/JSON+Table or just replace Telerik with other WebForms table

Use an efficient, quick fix as it will be refactored more extensively some other time.

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.