Author Topic: cannot install tcpdf component/ override invoice and delivery note appearance  (Read 1750 times)

Renata

  • Jr. Member
  • **
  • Posts: 112
Re: cannot install tcpdf component: all is empty
« Reply #15 on: November 19, 2018, 15:14:04 pm »
I understand, i must be more specific:

As you can see in the example i enclosed before, some words are split into 2 sentences. That is not nice to look at and unprofessional. I want to change that:

There are two ways i think how you can do that:

1: the dutch translation which is used is very long: f.a.: artikelstatus. This could be shortened into: status. If i change that translation probably the problem is solved. So where can i find translations of the pdf invoice and delivery notes?
2: or we change the genereal settings of these notes as you also suggested: set the table width of that part of the invoice/delivery note. But where do i do that?

I prefer posssibily 1. If that solves the problem, not a lot of work is needed.
Please visit my website http://www.1place4ads.nl for all you graphic webdesign and joomla websites.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8890
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: cannot install tcpdf component: all is empty
« Reply #16 on: November 19, 2018, 17:18:57 pm »
2

templates\xxxx\html\com_virtuemart\invoice\invoice_items.php
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

  • Jr. Member
  • **
  • Posts: 112
Re: cannot install tcpdf component: all is empty
« Reply #17 on: November 19, 2018, 18:20:51 pm »
There is no such file in templates\xxxx\html\com_virtuemart\invoice\invoice_items.php ?

Are these invoices not generated by TCPDF?
Please visit my website http://www.1place4ads.nl for all you graphic webdesign and joomla websites.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27457
  • Always on vacation
    • Jenkin Hill Internet
Re: cannot install tcpdf component: all is empty
« Reply #18 on: November 19, 2018, 18:38:57 pm »
OK so you are not overriding that file yet.  In which case it will be components/com_virtuemart/views/invoice/tmpl/invoice_items.php

TCPDF creates the invoice using templates, this is the items one.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

Renata

  • Jr. Member
  • **
  • Posts: 112
Re: cannot install tcpdf component: all is empty
« Reply #19 on: November 19, 2018, 18:46:01 pm »
Thank you! I understand now.
I prefer to override, Is there a tutorial somewhere specially for this case?

Thanks
Kind regards
Renata!
Please visit my website http://www.1place4ads.nl for all you graphic webdesign and joomla websites.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8890
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: cannot install tcpdf component: all is empty
« Reply #20 on: November 19, 2018, 19:02:02 pm »
Quote
I prefer to override, Is there a tutorial somewhere specially for this case?

GOOGLE

just put the file discussed invoice_items.php  in the path I said

templates\xxxx\html\com_virtuemart\invoice\

GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

  • Jr. Member
  • **
  • Posts: 112
Re: cannot install tcpdf component: all is empty
« Reply #21 on: November 20, 2018, 00:30:56 am »
Google? I have done that a lot! I have not found any info concerning override tcpdf forms. so i ask it here, a help forum for people who need help concerning VM....

I cannot just put a file somewhere. there must be a redirection to this new file from the original file? But i will try to sort it out myself...

Thanks

Kind regards
Renata
Please visit my website http://www.1place4ads.nl for all you graphic webdesign and joomla websites.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27457
  • Always on vacation
    • Jenkin Hill Internet
Re: cannot install tcpdf component: all is empty
« Reply #22 on: November 20, 2018, 11:10:29 am »
It is just a template you are going to edit and override. Template override functions have been included in Joomla since the launch of J2.

Try:
https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
https://www.joomlashack.com/blog/joomla/overrides/

and a lot more listed in Google.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8890
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: cannot install tcpdf component: all is empty
« Reply #23 on: November 20, 2018, 12:39:13 pm »
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27457
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

Renata

  • Jr. Member
  • **
  • Posts: 112
Re: cannot install tcpdf component: all is empty
« Reply #25 on: November 20, 2018, 17:27:07 pm »
Dear GJC Web Design and Jenkinhill

Thanks to your help i fixed it! Now the delivery note is looking good!

for the readers:
i downloaded the file: components/com_virtuemart/views/invoice/tmpl/invoice_items.php

the invoice_items.php i uploaded in
templates\YOURTEMPLATENAME\html\com_virtuemart\invoice\invoice_items.php (you have to make the folders: com_viruemart and invoice)

You can change the width in % from line 60 to your own preferences

Thank you!

Kind regards
Renata
Please visit my website http://www.1place4ads.nl for all you graphic webdesign and joomla websites.