Forums / Setup & design / pdf footer, link back to original page

pdf footer, link back to original page

Author Message

bisk

Monday 27 September 2004 3:47:56 am

I'm trying to add to the footer.tpl of a pdf file a link back to the original product page. Adding a normal link works fine, but with url_alias and ezroot it breaks. Does anyone have an example on how to do this properly?

thanks

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Kåre Køhler Høvik

Monday 27 September 2004 5:46:37 am

Please post your current code. This should be possible.

Kåre Høvik

bisk

Monday 27 September 2004 7:37:07 am

I've got the link working, but it doesn't stay in the footer area. Do I have to nest it or something?

current code:

{pdf(url, hash( url, concat('http://test.mysite.nl/',$node.url_alias)|ezroot(no),
 text, $node.name|wash(pdf) ) ) }

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

bisk

Tuesday 28 September 2004 1:14:22 am

Does anyone know how to nest the link in the footer, i tried looking at the nested line example:

{pdf(footer, hash( line, hash( margin, 80, thicknes, 1, size, "full" ) ) ) }

and concluded from that to nest it like this:

{pdf(footer, hash(link, hash( url, concat('http://test.mysite.nl/',$node.url_alias)|ezroot(no),
 text, $node.name|wash(pdf) ) ) ) }

But it doesn't show up at all. It also needs to be aligned left later. Any ideas?

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Kåre Køhler Høvik

Tuesday 28 September 2004 1:54:11 am

I'm sorry to say that this is not supported in eZ publish 3.4. Fucntionality for this has been added to 3.5. I'll post documentation on how to use it later today.

Kåre Høvik

bisk

Tuesday 28 September 2004 2:21:45 am

No need to be sorry and thanks for the reply.

Looking forward to 3.5.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Kåre Køhler Høvik

Thursday 30 September 2004 2:45:29 pm

Some delay, but early doc on the feature is here :
http://ez.no/ez_publish/documentation/reference/template_operators/pdf/header_block
http://ez.no/ez_publish/documentation/reference/template_operators/pdf/footer_block

Kåre Høvik