[opencms-dev] opencms-dev Digest, Vol 182, Issue 2
Manoj.Sharma at nevagroup.com
Manoj.Sharma at nevagroup.com
Tue Apr 21 12:53:26 CEST 2015
Hi Johnen,
I would like to thank you first of all for your
reply. I tried to use site management tool available in opencms and when i
tried to add new site with in same domain like "xyz.com/test" it says that
twice entry as you can see in my previous message i have mention that i
wan to run two site with in same domain and i have also given the example.
Yes it is possible for add multiple site using site management tool for
differnt domain name but what if i want to create two site within same
domain for example:
i have a domain name like
http://xyz.com. which is running, but i want to run an another site in
different language like
http://xyz.com/pn.
How to achieve like this multisite functionality in this case. below is
the example which i want:
http://india.gov.in/ --------- this is for english portal
http://india.gov.in/hi/ --------- this is for hindi portal
Please Johnen try to help me in this scenario.
With Regards
Manoj Kumar Sharma
opencms-dev Digest, Vol 182, Issue 2
opencms-dev-request
to:
opencms-dev
04/21/2015 03:32 PM
Sent by:
opencms-dev-bounces at opencms.org
Please respond to opencms-dev
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of opencms-dev digest..."
Today's Topics:
1. Re: How to configure multisite in opencms 9 (Marc Johnen)
2. Direct editing: popup for complex type - also possible for a
list of elements? (Marc Johnen)
3. exporting groups from 7.5.0 into 9.5.1 (Christoph Kukulies)
4. Re: exporting groups from 7.5.0 into 9.5.1 (Schliemann, Kai)
5. Re: Direct editing: popup for complex type - also possible
for a list of elements? (Marc Johnen)
6. Re: exporting groups from 7.5.0 into 9.5.1 (Christoph Kukulies)
7. Navigation for mobile devices in OpenCms 9.5.x (Bootstrap)
(Christoph Kukulies)
8. Re: Navigation for mobile devices in OpenCms 9.5.x
(Bootstrap) (Schliemann, Kai)
9. Re: Direct editing: popup for complex type - also possible
for a list of elements? (Alberto Gallardo)
----------------------------------------------------------------------
Message: 1
Date: Mon, 20 Apr 2015 06:06:40 -0700 (MST)
From: Marc Johnen <opencms at johnen.biz>
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] How to configure multisite in opencms 9
Message-ID: <1429535200008-25274.post at n3.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi Manoj,
have a look at the documentation
http://documentation.opencms.org/opencms-documentation/server-installation/apache-webserver-configuration/
and the wiki http://www.opencms-wiki.org/wiki/.
Also OpenCms has an Admin-Interface called Site Management. It is using
some script that you can find under /WEB-INF/server-scripts/. Those should
also give you an idea how to configure your server.
They didn't work for me without changes for my linux distribution, though.
-----
Greetings
Marc Johnen
http://www.johnen.biz
--
View this message in context:
http://opencms.996256.n3.nabble.com/How-to-configure-multisite-in-opencms-9-tp25273p25274.html
Sent from the OpenCMS mailing list archive at Nabble.com.
------------------------------
Message: 2
Date: Mon, 20 Apr 2015 06:32:46 -0700 (MST)
From: Marc Johnen <opencms at johnen.biz>
To: opencms-dev at opencms.org
Subject: [opencms-dev] Direct editing: popup for complex type - also
possible for a list of elements?
Message-ID: <1429536766936-25275.post at n3.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi everyone,
I very much like the new feature with the popup, like you can see for
example in the demo (9.5.1) on the page
/grid-demo/element-pages/text-elements/index.html.
When you click into one of the text-boxes you get a button to add a link
which has a text and an uri. The button opens a pop with an edit-diallog
only for his element.
I'm trying to implement something similar but with a list of elements.
This
I'm using to edit element in the page footer.
At the end of this mail you can se the schema, it's quite simple.
In my formatter I try to implement the direct editing like this:
<div>
<c:if test="${value.Title.exists and ''!=value.Title}">
<div class="headline"
${rdfa.Title}>${value.Title}</div>
<hr>
</c:if>
<ul>
<c:forEach var="entry"
items="${content.valueList.Links}">
<li ${linkClass}
${rdfa.Links}>
${entry.value.TextLink}
</li>
</c:forEach>
</ul>
</div>
When trying to edit the elements, the editbuttons are shown correctly and
the popup opens, but as soon as I edit anything I get an error message
"(TypeError) __gwt$exception: : Cannot read property 'innerHTML' of null".
When I close the dialog and reload the page, the values have been altered
correctly.
Here are two screenshot:
http://johnen.biz/direct-editing-1.png
http://johnen.biz/direct-editing-2.png
So now I'm wondering, is this not fully implemented yet? Am I doing
something wrong?
pagefooterlinks.xsd
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/>
<xsd:include
schemaLocation="opencms://system/modules/biz.johnen.bootstrap.schemas/schemas/nested/pagefooterlink.xsd"/>
<xsd:element name="Pagefooterlinkss"
type="OpenCmsPagefooterlinkss"/>
<xsd:complexType name="OpenCmsPagefooterlinkss">
<xsd:sequence>
<xsd:element
name="Pagefooterlinks" type="OpenCmsPagefooterlinks"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OpenCmsPagefooterlinks">
<xsd:sequence>
<xsd:element name="Title"
type="OpenCmsString" />
<xsd:element name="Links"
type="OpenCmsPagefooterlinksEntry"
minOccurs="1" maxOccurs="50"/>
</xsd:sequence>
<xsd:attribute name="language"
type="OpenCmsLocale" use="required"/>
</xsd:complexType>
...
</xsd:schema>
pagefooterlink.xsd:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/>
<xsd:element name="PagefooterlinksEntrys"
type="OpenCmsPagefooterlinksEntrys"/>
<xsd:complexType name="OpenCmsPagefooterlinksEntrys">
<xsd:sequence>
<xsd:element
name="PagefooterlinksEntry"
type="OpenCmsPagefooterlinksEntry" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OpenCmsPagefooterlinksEntry">
<xsd:sequence>
<xsd:element name="Link"
type="OpenCmsVarLink" />
<xsd:element
name="TextLink" type="OpenCmsString" />
<xsd:element name="Popup"
type="OpenCmsBoolean" />
</xsd:sequence>
<xsd:attribute name="language"
type="OpenCmsLocale" use="optional"/>
</xsd:complexType>
...
</xsd:schema>
-----
Greetings
Marc Johnen
http://www.johnen.biz
--
View this message in context:
http://opencms.996256.n3.nabble.com/Direct-editing-popup-for-complex-type-also-possible-for-a-list-of-elements-tp25275.html
Sent from the OpenCMS mailing list archive at Nabble.com.
------------------------------
Message: 3
Date: Mon, 20 Apr 2015 16:39:22 +0200
From: Christoph Kukulies <kuku at physik.rwth-aachen.de>
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: [opencms-dev] exporting groups from 7.5.0 into 9.5.1
Message-ID: <55350F9A.6050906 at physik.rwth-aachen.de>
Content-Type: text/plain; charset="utf-8"; format=flowed
I'm short before launching a site but still have the task of migrating the
users from 7.5.0 into 9.5.1. I can export users of certain groups into a
CSV-file.
But not the groups themselves, right? Do I have to re-create the groups.
I've seen errors happening during import of data when groups do not
exist in the target system.
Is there a way around this other than creating the old groups in the
target system manually first?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
------------------------------
Message: 4
Date: Mon, 20 Apr 2015 16:32:11 +0000
From: "Schliemann, Kai" <k.schliemann at forwerts.com>
To: "kuku at physik.rwth-aachen.de" <kuku at physik.rwth-aachen.de>, "The
OpenCms mailing list"
<opencms-dev at opencms.org>
Subject: Re: [opencms-dev] exporting groups from 7.5.0 into 9.5.1
Message-ID:
<DBXPR03MB510CA47BAA306270650C568F8E00 at DBXPR03MB510.eurprd03.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Chris,
did you try a database export with the checkbox "export users and groups"
(or similar) checked in your old system?
I did that and chose just a dummy file for export in order to get the
groups and users from one system to another.
I did not try, if that works from 7.5 to 9.5.1. Please let me know, if
that works.
Best regards
Kai
-----Urspr?ngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [
mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
Gesendet: Montag, 20. April 2015 16:39
An: The OpenCms mailing list
Betreff: [opencms-dev] exporting groups from 7.5.0 into 9.5.1
I'm short before launching a site but still have the task of migrating the
users from 7.5.0 into 9.5.1. I can export users of certain groups into a
CSV-file.
But not the groups themselves, right? Do I have to re-create the groups.
I've seen errors happening during import of data when groups do not exist
in the target system.
Is there a way around this other than creating the old groups in the
target system manually first?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
------------------------------
Message: 5
Date: Mon, 20 Apr 2015 11:04:53 -0700 (MST)
From: Marc Johnen <opencms at johnen.biz>
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Direct editing: popup for complex type -
also possible for a list of elements?
Message-ID: <1429553093941-25278.post at n3.nabble.com>
Content-Type: text/plain; charset=us-ascii
Sorry for that question. It is actually documented here :
http://documentation.opencms.org/opencms-documentation/content-in-opencms/formatters-and-their-configuration/configuring-inline-editing/
The correct syntax would be
...
<li ${linkClass} ${entry.rdfaAttr}>
...
I'm still wondering why it only shows buttons to move items up and not
down.
-----
Greetings
Marc Johnen
http://www.johnen.biz
--
View this message in context:
http://opencms.996256.n3.nabble.com/Direct-editing-popup-for-complex-type-also-possible-for-a-list-of-elements-tp25275p25278.html
Sent from the OpenCMS mailing list archive at Nabble.com.
------------------------------
Message: 6
Date: Tue, 21 Apr 2015 08:55:05 +0200
From: Christoph Kukulies <kuku at physik.rwth-aachen.de>
To: "Schliemann, Kai" <k.schliemann at forwerts.com>, The OpenCms mailing
list <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] exporting groups from 7.5.0 into 9.5.1
Message-ID: <5535F449.3090502 at physik.rwth-aachen.de>
Content-Type: text/plain; charset="windows-1252"; format=flowed
Thanks, Kai,
export "with account data" ticked on seems to do the trick.
Am 20.04.2015 um 18:32 schrieb Schliemann, Kai:
> Hi Chris,
> did you try a database export with the checkbox "export users and
groups" (or similar) checked in your old system?
> I did that and chose just a dummy file for export in order to get the
groups and users from one system to another.
> I did not try, if that works from 7.5 to 9.5.1. Please let me know, if
that works.
> Best regards
> Kai
>
> -----Urspr?ngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org [
mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
> Gesendet: Montag, 20. April 2015 16:39
> An: The OpenCms mailing list
> Betreff: [opencms-dev] exporting groups from 7.5.0 into 9.5.1
>
> I'm short before launching a site but still have the task of migrating
the users from 7.5.0 into 9.5.1. I can export users of certain groups into
a CSV-file.
>
> But not the groups themselves, right? Do I have to re-create the groups.
>
> I've seen errors happening during import of data when groups do not
exist in the target system.
> Is there a way around this other than creating the old groups in the
target system manually first?
> th-aachen.de
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
------------------------------
Message: 7
Date: Tue, 21 Apr 2015 10:44:54 +0200
From: Christoph Kukulies <kuku at physik.rwth-aachen.de>
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: [opencms-dev] Navigation for mobile devices in OpenCms 9.5.x
(Bootstrap)
Message-ID: <55360E06.2030304 at physik.rwth-aachen.de>
Content-Type: text/plain; charset="utf-8"; format=flowed
In the last minute I discovered that my 9.5.1 based site doesn't show
the navigation bar
in narrower devices (like iPhone6) in portrait format.
I had thought the navbar would wrap around at narrower widths but
actually it disappears.
Don't know why but it's difficult to redesign something from ground up
now.
So I need a workaround. Anyone having an idea?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
------------------------------
Message: 8
Date: Tue, 21 Apr 2015 09:05:40 +0000
From: "Schliemann, Kai" <k.schliemann at forwerts.com>
To: "kuku at physik.rwth-aachen.de" <kuku at physik.rwth-aachen.de>, "The
OpenCms mailing list"
<opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Navigation for mobile devices in OpenCms
9.5.x (Bootstrap)
Message-ID:
<DBXPR03MB5101662E5CEB35C360EB012F8EF0 at DBXPR03MB510.eurprd03.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Chris,
the answer depends mainly on your HTML / CSS layout.
Actually you should be able to define a CSS rule for the navbar for the
different devices or resolutions.
But I assume, that you have already defined those so called media queries
in your CSS files.
They usually start like this:
@media (max-width: 480px) {
...
Maybe you just have to find the correct media query and add (or bug fix) a
behavior for your navbar.
HTH
Best regards
Kai
-----Urspr?ngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [
mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
Gesendet: Dienstag, 21. April 2015 10:45
An: The OpenCms mailing list
Betreff: [opencms-dev] Navigation for mobile devices in OpenCms 9.5.x
(Bootstrap)
In the last minute I discovered that my 9.5.1 based site doesn't show the
navigation bar in narrower devices (like iPhone6) in portrait format.
I had thought the navbar would wrap around at narrower widths but actually
it disappears.
Don't know why but it's difficult to redesign something from ground up
now.
So I need a workaround. Anyone having an idea?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
------------------------------
Message: 9
Date: Tue, 21 Apr 2015 11:40:30 +0200
From: Alberto Gallardo <argrico at gmail.com>
To: The OpenCms mailing list <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] Direct editing: popup for complex type -
also possible for a list of elements?
Message-ID:
<CA+zs-Pyq8hL+F_YQApg3uNmE9yL1CaXzbZ_jqsR9wMusG0oqFQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
As OT, you could use value.isEmptyOrWhiteSpaceOnly in your EL test (
http://documentation.opencms.org/javadoc/core/org/opencms/jsp/util/CmsJspContentAccessValueWrapper.html#getIsEmptyOrWhitespaceOnly()
)
Regards,
Alberto
2015-04-20 15:32 GMT+02:00 Marc Johnen <opencms at johnen.biz>:
> [...]
> <c:if test="${value.Title.exists and ''!=value.Title}">
> <div class="headline" ${rdfa.Title}>${value.Title}</div>
> <hr>
> </c:if>
> [...]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.opencms.org/pipermail/opencms-dev/attachments/20150421/a6ec8eeb/attachment-0001.html
>
------------------------------
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
End of opencms-dev Digest, Vol 182, Issue 2
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150421/ced41d82/attachment.htm>
More information about the opencms-dev
mailing list