zikula-modules / clip Goto Github PK
View Code? Open in Web Editor NEWFlexible Document Creator
Flexible Document Creator
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.
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 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:
Looks like a problem with the tables prefixes.
Refactor Clip for Doctrine 2.
Check if the required indexes on PIDs and others are setup
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.
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.
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:
Now, after the upgrade error, the tables are called:
JS calendar working fully?
time not saved
output customization examples, i.e. just month-year
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
it would be nice to have xml, printpub and printlist templates.
Sometimes is very useful to have a clean template without html tags
:)))
-arkanoyd
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.
It would be nice to have a download function (comparable with download function of MediaAttach).
Background:
Do you understand me?
What do you think?
Shouldn't be a huge problem, right?
To setup initial data and to choose to create manually or not the temp folder and its path, etc.
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?
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
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.
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?
To reproduce the bug:
If I disable the cache for the Clip module, the problem disappears.
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
Be able to use multilanguages.
Same PID but double field to set title in french (for exemple) and in english
The authors must be able to see all their publications when edit own is enabled.
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.
create a plugin for duration
for instance 1H30
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!!!
Fresh installation:
URL: /index.php?module=clip&type=editor&func=list&tid=2
Errors:
This feature allows pubtypes to become hook providers.
A pubtype could then become a comments provider for example.
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".
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.
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
Be able to check multiple checkbox to concatenate multiple field to set the title and then make a ShortURL like that :
www.site.com/MyTypeOfPublicatioName/First-Field-then-Second-Field-then-Third-Field.html
to be use like :
www.site.com/Contacts/FirstnameField-LastnameField.html
-Starguezer
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.
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
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
Couldn't find class ClipModels_Pubdata1
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.
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.
<a class="z-bt-new" title="Create a new publication type" href="javascript:Zikula.Clip.Ajax.Request({'tid':0}, 'pubtype', 'ajax')">
I have found that entering any date into a publication's expiry date field causes it to go offline, even if the expiry date is far into the future.
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.
Workflows actions, operations and statuses needs to be reviewed for consistency
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.
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
Be able to navigate the pending content only
When I am logged in as an administrator and click on Approve for a given publication, I get an error:
Error! Failed to update the publication.
Need the possibility to clear the files manually
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
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.