Forum .LRN Q&A: I can't put a logo on....

Collapse
Posted by David Lee on
How can I add a logo onto the overall site? Since I couldn't ifnd the place to add it, I tried adding one on a community, but that didn't work either. It gave me the error:

We had a problem with your input:

There was an error trying to add your content. The most likely causes are that:
o You tried to upload a non-image file.
o You double-clicked the "Add" button on the previous page.

Here is the actual error message:

Invalid switch: "-obje"

Please back up using your browser, correct the above , and resubmit your entry.

Thank you.

Not sure what's wrong...

Collapse
Posted by Claudio Pasolini on
One good place could be the standard template site-master.adp.

If you are using theme-selva you should instead modify the Header section of the css Selva-core.css where you can specify the url of your desired logo image.

Collapse
Posted by David Lee on
how can I get theme-selva? I'm using dotLRN 2.1.1 Is it on there?
Collapse
Posted by Victor Guerra on
You can get theme-selva from the CVS Repository, oacs-5-2 branch.

Here is the cvs command for getting theme-selva
cvs -d :pserver:mailto:anonymous@cvs.openacs.org:/cvsroot co -r oacs-5-2 theme-selva

Regards,
Victor Guerra.

Collapse
Posted by Jon Griffin on
This has some problems on Postgres. Missing a dependency?

psql:theme-selva-create.sql:30: ERROR:  invalid type name "dotlrn_site_templates.site_template_id%TYPE"
Collapse
Posted by Jon Griffin on
Actually I should have looked closer, this is an oracle script in PG.
Collapse
Posted by Emmanuelle Raffenne on
Hi,

I guess you are running .lrn 2.1. If it's the case then you should get theme-selva from HEAD:

cvs :pserver:mailto:anonymous@cvs.openacs.org:/cvsroot co theme-selva

The version on oacs-5-2 branch is to run with .lrn 2.2. The table "dotlrn_site_templates" does not exist in previous version, that's why you got the error.

Collapse
Posted by Emmanuelle Raffenne on
Oops, sorry, I miss the -d in the cvs command on my previous post. It should be:

cvs -d :pserver:mailto:anonymous@cvs.openacs.org:/cvsroot co theme-selva