Administrator
Administrator
fretzl   2012-03-15, 11:31
#1

On a zenpage page I'm trying to insert a custom link to a PDF in an album.
When I click on the link I'd like the PDF to be displayed on image.php using the [i]class-WEBdocs[/i] plugin.

When I select [i]custom link[/i] (or any other setting for that matter) and then select the PDF in tinyzenpage no link is displayed.
Instead the PDF is inserted in the page.

The [i]class-WEBdocs[/i] plugin is enabled.

Administrator
Administrator
acrylian   2012-03-15, 11:42
#2

Image title / link to image actually links to the normal image.php page. Or don't I understand the problem? TinyZenpage has no specific support for webdocs objects and treats them as images.

Administrator
Administrator
fretzl   2012-03-15, 12:34
#3

Sigh... I always find it difficult to explain myself properly.
Sorry, again.

The short version then:
In tinyzenpage I want to insert a [i]custom text[/i] linked to a PDF.
The text is not displayed. Instead the PDF is.

Administrator
Administrator
acrylian   2012-03-15, 12:51
#4

And that pdf is within an album? For a custom link directly linking to any file:

  • What to include: "image title"
  • Link type: "Custom link" with the FULL url to the file or "link to full image"

I have tried with an normal image only but actually it should treat all items that way.

Administrator
Administrator
fretzl   2012-03-15, 13:29
#5

Yes the PDF is in an album.

This is what I am trying to do:

  • What to include: "custom text"
  • Link type: "link to image"

I just noticed something:
The PDF is only recognized in tinyzenpage if the [i]class-WEBdocs[/i] is enabled.
With normal images everything works fine.

Administrator
Administrator
acrylian   2012-03-15, 13:55
#6

Sorry, I somehow confused "custom link" with "custom text". I tried above with an image page locally onthe trunk and it did work as expected.

Quote:The PDF is only recognized in tinyzenpage if the class-WEBdocs is enabled.
Of course as that plugin enables support for PDFs. TinyZenpage only supports gallery formats.

I haven't tried with that plugin yet but will do in a minute.

Administrator
Administrator
acrylian   2012-03-15, 14:12
#7

I can reproduce this. Have to look why that happens. Actually even if I choose image title it inserts the full thing (the preview image actually)

It seems it is always an iframe construct inserted. This must come from the plugin itself but I am not familiar with it.

Update: Reason is that it is treated as a "textobject" because the webdocs class is an extension of that. So the body of the item is called directly (which is the iframe setup).

Administrator
Administrator
fretzl   2012-03-15, 19:36
#8

Thanks. I'll figure out another way to do this ;-)

Administrator
Administrator
acrylian   2012-03-15, 19:54
#9

I rarely used textobjects and almost never this webdocs. We could of course change the behaviour in tinyZenpage as well. That the full thing is embeded if actually a link is wanted is actually a little strange. Best you open a ticket so we don't forget.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.