Inserting content into a view via GET

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
tasmaniaman's picture

Hi Everyone,

I'm using Views 2 and the great views_pdf module to create PDF documents using data stored in nodes and it works well.

I was wondering if there is a way to make data from variables on the address link available inside the view.

Basically a line like this generates a PDF for me:

www.url.com/pdf

I'd like to do something like this:

www.url.com/pdf?name=John

And have that variable "name" available to use in my view, i.e to print out on the PDF.

I've had a good hunt around and couldn't find an answer, hoping someone here may be able to help me

Thanks in advance,

Peter.

Comments

Figured it out

tasmaniaman's picture

Hey all,

I figured this out, using a Global: Null argument allow me to use the data with a Global: Custom field.

Thanks,

Peter.

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week