Giter Site home page Giter Site logo

clip's People

Contributors

cmfcmf avatar craigh avatar espaan avatar groessing-net avatar guite avatar hilope avatar hvorragend avatar ifs-net avatar matheo avatar philbau avatar rgasch 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

Watchers

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

clip's Issues

Relations and ids

using Clip (version from 13/09/2011), while entering:
{clip_array array=$pubdata.ProjectTitle->toArray()}

1: in the display template I read the second array entry:
[id] => 33

it doesn't correspond to any valid id and seems to be equal to "core_pid +1".

2- On the other hand, we missed the publication type id.

HTML validation errors in example form

Fresh installation:

URL: /index.php?module=clip&type=user&func=edit&tid=2

line 170 column 63 - Fehler: there is no attribute "alias"
line 170 column 78 - Fehler: there is no attribute "tid"
line 170 column 86 - Fehler: there is no attribute "pid"

<label for="clip_clipmain_2_0_title" alias="clipmain" tid="2" pid="0">Titel<span class="z-form-mandatory-flag">*</span></label>

line 176 column 134 - Fehler: there is no attribute "maxLength"

<select id="clip_clipmain_2_0_category" name="clip_clipmain_2_0_category[]" class="z-form-dropdownlist" maxLength="">

line 215 column 163 - Fehler: there is no attribute "mandatory"
line 215 column 176 - Fehler: there is no attribute "maxLength"

<input id="clip_clipmain_2_0_displayinfo" name="clip_clipmain_2_0_displayinfo" type="checkbox" value="1" class="z-form-checkbox" mandatory="" maxLength

PageMaster upgrade bugs

PageMaster 0.4.2 => Clip 0.4.19

Error:

Could not load the 'extensions' module at 'upgrade'.
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.clip_pubtypes' doesn't exist. Failing Query: "SELECT c.tid AS c__tid FROM clip_pubtypes c"

After this error I have the following tables in my database:

  • clip_relations
  • demo_clip_pubfields
  • demo_clip_pubtypes
  • demo_pagemaster_pubdata1

Looks like a problem with the tables prefixes.

Upgrade path from Pagesetter

Please provide an upgrade script to migrate the pagesetter tables to Clip.
The other problem with migrating is pagesetter stores images in *.dat files, so we need a way to convert them to image files [gif, jp[e]g, png].
And example: "image/gif|1788|1x0x1xlogo.dat|uploaded_image_name.gif".
Remember, the path to the *.dat files are never the same [the path was editable in PS amdin section].
Now I think of it, it also handled any file upload [if permission was ok], those files were also stored in the same folder.

Notify event/hook support

Pagesetter supports notification emails on changes.
For this feature, pagesetter has the feature to enter a dynamic workflow property (in this case used for the email address)
The workflow system of zikula does not support this.
A adequate solutions has to be found, its very important to have such a email/notification functionality.

Upgrade from PageMaster 0.4.2

How can I upgrade from PageMaster 0.4.2 to the latest Clip version?

After deleting PageMaster in the /modules directory and uploading Clip, I have seen a possible Clip upgrade in the Extensions module.

But the following error occurs if I try an upgrade:

Could not load the 'extensions' module at 'upgrade'.
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db123.clip_pubtypes' doesn't exist. Failing Query: "SELECT c.tid AS c__tid FROM clip_pubtypes c"

First my tables look like this:

  • pnde_pagemaster_pubdata1
  • pnde_pagemaster_pubdata2
  • pnde_pagemaster_pubfields
  • pnde_pagemaster_pubtypes

Now, after the upgrade error, the tables are called:

  • pnde_clip_pubdata1
  • pnde_clip_pubdata2
  • pnde_pagemaster_pubfields
  • pnde_pagemaster_pubtypes

Plugin: Date

JS calendar working fully?
time not saved
output customization examples, i.e. just month-year

Search API and Result customization

In search result, you ve got only the url/core_pid/tid which is quite light (as we have access to the whole publication during the search).

the goal of this feature would be to add a system to customized the search result,
i think it was possible to serialiazed the whole pub in $extra , but this field is too small to allow that.
perhaps it would be possible to define a plugin to do like this

class search_plugin_ extends search_plugins
{
function getText($pub) {
return $pub['textfield1'].$pub['textfield2'];
}

function getTitle($pub) {
return $pub['title'].$pub['complement'];
}
}

