Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: jfentum on November 20, 2004, 06:31:33 AM

Title: MyDMS Customization
Post by: jfentum on November 20, 2004, 06:31:33 AM
I'm using the MyDMS application (the one packaged by Darrel May)on my SME 5.6 server to store PDF files for my company's customers. Everything (except for the email notifications) has been working well.

Now my employer wants me to add our company's logo to the header of every page displayed by the system.

I have attempted to make this happen by editing the "HTMLHeader.html" file located in "/opt/mydms/themes/aqua/".  The problem is the pages now display a broken link icon where I want my logo to display.  I have the logo jpeg located in the aqua theme's images directory.  The permissions and ownership are the same as all of the other image files in the folder.  I have also double and triple checked my syntax of the edited "HTMLHeader.html" file. Everything looks to be right, except IT DOESN'T WORK!

Am I missing somehting?
Title: MyDMS Customization
Post by: kruhm on November 20, 2004, 02:42:28 PM
I don't know much about MyDMS but the path to the logo is probably wrong. The logo might be called from a different directory. Just double-check it.

This might work. Instead of editing the html just replace the logo with the logo you want. For example if the original logo in the html is called aqualogo.jpg, find auqalogo.jpg (grep -r "aqualogo.jpg" *)rename it to back it up and upload your logo instead. Just be sure to call it aqualogo.jpg. This way you don't have to change or upset the html.

Thxks,
dak