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 class-WEBdocs plugin.
When I select custom link (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 class-WEBdocs plugin is enabled.
Comments
Sorry, again.
The short version then:
In tinyzenpage I want to insert a custom text linked to a PDF.
The text is not displayed. Instead the PDF is.
- 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.
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 class-WEBdocs is enabled.
With normal images everything works fine.
I haven't tried with that plugin yet but will do in a minute.
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).