where search_plugins is an abstrakt class with two methods function getText($pub) and function getTitle($pub)

-Mumuri

Templates generator

it would be nice to have xml, printpub and printlist templates.
Sometimes is very useful to have a clean template without html tags
:)))
-arkanoyd

Filter options per pubtype

Find a nice way mixing JS and Ajax to let the user create his own filters based on the searchable publication fields.

Use the filterable pubfield feature.

Download function

It would be nice to have a download function (comparable with download function of MediaAttach).

Background:

  • I created a new pubtype called "Downloads" with a "file upload" field.
  • the filename of the uploaded file was changed and contains random characters
  • if I try to download the file, it is not possible to get the original filename

Do you understand me?
What do you think?
Shouldn't be a huge problem, right?

Interactive Installer

To setup initial data and to choose to create manually or not the temp folder and its path, etc.

Clip whitescreens on installation

I get a whitescreen when I try to install Clip. I am using a very recent download of Clip, since there hasn't been any commits since early September I'm sure I am on the most current. I have tried various versions of Zikula 1.3.1, including #66 from http://ci.zikula.org/job/Zikula_Core-1.3.1/, and I also tried the downstream build Zikula_Standard-1.3.1-1 that included it's own copy of Clip, in case there were changes.

I am using php 5.3.6.

This is on a fresh installation, no artifacts from previous installations.

Is there a known combination of Clip and Zikula that works?

Error after drag&drop a group item in the index page

I just moved "Pages" and "Blogs" around and then I see the following JS error dialog:

E_WARNING: array_diff() [<a href='function.array-diff'>function.array-diff</a>]: Argument #1 is not an array in Ajaxexec.php Zeile 17

Integration with other modules

I´m curious if it's possible to get some important plugins.
I´m trying to get a functional site using pagemaster, mediaattach, content modules, blanktheme theme in a zikula 1.0.2. installation.
I think this packs are the basis for a good enterprise CMS. In my work I found that are many powerful utilities in this applications but there are difficulties to integrate them in a useful way.
I want to ask you if you can to considerate the way to implement two plugins to get this in some fixed way.
First is the mediaattach plugin, maybe somelike mediaattach content module plug, which is very usable not like pagesetter mediaattach plug.
Another important plug can be for including list and pub in a content module page. Maybe is not here when i must to ask this, but the content developer says content plugins are easy to create for a programmer.
thank you.

Search block issue

I am testing the last version of Clip and am having troubles configuring the search block options.
Check boxes are available to specify a search on publication types or not but when I save the settings the result is always that all the options are checked.
Is it a bug or a feature?

Theme cache issue in editors form

To reproduce the bug:

  • Activate "Theme cache"
  • Edit one publication, save the form, the view is correct showing your changes
  • Click on the Edit icon, now the form fields don't reflect your changes.

If I disable the cache for the Clip module, the problem disappears.

Unable to set Editors Group Permissions

I have tried several permission schemes, but none were functioning:

Editors | Clip:list: | :: | Edit
Editors | Clip:[\d]+:edit | :: | Edit
Editors | Clip:: | :: | Delete

I need to comment out the security check : line 78 : $this->throwForbiddenUnless(Clip_Access::toPubtype($pubtype)); in
lib/Clip/Controller/Editor.php

The error message is:

"Access denied (error 403)
Sorry! You don't have authorisation for the page you wanted.
Additional information
Could not load the 'clip' module at 'list'. "

Philippe

Multilanguage

Be able to use multilanguages.
Same PID but double field to set title in french (for exemple) and in english

Editor panel issues

The authors must be able to see all their publications when edit own is enabled.

Publication urltitle handling

URLs generated in the templates that use the permalink modifier generate an mb_string error, making them unusable. The link actually becomes the mb_link error, not an actual URL.

Scribite editor selection

After properly setting up Scribite to use NicEdit as the overall default editor and the editor of choice for PageMaster, PageMaster still loads Xinha. All of the necessary settings in Scribite have been made so that NicEdit is configured as the editor to use in all PageMaster textareas. NicEdit loads correctly in other modules as tested, such as, Pages, Profile and News, which is why I am led to believe that PageMaster is the module that has the bug.

