Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index

Hi Erich, *,

On Fri, Nov 25, 2011 at 1:07 PM, Erich Christian <> wrote:
Am 25.11.2011 12:48, schrieb Christian Lohmaier:
On Fri, Nov 25, 2011 at 10:50 AM, Florian Effenberger
<> wrote:
-------- Original Message --------
Subject:        Corrections in Web site in English Language
either the default "home" one, or the page explicitly marked as
"default homepage for domain"..
Let's see what is special about the two that makes the template fail...

Thanks for checking, both subsites looked okay at first sight, placing
the URL did not help the spanish site online ...

The problem this time is not in the php, but in the template... The
homepages for Spanish and Serbian sites don't have a Title/Pagename
But the template (Includes/Subsiteslist.php) contains:

<% if SubsitesListing %>
<ul class="subsitelist table"><% control SubsitesListing %>
 <li class="$Lang"><% if Homepagetitle %><a href="$Domainlink"
title="$Homepagetitle">$Domainlink</a><% else %><div title="Project
exists, but didn't define a homepage yet">$Domainlink</div><% end_if
%><div>$LangNative</div>$LangEnglish</li><% end_control %>
<% end_if %>

The If HomepageTitle is wrong - in the php, a dedicated property
"Notonline" is defined when no homepage can be fund as described above
(neither "home" as URLSegment, nor "use as default for domain" is

Fixed the logic to check for "if Notonline" instead:

 <li class="$Lang"><% if Notonline %><div title="Project exists, but
didn't define a homepage yet">$Domainlink</div><% else %><a
href="$Domainlink" title="$Homepagetitle">$Domainlink</a><% end_if
%><div>$LangNative</div>$LangEnglish</li><% end_control %>

Thanks once again for the bug-report.


Unsubscribe instructions: E-mail to
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.