nima1
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)Hello,
sorry, I do not understand this. The complete topic is related to the predefined link generated by the plugin. The only thing I suggest is to remove the link and only output the input of the options field.
So instead of the stated link only the options field $this->options[‘imageIcon’] is shown when the option is set to “manual” (not in every cases). In this case the PHP tag has to included as known.
In this input field the user can paste (or it is set by defaut) also the link.
Example:
<a href="?format=pdf">Image or Text or HTML or whatever</a>In some cases it is better to state the full link, but this is possible for example with a place holder which is replaced with PHP when the Input field is shown:
<a href="#pagelink#?format=pdf">Image or Text or HTML or whatever</a>At the moment it is not possible for HTML. Is it more clear now?
Forum: Plugins
In reply to: [WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)Hello,
I am not sure why the link is related to PHP. The only thing to do is to copy the link with the url parameter ?format=pdf also in the options box, then everybody can style individual for every requirement. No PHP is necessary in this part.
This is also the way I have modified at the moment, I removed the link from PHP code and only output the image options field, this is all.
A further way should be that it leaves as it is but when “manual“ is choosed it will be included as described.Forum: Plugins
In reply to: [WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)Hello,
the main advantage is, that it s a more individual display option. When you only show the icon on special pages you can enter some specific html code to display.
In the actual case some divs are insert but the problem is now, that the complete html is inside the link. As the link is only a url parameter I think it should be a good option also to paste the link into the options fiel.
Is it more clear now?
Forum: Plugins
In reply to: [WP Post to PDF Enhanced] Presentation Options (PDF icon appearance)Hello,
sorry, but I think we are speaking about different topics.
I mean the presentation options in the wordpress backend menu. It is possible to automatically integrate the PDF generation link in all content pages.
In the input field it is possible to enter an image or a text but there are some issues, when you enter some more content because the pugin put the content of this field into a link. It should be better to have only the text field without the link generation.
Forum: Plugins
In reply to: [WP Post to PDF Enhanced] Post images not includedHello,
I do not have a public example. In the PHP log files the error is shown, that for example the function createfrompng can not find the image /files/image.png.
Of course because the folder is a virtual directory. I think it is not related only to the wordpress rewrite rules. Many sites use htaccess rewrite rules or virtual webserver directories. In all cases there will be the same problem.
But one question:
Does it work when the absolute url with http:// is stored in the post content? So can the PHP function call the image from a url?This is not a solution because then a further problem will occur. This is described in the other topic related to relative paths and for example a private site it is more a general question.
Maybe it is possible to render the images with the html img tag and rewrite/add the path with the called server name before process to TCPDF.Forum: Plugins
In reply to: [Polylang] WordPress 3.8 with WP Domain Mapping url issueHello Chouby,
sorry for the late reply. I have checked the new version with the constant and it is working without problems now.
Thank you very much.
Forum: Plugins
In reply to: [Polylang] WordPress 3.8 with WP Domain Mapping url issueHello Chouby,
Thank you, I will check soon and let you know.
Forum: Plugins
In reply to: [Polylang] WordPress 3.8 with WP Domain Mapping url issueHello Chouby,
the problem is not related to the Polylang functions.
The problem is that Polylang rewrites the urls only to the specified domain in the home url property. This problem only occur when you use some multi site functions and the domain mapping plugin so with multi domain for one blog.
Example:
Multisite Installation with 2 Blogs
Blog 1 has 4 domains
Blog 2 has 1 domainBefore the update yo can reach the complete blog with every domain specified in multisite domain mapping for example blog1.com, blog1.org…
The domains are not related to languages, it is a general function.Now only one domain is working correct because all links in the site with home url are rewritten to the specified link in the database. When the user click such link it is on another domain.
For Blog 2 there is only one domain so there is no problem
Is it more clear now?
Forum: Plugins
In reply to: [Polylang] WordPress 3.8 with WP Domain Mapping url issueHello Chouby,
the problem is, that the complete domain mapping does not work any more. When you have a multi site installation with multi domains for a site only one is working now. Before you can reach the site with every domain and all links were rewritten to the domain the user opened in the browser.
WP Domain Mapping is managing multi domains for one blog/site.
Is it more clear now?
Forum: Plugins
In reply to: [Polylang] WordPress 3.8 with WP Domain Mapping url issueHello Chouby,
when I change the home url property manually in the settings of the site and resave the Polylang settings the new domain is shown correctly.
But of course you had to decide for one domain multi domain does not work any more which is not good. For example when you have a multi site installation with internal and external sites there are now many problems.
Maybe you can integrate an option or do not safe the domain (only path) in general?