Rewriting Block Content in Drupal

Reply

Join Date: Jun 2009
Posts: 6
Reputation: davecoventry is an unknown quantity at this point 
Solved Threads: 0
davecoventry davecoventry is offline Offline
Newbie Poster

Rewriting Block Content in Drupal

 
0
  #1
Jun 24th, 2009
On my Drupal site I have a block which I've set up with a couple of links at the top.

I want to change the content of the block depending on which link is clicked.

I'm pretty sure you can do this as I've seen sites with this functionality, but I'm not sure how to accomplish it.

The problem, as I see it, is that the PHP code which controls that block content is server side and the clicking of the links is browser side.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 50
Reputation: cakka is an unknown quantity at this point 
Solved Threads: 1
cakka's Avatar
cakka cakka is offline Offline
Junior Poster in Training

Re: Rewriting Block Content in Drupal

 
0
  #2
Jun 24th, 2009
You need module for do this
That supported by JQuery.

Good luck
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 6
Reputation: davecoventry is an unknown quantity at this point 
Solved Threads: 0
davecoventry davecoventry is offline Offline
Newbie Poster

Re: Rewriting Block Content in Drupal

 
0
  #3
Jun 24th, 2009
Originally Posted by cakka View Post
Good luck
Indeed.

I have started 25 threads on the Drupal help forum and have received helpful answers on on 2 out of those 25 threads.

I've change tack slightly because I think I might be able to achieve what I'm seeking to do through views.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 50
Reputation: cakka is an unknown quantity at this point 
Solved Threads: 1
cakka's Avatar
cakka cakka is offline Offline
Junior Poster in Training

Re: Rewriting Block Content in Drupal

 
0
  #4
Jun 24th, 2009
You can do that with views but you need javascript to control that. It will displayed as tabs in your page.

God Bless You
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC