Hi,
I've just changed gallererix version on my site to 5.x-1.2
There is no possibility anymore to create content to gallerix nodes, and add comments to gallerix nodes created with the former version create php error.
Thanks for your help
Hi,
I've just changed gallererix version on my site to 5.x-1.2
There is no possibility anymore to create content to gallerix nodes, and add comments to gallerix nodes created with the former version create php error.
Thanks for your help
Comments
Comment #1
silviogutierrez commentedYou may not comment on albums since the pictures are the content, not the album.
However, if you want per picture commenting, take a look at the Gallerix Widget Engine.
Hope that helps,
Silvio
Comment #2
pgi commentedHi Silvio,
First, thanks for your Gallerix Module, is perfect for uploading pictures into a Drupal Site.
I'm not sure to understand your response. Is it a bug in my site (for exemple the comment module that is doing wrong his job) or this feature is not present anymore into the Gallerix module ?
Because a per album comment is just perfect for what I need.
Thanks for your response
Pierre
Comment #3
silviogutierrez commentedPierre,
This isn't a bug in your site, I turned off commenting to avoid strange behavior. This is because comments in Drupal use anchor tags (#) to mark their location, and Gallerix uses anchor tags to remember what picture is being viewed.
If you want to try commenting (at your own risk), try commenting the following code on line 898:
However, I can't guarantee it'll work.
Silvio
Comment #4
pgi commentedHi Silvio
I tried what you said, and I have error when I try to put a comment, but the comment is registred well.
It seems to be an error in the node module : the function which populate a node
If you can help
Thanks for your answer
P.S.
The gallerix module doesn't work with the related content module (http://drupal.org/project/relatedcontent) when you attach more than one Gallerix node to another node : the pictures dont load. Do you know this issue? Is it necessary that I post a bug in the tracker?
Comment #5
pasa commentedPierre ..
Did you leave comments activated and just ignore the logged errors? or did you find a workaround?
Comment #6
pgi commentedHi,
I still got this problem. I found some kind of workaraund to put drupal's comments to album (not a single picture) but it's not perfect : I still have warning messages.
With the module "related content" (http://drupal.org/project/relatedcontent) I link a blog node with a gallerix node : the gallerix album appears with the blog node. Comments can be put for the node and will appear after the blog node and the gallerix album. BUT, I still got the warning message when the comments are published... The warning message disappear after.
I don't know what is the best solution : enable comments for gallerix albums or use the workaround with relatedcontent...
I don't think the gallerix widget is a good solution for this problem, because it doesn't use the drupal way for comments : cannot do the "latest comments" block for example...
Finally, I think the feature of comments for albums should be enabled in the core module of Gallerix.
Pierrot
(scuse my french :-) )
Comment #7
littledragon commentedOtherwise, you can replace the lines by :
No anchor, no problem ;-)
Comment #8
AlexisWilke commentedAdding a note here: I did turn the comments back on in the development version (6.x-1.x-dev).
I'll be changing the JS at some point to remove the use of the # to access an image. Instead, we can use the query string (which is already supported, but the JS changes it back to #). This will break some links, but that's a good fix for 2 reasons:
1) the comments will work as expected, and
2) the favicon will not disappear on FireFox, SeaMonkey.
Per picture commenting may be added if someone supplies a patch. See here: #929950: Comments for individual images
Thank you.
Alexis Wilke
Comment #9
AlexisWilke commentedChanging the title so it reflects the need for the next step in 100% allowing comments in Gallerix nodes.