Adjust text PDF Print Button

Phoca PDF - creating PDF documents in Joomla! CMS
Webteur
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 26 Mar 2024, 15:27

Adjust text PDF Print Button

Post by Webteur »

How can I adjust the text of the PDF Print Button in the Frontend?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adjust text PDF Print Button

Post by Jan »

Hi, what do you mean with "adjust"?
https://www.phoca.cz/documentation/87-p ... er-version

Jan
If you find Phoca extensions useful, please support the project
kevinmorris0
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 13 Nov 2024, 20:03

Re: Adjust text PDF Print Button

Post by kevinmorris0 »

To change the text of the PDF Print Button, you can use JavaScript or CSS. If the button has a unique ID or class, you could use JavaScript to target it and set a new innerHTML value, like this:

javascript
Copy code
document.getElementById('pdfPrintButton').innerText = 'New Button Text';
Alternatively, if you're using a plugin, check its settings to see if it provides an option to customize button text. This method should give you control over the text displayed on the button in the frontend.
Post Reply