not to great with Drupal hooks.... hoping for a quick piece of advise. Love this mod. Trying to check it to print the block (form) without an ajax call.
Being able to pick on the block admin screen would be great... but otherwise, whats that best way to over ride out put in the output function?

thanks in advance.
--
J.

CommentFileSizeAuthor
#1 889590.differentoutputs.patch8.58 KBliam mcdermott

Comments

liam mcdermott’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
StatusFileSize
new8.58 KB

Hi CorpX, there was no simple and easy way of telling you how to do this. It did make me realise a major shortcoming of Profile Form Parts, however: there's no way of specifying how to display the fields that are downloaded. You'd like to display the fields, I'd like them via AJAX, someone else (in another issue) requested they be displayed in a lightbox and so on.

So, I've written a patch that shows options for either downloading via AJAX or just displaying the form fields, by default. Next I'm going to write a module that displays the fields in a lightbox.

One thing that always pleases me about Free software development is how people come up with ideas, on software I've written, that make me think, "Why the heck didn't I think of that?!"

Anyway, enough of my chatter, the patch is attached, would you be able to test it? It will also give you a good idea of how to implement stuff like this yourself. :)

liam mcdermott’s picture

Status: Active » Needs review
liam mcdermott’s picture

Title: Output the block » Option to output the block (with no AJAX link or download)
Status: Needs review » Fixed

Okay, I committed the patch in #1!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.