Closed (fixed)
Project:
Cooliris (PicLens formerly)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2008 at 20:35 UTC
Updated:
12 Aug 2008 at 10:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
swentel commentedI'll play around this friday with the teaser / imagefield setup on my local machine. Can you describe a bit your setup ? (name of imagefield, views setup - if possible, try and export your views so I can import it into my views installation)
Comment #2
joncup commentedHere is my views export. Now, Im not sure if this makes much difference, I use the oaliquid view type, it should work same as the teaser view, in fact, I use oaliquid field view on http://test.DOMAIN.net/tree-moving (that works with current module) and oaliquid teaser on http://test.DOMAIN.net replace DOMAIN with "jony" to see the examples.
This view only shows views of type "tree" witch has a imagefield "field_tree_image", now heres the wierd part, I have the image field set to HIDDEN, it doesnt show in the view, I use node-tree.tpl.php to control what image cache profile should be shown depending on the users role. I dont think this should make much a difference as the imagefield should still be available to the view. I have tested with the current module with the thumbnail set to display in the content tree options and it still doesnt work.
let me know if you need more input, my email is joncup at gmail dot com, or use my contact form.
one more thing, this is the module i use for views output, oaliquid, http://drupal.org/project/oaliquid
this module is very cool, thats why my pages on test.DOMAIN.net look so cool, liquid layout and views fit into the screen size.
Comment #3
joncup commentedone more thing, maybe this should be a seperate issue but if you look at the piclens view for http://test.DOMAIN.net/tree-moving the favicon shows up on the top of the screen, but no site name
Comment #4
swentel commentedAh, it's probably because the views type isn't recognized by piclens.
Could you do a little test and open up piclens_views.module and go to line 160:
if ($view_type == 'teaser' || $view_type == 'node') {
Try changing it to:
if ($view_type == 'teaser' || $view_type == 'node' || $view_type == 'oaliquid') {
(note, the piclens_views code isn't the most ideal at this point, once everything works, Im going to refactor it big time)
As for comment #3, I'll add the <title> tag to the head of the rss feed and auto fill in the site name in the next commit (good catch btw).
Comment #5
joncup commentedThat was the first thing that I tried. I also changed the view to teaser type and still no luck, I even set the imagefield in the content type settings to show the image field in teasers. I'll give it a go again today some time and double check everything.
Comment #6
swentel commented@joncup, can you change the line
if ($view_type == 'teaser' || $view_type == 'node') {
to
if ($view_type != 'list' && $view_type != 'table') {
Did a quick test and runs fine and also other configurations keep working.
Comment #7
swentel commentedok so the line should be
if ($view_type != 'list' && $view_type != 'table' && $view_type != 'oaliquid_list') {
damn ,views support can be hard sometimes :)
Comment #8
joncup commentedHi swentel, I updated to the latested dev today, and even with the new changes as stated in #7 there is no change.
http://test.SITENAME.net/piclens/piclens_views/frontpage_new (replace site name with jony) still is funky, no file names, just the beggining of the path.
Unrelated to this issue, I noticed with another view I have, http://test.SITENAME.net/tree-moving (replace site name with jony)
This is a content type page with an embeded oaliquid list view. Mostly everything works, except...
The slideshow link doesnt start a slideshow, it just opens pic lens and shows all the thumbnails.
And there is no blue play button on the thumbnails on the page, pic lens light doesnt seem to function here.
Also I noticed one of the images, boxing_0213.jpg, does not load in pic lens, only the thumbnail. If you look at the mediarss the url for that file seems fine, you can even click on it in the feed and it loads great, but pic lens freaks out. That might just be an issue with piclens, not your module.
Comment #9
joncup commentedI think this error I'm getting is related... when ever i go to a view that uses piclens views module, I get a few diffrent errors..
Unknown column 'n.node_sticky' in 'where clause' query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE n.nid = '63' AND n.node_sticky = '0' AND n.node_created_created = '1214090051' in /var/www/htdocs/includes/database.mysql.inc on line 172.
Unknown column 'n.node_created_created' in 'where clause' query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE n.nid = '19' AND n.node_created_created = '1213335559' in /var/www/htdocs/includes/database.mysql.inc on line 172.
Comment #10
swentel commentedHmm, the sticky and created error are weird that they are there .. seems more like a views error (maybe related with oaliquid) - not sure yet. I'm going to investigate more this weekend and probably completely rewrite the views code of piclens. More news later!
Comment #11
swentel commentedI commited the new code (http://drupal.org/cvs?commit=129752) with the best views support I can think of now. Could you try it out when you have some time ?
Comment #12
joncup commentedwow, so far so good, working like a charm. good work.
Comment #13
joncup commentedJust one issue so far, the start slideshow link doesnt seem to start a slideshow. Other than that this is working great.
Comment #14
swentel commentedGreat!
Strange thing is, when clicking on the slideshow link, everything works great here:
Tested on ff 3 - linux (on this machine the lightbox from piclens launches cf screenshot), ie6 xp (flash piclens, cf screenshot), ie 7 on vista and ff3 on win xp (piclens launched fine)
There's a javascript error on ie6 on xp when clicking but it starts though .. Not sure why it doesn't work on you machine, maybe a popup blocker (or another toolbar in your browser ?).
But we are very close to a next (great) release, thanks for all the reports and testing!
Comment #15
swentel commentedMarking as fixed.
Once this is automatically closed within two weeks, a new release will be rolled out!
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.