Hello,
I love your module, it's sweet and flawless.

In a website I am developing I need to have the juitter search field to be in the home page, in the top toolbar, while the results must be in a dedicated internal page like the current set-up would do, i.e. domain.com/juitter

I wasn't able to find any hint in the documentation. I searched the issue but none are related. Google didn't help.

How can I do that?

Thanks in advance.

AM

CommentFileSizeAuthor
#5 juitter_block.patch3.4 KBtheunraveler

Comments

abqaria’s picture

subscribe

angelmax’s picture

Hi,
would the author, the mantainer or somebody knowledgeble suggest if there is a way to set the text in the query for Juitter in a form placed in another page?

I will also check if the original coder of the stand-alone script has any hint.

Thank you.

AM

angelmax’s picture

Hi,
unfortunately no one is addressing this issue. Neither the module author nor the Juitter Script author.

I am sad. I think I am gonna cry.

AM

Henrik Opel’s picture

Category: support » feature

As there is no functionality for this yet, this sounds more like a feature request.

I posted an example for one way of doing this on stackoverflow - see: http://stackoverflow.com/questions/1657605/how-to-search-twitter-with-dr...

It is just a quick try, but works quite well with pretty minimal changes to the existing code. I'll try to find the time to roll this into a patch in the next days.

theunraveler’s picture

Status: Active » Needs review
StatusFileSize
new3.4 KB

Excellent work, Henrik. I rolled this into a patch.

angelmax’s picture

Dear Henrik,
this is excellent!
It works like a charm and thanks to you!

I am really astonished by the quality of your contribution.

Thanks!

AM

Henrik Opel’s picture

@theunraveler: Thanks for taking this task!

@angelmax: Thanks for the compliment - but it wasn't that hard to do ;)

A note to the module maintainer(s): As this patch uses the path 'juitter/*' (implicitely, not via explicit '%' wildcard) to communicate the search terms from the new search form to the juitter page, there is a tiny conflict with the settings forms AHAH callback currently using 'juitter/ahah'. I'd suggest moving that to 'admin/settings/juitter/ahah' or somewhere else to prevent the 'weird' result a user would get when searching for 'ahah'.

bdanchilla’s picture