Site Seals on login page

Hello all, just discovered ownCloud in the last month; AWESOME! I have successfully deployed on FreeBSD and everything is working great. I have enabled my own theme and the only customization is a Slogan.

That is all working perfectly.

Now I am trying to add two site seals to my login page.

<script type="text/javascript" src="" async></script>

<span id="siteseal"><script async type="text/javascript" src=" sealID=someID"></script></span> & someID are real values in my code...

These two portions of code should display a McAfee and GoDaddy site seals. But I can't seem to figure out how to get them to work. I would like to have them survive updates, so I am guessing I need to keep them in my theme dir somehow. I have been attempting to put them in my default.php but I think that may be limited to specific string methods based on this link:

I have tried various google searches and most return legacy forum posts which recommend editing:

/var/www/owncloud/lib/private$ and open defaults.php

Like this one here:

This doesn't feel like the right thing and repeated attempts has resulted in only errors.

Can anyone provide any suggestions?

You might want to follow the thread in [1] which is about something similar. Maybe some one will answer there.


Thanks for the suggestion kljhlkhglklfgh. I did get a little further using this information:

I got to the point where I was receiving the same error as the other thread "it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'".", but then realized that the script I was trying to run for a site seal passes the hostname for verification. Since I am behind a reverse proxy and the local hostname doesn't match that of the actual certificate, it won't work anyway. I hope these links help someone else get a little further.

1 Like