Post by alexandr-brest » Sat Jan 06, 2018 6:30 pm

Tell me how you can add a button to print the document to the admin panel.
That it would be possible to automatically print the instruction for the goods.

Can eat what that unit? How to implement it that would work.

How much I understood there a variable $download
But it does not work like this

<td><a href="<?php echo $download['href']; ?>" data-toggle="tooltip" title="<?php echo $button_download; ?>" class="btn btn-primary"><i class="fa fa-cloud-download"></i></a></td>


img https://drive.google.com/open?id=13nEon ... xz9JtT3wS6
Image

Attachments

button.jpg

button.jpg (135.18 KiB) Viewed 5987 times



Posts

Joined
Sat Jan 06, 2018 6:14 pm

Post by straightlight » Sat Jan 06, 2018 10:13 pm

Hi,

as your first post, please read the most recent forum rules. No OC version posted. This functionality has already been added in the core on more recent versions of OC.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Sun Jan 07, 2018 2:19 am

You seem to have other problems too, as it looks. And if it is a v.2.3.0.1, you should
move up to the latest vv.2.3.0.2, there where bulkloads of misses in the former Sub-Version.

And a print function can be implemented easy by use of the free Mod by OSWORX, it just
has to be rewritten a little, to match the File and Content, you like to print out, regardless of the
OC Version used. But the Mod , as it comes, may only match, what is marked as valid Versions.
Text2Print
https://www.opencart.com/index.php?rout ... n_id=23622

Good Luck! ;)
Ernie
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by alexandr-brest » Mon Jan 08, 2018 8:39 pm

straightlight wrote:
Sat Jan 06, 2018 10:13 pm
Hi,

as your first post, please read the most recent forum rules. No OC version posted. This functionality has already been added in the core on more recent versions of OC.
Opencart version 2.3.0.2


Posts

Joined
Sat Jan 06, 2018 6:14 pm

Post by straightlight » Tue Jan 09, 2018 7:40 am

What is the exact route URL that your screenshot has been posted from?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 14 guests