Allow tokens in the block title and/or block header

Liliplanet - January 2, 2009 - 12:32
Project:Relevant Content
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Hi,

Just so love this module, thank you.

I'm using the http://drupal.org/project/relevant_content module extensively on my site, and wondering is it possible to add a taxonomy term to my block title?

Basically if the relevant content is based on a country, it would automatically insert for example the term 'Relevant News in America'.

Just maybe this is possible :)

Look forward to any reply.

Lilian

#1

nicholasThompson - January 2, 2009 - 12:59
Component:Miscellaneous» User interface

Interesting idea.... but I cant quite imagine how it will work.

What if you have a node tagged America and Canada. The Relevant Content block will try to search for nodes which match both America AND Canada...

What would you have happen in that case?

#2

Liliplanet - January 2, 2009 - 13:07

Actually, the content in the block shows the nodes by country. In my case you cannot select more than 1 country.

So if the block searched for relevant nodes of America, would it perhaps be possible that the node title inserts 'Latest News in America', naturally America having been the searched relevant term.

I would be fabulous, as currently I just have the title 'Relevant Articles', and I don't think users will understand that it is relevant to the country.

Look forward to any reply, and thank you.
Lilian

#3

Liliplanet - January 8, 2009 - 10:31

Hi Nicholas,

Just another reply to your question. Choosing in my case in the relevant content module admin:

- selected (content type): press release
- vocabularies: country

If the relevant content shows the press release by taxonomy term 'America' in the block, is it perhaps possible for the block title just to put out the taxonomy term?

Or even if we could add something in the Header Text? ie. 'read more press releases from 'vocabulary'

Your question was what if there were 2 terms, perhaps have America / Canada? :)

Look so forward to your reply Nicholas.

Lilian

#4

nicholasThompson - January 8, 2009 - 10:39
Title:Taxonomy term in block title» Allow tokens in the block title or block header

So basically you'd like tokens in the block title/header?

#5

Koen_Vanmeerbeek - January 9, 2009 - 13:12

Hallo

I don't get the above discussion completely. But me 2 I'm looking for a way to use tokens in the block title...

#6

dark.o - July 28, 2009 - 13:20

To bad there is no action here... me too would like this feature, and see it as a given feature, to be able to use tokens in the block title, since it gives more relevance to content provided to user, while viewing particular node.

#7

nicholasThompson - July 28, 2009 - 13:29
Title:Allow tokens in the block title or block header» Allow tokens in the block title and/or block header
Status:active» needs work

It's - in theory - possible...

The difficulty is "scope"... I'll see what I can come up with.

 
 

Drupal is a registered trademark of Dries Buytaert.