okay i've been trying for days now,
so if anyone sees this,
am i supposed to have one view, which is a block, with for example node titles.
and another view which is the ddblock where these nodes are displayed if i click one of these
node titles.
or where does the ddblock come on in, and how do i link from the items in the view list?
all the tutorials and examples seem to be doing something else and not quite what i want.
For the first choice... you say I can place the content in a node. Could said node be a block?
For my current setup, I have Content Settings > Input Type > Image Folder
I currently have the block in the region: content top and it's shown only on page
So the thing I find confusing, if I want it to show up in the content top region, how can I do this with a node? Can I simply make it a block?
Thanks bunches, and if you have any further details on how to get this going, I'd appreciate it.
There were a few steps that weren't exactly right. I needed to create a block in order for one to even show up it seems.
Also, there really should be an option to have the pager show up below or above the node. It's a pain to try and theme it so the pager is at the bottom.
Would like to have pager @ bottom though. Not sure how it makes sense to have pager at the top. Kinda like how the pager for nodes are always at the bottom instead of the top. (you never see Googles pager at the top of the page, or Drupal's pager at the top of the page. Default should be below content)
I hate to ask this, but I've tried to do the above instructions on how to get the custom .tpl file set up with the pager at the bottom, but can't seem to figure out how to do this.
Could you do a quick one and attach it please?
Just need it so that the pager stuff is at the bottom. (I prefer prev/next pager if that helps)
I can't seem to get this to work. Followed instructions traight through and all I have is a readmore button that randomly links to my nodes (which is good) but nothing else displays.
I think your fieldnames in the preprocess function are not right.
In the Preprocess functions tutorial page you can read how to find out what they need to be and how to change them.
Yes, you can use a nodequeue with the dynamic display block module.
Place the nodequeu in a block and make an ddblock instance.
You can also use the view which is made by nodequeue.
All this is not supported out of the box by the dynamic display block module.
We will make a how to tutorial about this soon.
In the next version of the ddblock module we will add more nodequeue support like image cache support added in the this version.
The module is beautiful, I have implemented it on my site, however, May I ask 2 questions:
1, Is it possible to make each displayed image clickable, so that I can combine your module with other modules like lightbox easily by adding some additional tag like "rel=[lightbox]" within tags, something like that.
2, Can each image NOT be distorted in width and length proportion ? Right now, If I define width = 200px and length = 200 px, some images got distorted. How to fix this ?
1.) You can easily use the lightbox module with the Dynamic display block module if you use images from a node from a content type as input for the dynamic display block.
If you now click on an image a lightbox will be opened to show the image.
With this example:
You have to set the container to: div.image
You have to disable the next setting in the configuration page, otherwise clicking the image will be used for going to the next image and in this case you want to use it for opening the lightbox.
Off course you can also show all the images in the lightbox if you add a grouping to the rel="lightbox" link, like rel="lightbox[all]" to each image.
2.) I think you mean your portrait pictures and landscape pictures don't show OK when using them together in one dynamic display block.
For now you have to make all the images the same size. I think you already did this by making your portrait pictures the same size as the landscape picture by adding a background at the left and right side of the images.
Comments
video or swf as a content
how can i display swf or flv in sideshow using Views slideshow: Dynamic display block ?
something simple
okay i've been trying for days now,
so if anyone sees this,
am i supposed to have one view, which is a block, with for example node titles.
and another view which is the ddblock where these nodes are displayed if i click one of these
node titles.
or where does the ddblock come on in, and how do i link from the items in the view list?
all the tutorials and examples seem to be doing something else and not quite what i want.
thanks,
Re: something simple
As I understand you want to use the ddblock module to show images in a node and you want to use a list of node titles to link to these node.
For making the first slideshow you can follow the: How to create an Advanced slideshow with multiple imagefield images in a node tutorial.
For the same view used in this tutorial you can make another block display which show only the link titles which link to the nodes.
Hope this helps you further, please let me know.
ddblock custom jQuery -> Link to Node
First, check out my cities site: http://cityofmacon.net/
I've got basic ddblock setup and going nicely.
Here is what I'd like to have the ability to do:
link the images to nodes via the: Custom jQuery Cycle Plugin Settings
could I do something like:
### I know this is not proper code ###
{
$image1 = /sites/default/files/ddblock/frontPageBanner1.jpg;
$image $url = http://someplace.com/;
$image2 = /sites/default/files/ddblock/frontPageBanner2.jpg
$image $url = http://someotherplace.com/;
}
###
Thanks in advance!
Trae
Re: link to node
Looked at you site. nice pictures!!!
You can not use the Custom jQuery Cycle Plugin Settings for this.
Depending on your requirements for the slideshow there are several options.
1.) If you don't change the content of the slideshow often. You could place the content in one node.
The content would be something like:
In the configuration page you now have to use div.slide as content container.
2.) Use the advanced slideshow options of the dynamic display block module with cck and views or cck, nodequeue and views.
Hope this helps you further. Please let me know.
re: link to node
For the first choice... you say I can place the content in a node. Could said node be a block?
For my current setup, I have Content Settings > Input Type > Image Folder
I currently have the block in the region: content top and it's shown only on page
So the thing I find confusing, if I want it to show up in the content top region, how can I do this with a node? Can I simply make it a block?
Thanks bunches, and if you have any further details on how to get this going, I'd appreciate it.
Cheers,
Trae
re: link to node
The node can be a page node or a story.
But it is better to make a separate content type, e.g. ddblock images with links to other pages and as type ddblock_images_with_links.
You insert the code in the other comment in a node of this content type.
e.g a node with the title: ddblock images with links
In the ddblock settings page you need to enable the content type in the settings tab.
In the list tab you add a block, e.g. with the name: ddblock image-link slideshow.
Now you can configure the block:
We will make a more detailed how to for this. Will be added soon to the http://ddblock.myalbums.biz Internet site.
Hope this helps you further, please let me know.
re: link to node
Hey mate,
There were a few steps that weren't exactly right. I needed to create a block in order for one to even show up it seems.
Also, there really should be an option to have the pager show up below or above the node. It's a pain to try and theme it so the pager is at the bottom.
Other than that I have it working now:
http://cityofmacon.net/
Would like to have pager @ bottom though. Not sure how it makes sense to have pager at the top. Kinda like how the pager for nodes are always at the bottom instead of the top. (you never see Googles pager at the top of the page, or Drupal's pager at the top of the page. Default should be below content)
Trae
re: link to node
Looked at the site and see it works.
I think you missed the line:
In the list tab you add a block, e.g. with the name: ddblock image-link slideshow.
We published the How to create a basic dynamic display block image slideshow with links to other pages on the site.
To put the pager at the bottom:
copy the ddblock-cycle-block-content.tpl.php file from the ddblock module to the theme you use and override it to match your requirements.
Move the pager lines below the content and you have your pager at the
bottom.
from the line: <?php if (($pager == 'number-pager')): ?>
till the line: <?php endif; ?> of the prev/next pager
Hope this helps you further, please let me know.
.tpl file with pager @ bottom?
Hey,
I hate to ask this, but I've tried to do the above instructions on how to get the custom .tpl file set up with the pager at the bottom, but can't seem to figure out how to do this.
Could you do a quick one and attach it please?
Just need it so that the pager stuff is at the bottom. (I prefer prev/next pager if that helps)
Thanks!
Trae
re: link to node
Hah! Awesome. :)
Look, I want to thank you for your time, and caring. You worked me through this entire process and I appreciate it 100%. :)
I think DDBlock is a great Drupal module.
Cheers,
Trae
Can't get it to work
I can't seem to get this to work. Followed instructions traight through and all I have is a readmore button that randomly links to my nodes (which is good) but nothing else displays.
Re: Can't get it to work
I think your fieldnames in the preprocess function are not right.
In the Preprocess functions tutorial page you can read how to find out what they need to be and how to change them.
Hope this helps you further, please let me know.
Does this module support
Does this module support getting content from Nodequeue ?
Re: Does this module... Nodequeue
Can you read our minds?
Yes, you can use a nodequeue with the dynamic display block module.
Place the nodequeu in a block and make an ddblock instance.
You can also use the view which is made by nodequeue.
All this is not supported out of the box by the dynamic display block module.
We will make a how to tutorial about this soon.
In the next version of the ddblock module we will add more nodequeue support like image cache support added in the this version.
Just be patient
Can someone please install this module for me, for a small fee?
I really need this module install on my site, and make it look like the example on the main page. My website is http://Jamrie.com
And as you can see, I am just using a block with html to display content.
That is why I need this module.
I am willing to pay someone to install the module, and make it look like the example on this site main page.
My email address is: valerymenelas@earthlink.net or you can message me on my site under the username Valery Menelas.
I am willing to pay through Paypal.
Thanks!
Advanced Pager
How to implement the Advanced Pager?
$('#slideshow').before('<ul id="nav">').cycle({ fx: 'turnDown', speed: 'fast', timeout: 0, pager: '#nav', // callback fn that creates a thumbnail to use as pager anchor pagerAnchorBuilder: function(idx, slide) { return '<li><a href="#"><img src="' + slide.src + '" width="50" height="50" /></a></li>'; } }); #slideshow { left: 20px } #nav { width: 300px; margin: 15px } #nav li { width: 50px; float: left; margin: 8px; list-style: none } #nav a { width: 50px; padding: 3px; display: block; border: 1px solid #ccc; } #nav a.activeSlide { background: #88f } #nav a:focus { outline: none; } #nav img { border: none; display: block }on the JQCycle sample " http://www.malsup.com/jquery/cycle/pager2.html"
and as your sample http://ddblock.myalbums.biz/node/326
Re: Advanced pager
The pager in the example on the jquery cycle plugin example pages can also be made with the current dynamic display block module (RC2).
Required is that you use an image folder as input and not a node form a content type or a block instance.
Just choose images from an image folder as input type and an image pager as the pager. The thumbnails are automatically made by the cycle plugin.
The custom pager with text or images with text are supported in the next version of the module. (using CCK fields and Views).
Philip
Module maintainer
2 questions may I ask
The module is beautiful, I have implemented it on my site, however, May I ask 2 questions:
1, Is it possible to make each displayed image clickable, so that I can combine your module with other modules like lightbox easily by adding some additional tag like "rel=[lightbox]" within tags, something like that.
2, Can each image NOT be distorted in width and length proportion ? Right now, If I define width = 200px and length = 200 px, some images got distorted. How to fix this ?
My email: info@melissazhou.com
My site: www.melissazhou.com
If you don't mind getting back to me, I would appreciate so much...
Thanks,,,
Happy for everthing...
www.melissazhou.com
Re: 2 questions may I ask
Hi,
Nice to have another user of the module.
Answers on your questions:
1.) You can easily use the lightbox module with the Dynamic display block module if you use images from a node from a content type as input for the dynamic display block.
In the node just use e.g.
<div class="image">
<a href="PATH_TO_IMAGE" rel="lightbox"><img src="PATH_TO_IMAGE" /></a>
</div>
<div class="image">
<a href="PATH_TO_IMAGE" rel="lightbox"><img src="PATH_TO_IMAGE" /></a>
</div>
If you now click on an image a lightbox will be opened to show the image.
With this example:
Off course you can also show all the images in the lightbox if you add a grouping to the rel="lightbox" link, like rel="lightbox[all]" to each image.
2.) I think you mean your portrait pictures and landscape pictures don't show OK when using them together in one dynamic display block.
For now you have to make all the images the same size. I think you already did this by making your portrait pictures the same size as the landscape picture by adding a background at the left and right side of the images.
Hope the answers solve your questions.
ppblaauw
very very good
thanks for giving such a nice module
its great work