lossendae / cliche Goto Github PK
View Code? Open in Web Editor NEWA media manager for MODx Revolution
A media manager for MODx Revolution
When attempting to upload images through firefox 8, the uploader gives a unsupported filetype error. According to Mr. Hamstra this is due to qqfile value not being passed
Everything is on the title.
Cliche + Fancybox plugin seems doesn't work with the last jQuery version.
Hello,
is it possible that you add a link to this github repo to the Cliche Wiki on rtfm.modx.com
http://rtfm.modx.com/display/ADDON/Cliche
It took me a while to find out who's the creator of this fine plugin and to find out that there is a repo on GitHub to report bugs.
Thanks,
Martin
Hi,
I'm having problems implementing Cliche. When I use it , I have a tabbed menu that stops working ... I believe it is a javascript conflict ... Any idea as to how I can solve this ?
I have a first element that could help .... If I place my javascript at the bottom of the page I get my tabbed menu working fine but then it is lightbox that does not work anymore ....
Any help will be appreciated ! Many thanks
When installing the package it's installing but i noticed some errors, i had to install it by hand here from github.
Hi
I have this (debug) error message when loading Cliche in Manager (ie click on Cliche under Components in menu of Manager)
Notice: Undefined index: debugUser in C:\wamp\www\revo22\core\components\cliche\model\cliche\cliche.class.php on line 106
This can be implemented?
http://fancyapps.com/fancybox/
Version 2 is completely rewritten with new features and updated graphics.
Notable changes
With a clean installation of the new MODx version 2.2.1-pl (traditional), both the manager and the site itself show various notification messages of undefined variables (such as $siteSettings, $config or $debugUser.
Here I go again. Using ClicheAlbum snippet call results in error:
Notice: Undefined variable: controllerName in C:\xampp\htdocs\decoracryl\core\cache\includes\elements\modsnippet\96.include.cache.php on line 23
and the message in the bottom "[Cliche] Album not found"
but the album exists.
I use this simple call:
[[ClicheAlbum?
&id=1
]]
[[Cliche]] constantly shows 1 photo with id 6
[[ClicheItem?
&id=6
]]
doesn't show anything at all
And 1 small question:
Ρan I disable adding jquery in code, because I already have one
At my work we have a problem with uploading images with macintosh.
Seems to get stuck at 1 image, have to delete it manually.
On pc we have no problem.
//
Isn't it a bit weird every image is saved into a map?
Hi, like the description says, the variables are added to the url string, but the page seems to just reload with the new URL.
This is the page where I'm trying to show the gallery.
1)Is there a way to put Cliche into a placeholder? e.g.: [[!Cliche? &toPlaceholder=overview
]]
When I use Cliche with the browse element (&view=albums
&browse=2
) then I get the overview, but on the second page of the album the photo doesn't open in a fancybox but on a new page.
the next/prev button is not working on fancybox
there's a new version of fancybox (version 2), is it possible to use this? Or will it be in the next update?
Thx for help.
Couple question about Cliche caching?
I use pthumb most of my images. It have its own caching. Cliche is creating own cache too in components folder.
Is there a way change cache location or/and settings about Cliche caching?
Hi,
Nice addon, thanks :)
It's missing a usefull placeholder (or it's undocumented) to use the rel attribute on a fancybox gallery : [[+albumid]]
I want to navigate inside the gallery by using this kind of Tpl :
<dl class="item">
<dt class="album-icon">
<a class="zoom" title="[[+name]]" rel="album[[+albumid]]" href="[[+image]]">
<img width="[[+width]]" height="[[+height]]" title="[[+name]]" alt="[[+description]]" class="attachment-thumbnail" src="[[+thumbnail]]"/>
</a>
</dt>
</dl>
Is existing a placeholder to doing this, or can you implement it in future version ?
I noticed i got this error saying the file is to large.
I uploaded a zipfile with only a filesize of: 2826.6 KB
I have a hosting where I installed Cliche.
I had to change the upload size because bigger size as +/- 1 MB gave message, filesize is too large.
Did the change* but now the upload bar does weird stuff.
Goes very gast to 98%, then it sticks to 99% and doesn't say it's done while it actually is.
It does upload the files.
/core/components/cliche/model/cliche/helpers/fileuploader.class.php
about line 44:
$this->config['sizeLimit'] = $this->modx->getOption('sizeLimit', null, 92097152);
increased the number
Hi,
I'm loading manually the last of jquery.js and I'm looking for a way to disable the load by cliche.
How can I do this ?
I have a user that doesnt understand how to rename file extensions and her camera is naming the files as IMG_XX.JPG with an uppercase JPG. If I rename the extension to .jpg it works fine but .JPG will cause the gallery that the file is being uploaded in to crash and not display anything in the manager/upload tool. this is the error message created when trying to upload the uppercase file extension file:
undefinedjpg,jpeg,gif,png,zip
I have been looking all over for references to allowed filetype extensions and have found a few references, but even adding JPG to the list, it still doesnt work.
I always use fancybox for popup, i like to use options like:
<script type="text/javascript">
$(document).ready(function() {
$("a[rel=fancypop]").fancybox({
'titlePosition' : 'over',
'transitionIn' : 'none',
'transitionOut' : 'none',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>';
}
});
});
</script>
Can this be integrated?
// Next / prev image option should be basic.
Is it possible to include the "resize" function of plupload (client-side resize)?
Sending smaller files to server would be great. It would be very convenient for clients.
Getting this error when trying to view a resource in modx that have album call:
Error "Fatal error: Cannot redeclare class PhpThumb in /home/.."path"../core/components/cliche/model/cliche/helpers/phpthumb/PhpThumb.inc.php on line 46"
Modx 2.2.10
Php 5.3
phpThumbOf 1.4.0
http://sebastianzahn.com/clientes/cg/proyectos/residenciales/green-village.html
Any help will be welcome, thanks!
I'm looking for a way to add a new plugin to Cliche : colorbox
Is someone know the differents steps to do this ?
When I start Cliche I get this ERROR message. I can't even create an album.
Cliche: 1.1.0 RC1
MODX Revolution 2.2.9-pl
ERROR MESSAGE:
Unexpected token <:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at mywebsite.com Port 80
Hello,
This component seems really great. Especially I'm loving the manager.
But I don't quite understand how to get fancybox or gallerific to work.
I tried using
[[!ClicheAlbum?
&id=your_album_id
&thumbWidth=75
//Or any width
&thumbHeight=75
//Or any height
&display=galleriffic
//Required
&config=config
//Required
&css=style
//Required
&columns=0
//Required
]]
for gallerific but that didn't work.
I understand that I must load jquerry myself, but that I have already done, since I have other elements that rely on jquery,
I noticed that there is no "rel" attribute on .
Hello, I just wanne know if there's still progress on Cliche or has this project stopped? I love this plugin, but see that it's still onder RC and there are still some problems with the manager (like upload not working in IE for example). So is this still a good plugin to use or should I better use Gallery, migx or something else?
Using 2.2.0-pl2 (advanced) and Cliche 1.0.1 beta3.
When I try to create an Album it won't apear in backend and it keeps showing me that its loading... but nothing happens.
I think the album was created since I wanted to create another one with the same name and it told me that it already exists
Hello. After upgrade to 1.0.1 RC 2 or RC3 "Browse.." in image uploader stopped working. I try to click on it from two different browsers, but it does nothing. Thanks in advance.
modx 2.2.7-pl
cliche 1.0.1-RC5
cant't upload any Files
fileuploader.class.php line 59
I think it should be if ($postSize > $this->config['sizeLimit']) instead of
if ($postSize < $this->config['sizeLimit'])
[[!ClicheAlbum?
&id=your_album_id
&thumbWidth=75
//Or any width
&thumbHeight=75
//Or any height
&display=galleriffic
//Required
&config=config
//Required
&css=style
//Required
&columns=0
//Required
]]
should have &display changed to &plugin
As we talked on gtalk , i am adding those feature requests to here:
Thats that for now! I will add some more when i think of!
Regards, yuka\donnieyeen
So I have:
[[!Cliche? &id=1
&view=album
&thumbWidth=170
&thumbHeight=170
&itemTpl=pf.AlbumItem.tpl
]]
My pf.AlbumItem.tpl chunk is not being read. In my chunk I have a class="colorbox". In my output I am seeing class="zoom". I have no idea where it is pulling that zoom from but I even manually edited both item.tpl and itemzoom.tpl on the server to zoom1 just to see if it would change and it didn't.
I know my Cliche call is working because if I change the width and height, it is reflected in the output. Something is bypassing the itemTpl call.
Just installed it on ModX 2.2.6.pl
PHP Version 5.2.17
Linux tux177 2.6.36.3
client: win8
Not sure if it is my issue of cliche.
I wanted to upload images to a new album. I get the error (via Network tab):
Fatal error: Uncaught exception 'Exception' with message 'Image file not found: /...beta/assets/components/cliche/albums/1/dsc_5096.JPG' in /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php:193
Stack trace:
#0 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php(172): ThumbBase->triggerError('Image file not ...')
#1 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php(110): ThumbBase->fileExistsAndReadable()
#2 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/GdThumb.inc.php(96): ThumbBase->__construct('/home/www/web25...', false)
#3 /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbLib.class.php(127): GdThumb->__construct('/home/www/web25...', Array, false)
#4 /...beta/core/components/cliche/model/cliche/cliche.class.php(131): PhpThumbFactory::create('/home...', Array)
#5 /ho in /...beta/core/components/cliche/model/cliche/helpers/phpthumb/ThumbBase.inc.php on line 193
the images get uploaded, but cliche doesnt find them,
I solved it by renaming the file extensions on the server to uppercase. (jpg to JPG).
cheers
Feature?
Is there a way to let it remember the page where u came from?
Or show the whole album list?
Just to make things better.
I've got this error in the header of Album manager on fresh install:
Strict Standards: Redefining already defined constructor for class ClicheAlbums_mysql in C:\xampp\htdocs\modx\core\components\cliche\model\cliche\mysql\clichealbums.class.php on line 10
And creation of the albums doesn't working.
MODX Revolution 2.2.1-pl on XAMPP
PHP 5.3.8
MySQL 5.5.16
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.