![]() |
|
tinyzenpage add custom link to PDF - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: tinyzenpage add custom link to PDF (/thread-9778.html) |
tinyzenpage add custom link to PDF - fretzl - 2012-03-15 On a zenpage page I'm trying to insert a custom link to a PDF in an album. 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. The [i]class-WEBdocs[/i] plugin is enabled. tinyzenpage add custom link to PDF - acrylian - 2012-03-15 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. tinyzenpage add custom link to PDF - fretzl - 2012-03-15 Sigh... I always find it difficult to explain myself properly. The short version then: tinyzenpage add custom link to PDF - acrylian - 2012-03-15 And that pdf is within an album? For a custom link directly linking to any file:
I have tried with an normal image only but actually it should treat all items that way. tinyzenpage add custom link to PDF - fretzl - 2012-03-15 Yes the PDF is in an album. This is what I am trying to do:
I just noticed something: tinyzenpage add custom link to PDF - acrylian - 2012-03-15 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. I haven't tried with that plugin yet but will do in a minute. tinyzenpage add custom link to PDF - acrylian - 2012-03-15 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). tinyzenpage add custom link to PDF - fretzl - 2012-03-15 Thanks. I'll figure out another way to do this ;-) tinyzenpage add custom link to PDF - acrylian - 2012-03-15 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. |