Skip to main content
Commonmark migration
Source Link

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

###What I am doing

What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Update

Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this.

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I don't think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of Drupal fun!

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this.

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I don't think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of Drupal fun!

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this.

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I don't think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of Drupal fun!

Tweeted twitter.com/StackDrupal/status/838086331825811456
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
removed "Drupal" from the title; removed tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 7 Ajax to Load & Interactand interact with one Nodes Commentsa node comments from its Related Nodetheir related node

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this.

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I dontdon't think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of drupalDrupal fun! Yay! lol

Drupal 7 Ajax to Load & Interact with one Nodes Comments from its Related Node

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this.

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I dont think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of drupal fun! Yay! lol

Load and interact with a node comments from their related node

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this.

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I don't think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of Drupal fun!

Bumped by Community user
Bumped by Community user
Bumped by Community user
added 33 characters in body
Source Link

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got many things that are alreadyit working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Current Status###Update

I am trying all angles to bring in the comments. Using pure jquery, as I've tried, returns too much forcing a whole node to load to just pull out the comments. Now I have finally figured out the menu callback system. I had no idea that was even there! Iadded one possible solution below but am playing around with that nowgoing to see what I can bring in that waytry and figure out some other/better ways of doing this. Also, 

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

###Update I've got it working,I suppose now my question remains what is the best way to do this? Even though itthis is not inworking for me now I dont think I've found the most elegantbest way yet. I'll post what

Well thats where Im at, once I have as an answer and then tryrefine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and figure out some other possibilities.well all sorts of drupal fun! Yay! lol

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got many things that are already working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Current Status

I am trying all angles to bring in the comments. Using pure jquery, as I've tried, returns too much forcing a whole node to load to just pull out the comments. Now I have finally figured out the menu callback system. I had no idea that was even there! I am playing around with that now to see what I can bring in that way. Also, I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call comments?

###Update I've got it working, though it is not in the most elegant way. I'll post what I have as an answer and then try and figure out some other possibilities.

I am having some trouble in my quest to build a Drupal 7 custom node based image gallery module. I've got it working, but now I need AJAX to load and manipulate comments.

###What I am doing

I've created a Drupal 7 one-image-per-node image gallery; it uses relationships, EVA and even BBQ for deep linking, when viewing the 'gallery' node, EVA feeds in the thumbs and helpful attributes, e.g. URL to full image, url to actual node. I have jQuery in my gallery node, which AJAX preloads the full images on thumb click & manipulates them for fast dynamic full screen browsing, it works perfectly! Even the BBQ deep-linking which was difficult. Some of my gallery display js code is based on http://manos.malihu.gr/tuts/sideways_jquery_fullscreen_image_gallery.html.

###Update

I am trying all angles to bring in the comments. I've added one possible solution below but am going to try and figure out some other/better ways of doing this. 

I am unsure about Services & Json or the views json output module and if that would be useful to me in this situation? Would json be better to call a nodes comments?

I suppose now my question remains what is the best way to do this? Even though this is working for me now I dont think I've found the best way yet.

Well thats where Im at, once I refine this I will pull everything into a module rather than a mix of module & theme layer bits, this will be my first module that defines content types, views and well all sorts of drupal fun! Yay! lol

deleted 66 characters in body
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Loading
deleted 1586 characters in body
Source Link
Loading
added small update
Source Link
Loading
deleted 8798 characters in body; edited title
Source Link
Loading
Source Link
Loading