Make links appear from jquery

batbug2 - August 30, 2008 - 12:38
Project:Fasttoggle
Version:5.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

As of now the fast toggle links are added through drupal hook_link system. It is great and works wonderfully. However, I have encountered the situation where such method is not the best option.

I have a front page with many blocks. Some blocks output lists of nodes of certain type. These blocks contain teasers of nodes, teasers with links and if moderator visits the frontpage this links contain the fasttoggle links. But these blocks I have they blockcache'd versions of the regular block. And if a moderator visits the frontpage first then blockcached version of the block will contain the fasttoggle links and all other visitors will see these links, too and my visitors are not supposed to see them! Blockcache module has the option to cache the block separatly for every user, but i have many registered users and therefore this is bad because the have that many blocks cached for every user is too much. So I can't make this.

So my feature request is the following: let's append the fasttoggle links through jquery! This way there will be no problem with blockcaching! And there will be no need to use hook_links! What do you say?

#1

kkaefer - November 28, 2009 - 11:51
Status:active» postponed (maintainer needs more info)

I'm willing to accept a patch that does this, but I don't think this is extremely important.

 
 

Drupal is a registered trademark of Dries Buytaert.