Hello Guillaume,
What Jahia version do you use?
1) There is no possibility to change the type of the database later on.
You could use Jahia export/import feature to transfer most of the
content (virtual sites, users and groups, content objects etc.) from one
Jahia installation to another
2) You can access the metadata field value by using, e.g. the following
API (
http://www.jahia.org/javadoc-dev_5/org/jahia/content/ContentObject.html#getMetadataValue(java.lang.String,%20org.jahia.params.ProcessingContext,%20java.lang.String)
):
ContentContainer container = ...;
String metadatalastPublished =
container.getMetadataValue("lastPublishingDate", jParams, "");
You can also check the example of getting the last publishing data of
the page in the top.inc JSP:
https://svndev.jahia.net/svn/corporate_portal_templates_v2/trunk/src/jsp/common/top.incKind regards
Sergiy
KUHMEL Guillaume wrote:
> Hi,
>
> Two points today :
> - How can in the server administration can i change the type of
> the database I use "on-the-fly" as mentionned on the administrator
> guide? i need to change from hypersonic to oracle and to keep my content.
> - In template developpment, how can i access Dublin Core metadata on a
> container (i need to access the publication date of a container) ?
>
> Thanks a lot
> ------------------------------------------------------------------------
>
> _______________________________________________
> dev_list mailing list
>
dev_list@...
>
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list>
_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list