By Amit.lakhwani on
I have Static Blocks in which I have Static Content , So I want to Make that Content Dynamic ,So I want to know How to do it??
I have Static Blocks in which I have Static Content , So I want to Make that Content Dynamic ,So I want to know How to do it??
Comments
Some modules provide blocks
Some modules provide blocks with dynamic content. For instance, with the Views module you can create a list of the 5 latest nodes. You can also set the input type of a custom block to php and enter your own code.
If you can be more specific about what you need, we can be more specific about the solution.
Dynamic Creation of Blocks
I have Created Few Modules like Image Gallery or Celebrity Information in which I have Displayed the Names of Celebrities and their Images r there , Now Admin can Select that which Celebrity is in Focus or Toprated , So how to Create that Functionality Dynamically in Drupal
Terms of use note
Hello everybody,
Maybe out of topic right now... I was just wondering... I have a library page in my website and would like to have a disclaimer page that opens before people download the book.
It should basically be a download button next to my book, people click on it and get the disclaimer which they have to check to proceed with the download.
Look forward to hearing any options!
best,
charter
If you have a node for every
If you have a node for every celebrity, you could add a field to the content type indicating the 'in focus' status or a rating. You need the CCK module to be able to add fields to content types.
You'll also need the Views module. It allows you to set filters (type=celebrity, status=infocus), sort the results (by date, alphabet, rating...) and create a block with a list of the resulting nodes.
I’m trying to-do something similar
Hi Amit,
I’m really new to Drupal but I’m trying to do something similar to what you have done. I’m developing a free site for the RSPCA in Brighton and need to be able to show the latest 5 or 6 animals with their picture and a linked to a page on them. I’m using D6. If you could elaborate as to how you achieved it that would be great.
Any advice would be much appreciated
view module provide dynamic blocks
Hi,
You can use view module to make dynamic blocks. You can download it from here.
http://drupal.org/project/dynamic_views
Thanks,
BusyBees
Sorry to corrct you but the
Sorry to corrct you but the views module is here:
http://drupal.org/project/views
Dynamic display block module
Hi all,
You can try out the dynamic display block module.
http://drupal.org/project/ddblock
Philip
Dynamic display block module maintainer