HTML link issue
Posted: Tue Jan 26, 2016 4:37 pm
I am working on a script extension, the structure is as under:
In the extension builder when I choose "base_folder" as the upload folder, and I publish, the link that is replaced for $logo$ is './base_folder/logo.png'
and when I preview the index.html, the logo doesn't show.
I want it to set in a way that the logo uploaded by the user uploads inside "base_folder" and a correct link replaces $logo$ in the style.css file so that the logo displays correctly in the index,html
Any help welcome please
Now in 'base_folder' I need to upload a logo which is mentioned in style.css as '../logo.pmg'(in extension written as $logo$)index.html
-----base_folder
-----------css
---------------style.css
In the extension builder when I choose "base_folder" as the upload folder, and I publish, the link that is replaced for $logo$ is './base_folder/logo.png'
and when I preview the index.html, the logo doesn't show.
I want it to set in a way that the logo uploaded by the user uploads inside "base_folder" and a correct link replaces $logo$ in the style.css file so that the logo displays correctly in the index,html
Any help welcome please