Someone willing to help this PHP noob?

  • Posts: 18
  • Thank you received: 3
2 years 4 months ago #343286

-- url of the page with the problem -- : still localy developping
-- HikaShop version -- : 4.6.1 [2207041030]
-- Joomla version -- : 3.10.10
-- PHP version -- : 8.0
-- Browser(s) name and version -- : Firefox developer 103.0b7 (64-bits)
-- Error-message(debug-mod must be tuned on) -- : none

Hi,

I am working on my pdf invoice to fit it to the site.
But as I am a total noob with php sorry. just know a little html and normally just trying things out to get what I want..
But this time I am lost,,

Is someone willing to help to get my logo image centered at top beside the address. and get me a footer image at the bottom to the right of the invoice..

I have included an image what I want to get and what I accomplished to get...
Also the files are included

Thanks
Appie

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 4 months ago #343292

Hi,

You don't need to write any PHP for this.
You need to edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php via FTP and add the img tag for your image that you uploaded via FTP somewhere on your website and a bit of CSS to position the image where you want in the PDF:
stackoverflow.com/questions/33781821/dis...round-image-html2pdf

The following user(s) said Thank You: Appie Thrasher

Please Log in or Create an account to join the conversation.

  • Posts: 18
  • Thank you received: 3
2 years 3 months ago #343518

After a lot of reading myself into css an lots of trying I managed to get my logo on top of the invoice on the place I want.
So thanks for pointing me into the wright direction for this..

Appie

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum