dolibarr icon indicating copy to clipboard operation
dolibarr copied to clipboard

Fix to do on website template for #21546

Open eldy opened this issue 3 years ago • 1 comments

Bug

This is a list of trouble to fix into the website template merged with #21546:

  • After an import the image is not visible. This is surely a problem during the export . Because the export export only files with name [image|js]/name_of_website/* and your images are stored into ./images/ Move images into the media dir called /image/name_of_website

  • The css of website overwritten the CSS of Dolibarr. You can fix this by changing like this htmltag or .mycsstag into .bodywebsite htmltag or .mycsstag All css declarations must be prefixed with .bodywebsite so it has effect only into the website frame.

  • The link for social networks must reuse the values defined into the setup of company. The list seems hardcoded and no value for links are inserted. You can insert here php to loop on $mysoc->social_networks array. Example is available into the page "footer" of the template-corporate.

  • The button "Contact us" point to nothing, same for link "Pre Order" now. You can add a small page behind "contact us" (similar to the page "contact" of the template "corporate"), and for link "Pre Order" now, add a onclick alert to say "Please edit the website page to define the URL you want the link to point to..."

Environment Version

No response

Environment OS

No response

Environment Web server

No response

Environment PHP

No response

Environment Database

No response

Environment URL(s)

No response

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

eldy avatar Jul 24 '22 14:07 eldy

all done (y)

Quatadah avatar Jul 25 '22 17:07 Quatadah

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).

github-actions[bot] avatar Jul 25 '23 21:07 github-actions[bot]