The Bug is in file modules/PageMaster/classes/FormPlugins/pmformtextinput.class.php atline 46. There is the editor "Xinha" hardcoded. If you delete this line, the editor choosen in Scribite works fine!!!

Error 404 in: Pages » Editor's List

Fresh installation:

URL: /index.php?module=clip&type=editor&func=list&tid=2

Errors:

  • Could not load the 'clip' module at 'list'.
  • Unknown record property / related component "orderby" on "Clip_Model_Pubtype"

Remove special chars on pubfield ID

I didn't pay attention to the name choosen to fill the pubfield's name and typed "Page title" in it. Of course, it generated smarty errors when I tested the generated form template.

the generated code was: {formlabel for='Page title' text=$pubfields.Page title.title|clip_translate mandatorysym=true}

remove special chars when creating the field (or add validation), and add a note saying smth like "Do not use special chars as this field is used in templates".

Add publication "preview" to Editor List

I think there should be a link to view the "public" version of the data on the Editor list. This will likely be the first place an editor will see a new publication, and the public view of the pub is often the best place to see mistakes or problems.

Import API

About 6 years ago I wrote a module (pgImport) that imports, or perhaps rather synchronizes, data in an external database with the publications belonging to a specific publication type. Perhaps a similar facility would be valuable in pagemaster? Or perhaps in a separate pmImport module?
The admin interface allows defining a connection string, primary key, username, password, email address for reporting problems, and a switch to allow for (cron based) automatic synchronizing. Furthermore there is a facility to map selected elements in the SQL query to pagesetter fields.
The module keeps an md5 hash of the contents of each query result linked to the primary key and thus decides if a publication needs to be created, updated, or deleted. -dits

Hooks not working

The form_edit hook appears to work, but the display_view and other hook handlers do not appear to work. On editing the Clip entry (I was using the blog type), the original values are not available. I would guess that either the validate_edit or the process_edit isn't firing correctly and therefore the values are not stored and that is why they are not shown (display_view) or available later for editing.

Template generator saving to the filesystem

Hi,
it would be great if the template code could be saved directly into the pubtype dir if the user allows this and he/she sets the permissions. Not a big deal of course, but just a usability enhancement.
-espaan

Edit own issues

When workflow is "none", "Edit own" box is checked, users with "GROUP | Clip:[\d]+:edit | Edit" permission can edit, submit but not delete their own pub. Even if we grant delete permission, we get an error:
PHP Fatal error: Call to a member function getSchema() on a non-object in .../modules/Clip/lib/Clip/Workflow.php on line 113, referer: https://.../index.php?module=clip&type=editor&func=list&tid=4

Export Package

As well as the standard schema, is would be nice to have selected templates packaged with the schema. Perhaps even the option to include a the uploaded files of the Publication type.

Truncate pubtype

It would be nice to have a facility to truncate a publication type.

The implications are wider than just truncate the table.
Have to delete the related workflow registries and hooks too.
Clean the system and then reset the pubtype data.

ztemp/ClipModels not created dynamically

The folder ztemp/ClipModels should be recreated if it doesn't already exist. Clip tries to recreate the entity class files if they are missing, but if the folder is missing it fails as currently this folder is only created once at installation time. Please note that the ztemp/doctrinemodels folder is recreated dynamically if it's deleted by accident.

Config settings for default publication type

If you use {Clip} inside the ExtMenu or Menutree you see the following error if you click on the menu item:

Error! Invalid publication type ID passed [].

I think that we should have a config settings for a default pubtype.

Important, because the core menus can create a list of all installed modules and the Clip link isn't usable without this setting.

Plugins: Users & Groups

Please can you considerer to include relations to specific users or groups, creating a way to assign certain pubtype or pubID and grant some special permissions in this assignment.

Thanks

Plugin:URL

It would be nice to extend URL plugin to accept external URL too.
Add a field to enter the label and the title or use a special field format like:
http://myurl.com:My Label:My URL Title

Single click features

Add ability to have a publication created with a single click.
Publication fields would populated with pre-defined values, embeded in the link or some other magic method.
Uses would be: Voting, Rating

Edit Form rework

It needs consistency changes
but also some extension to support the handling multiple publications in the same form
as with relations this became required to be able to connect the pubtypes completely.

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.