cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing web quick start - WQS

abbeydom
Champ in-the-making
Champ in-the-making
Hello,

We  have a requirement to place two logos on a customised site that  is entirely based on the web quick start sample application in Alfresco share. Each logo at the corner of the page: top far right and top far left. Is this possible? I have placed both logos in Afresco share but only one is recognised and displayed on the alfresco home page.


I have tried to add a second logo div to page.ftl to the homepage as below:
—-
<div id="logo">
<a href="${url.context}/">${webSite.description!}</a>
<#if webSite.title??><p class="logo-desc">${webSite.title}</p></#if>
</div>
——
But no success, as the second logo is not displayed. Do I have to modify the wqs source code in order to get the second logo recognised and displayed?

Cheers,
Dominic
6 REPLIES 6

bremmington
Champ on-the-rise
Champ on-the-rise
No, you can display any image wherever you want it. If, for example, you have a file named "logo2.jpg" in the root section of the website then <img src="/logo2.jpg" /> in your template should show it.

abbeydom
Champ in-the-making
Champ in-the-making
Problem solved. Thanks.

/Dominic

abbeydom
Champ in-the-making
Champ in-the-making
Brian,

Still having problem with resolving the url for the second logo on all the section (menu navigation) pages.
Understandably,  src="/logo2.jpg" />  displays the logo on the homepage only and not the sub (section pages) and with
src="../logo2.jpg" /> the logo is displayed on all the section pages except the homepage.

The logo is located on the root of the web quick start app.

Cheers,
Dominic

bremmington
Champ on-the-rise
Champ on-the-rise
<img src="/logo2.jpg" /> should work from all pages. Obviously the "/" before the "logo2.jpg" is important.

bremmington
Champ on-the-rise
Champ on-the-rise
Oh, sorry - your webapp probably isn't on the root context, so you'll need something like this:
<img src="${url.context}/logo2.jpg" />

abbeydom
Champ in-the-making
Champ in-the-making
That works on all the pages.

Thanks.