Diese Seite (Version-1) wurde zuletzt am 28-März-2017 14:37 von UnbekannterAutor geändert.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 1: 119 Zeilen hinzugefügt.
[{ALLOW view All}]
[{ALLOW edit Authenticated}]
[{TableOfContents }]
!Integrate OpenCMS in Eclipse
1. Download source code, see [RevisionControl|http://www.opencms.org/en/development/revision-control.html] or in the [wiki|http://www.opencms-wiki.org/wiki/Developing_OpenCms_with_Eclipse]
* Install [EGit|http://download.eclipse.org/egit/updates],
* Open persepctive "Git Repository Exploring" > Clone a Git Repository..."
|Host|github.com
|Repository Path|/alkacon/opencms-core
|Protocol|git
*Select all
*Initial branch = branch_9_0_x
Note: Alternatively browse source code [here|https://github.com/alkacon/opencms-core]
Note: Compiling, see [Core Build|http://www.opencms.org/en/development/core_old.html]
2. Create project
* In the view "Git Repositories" right click on opencms-core > "Import Projects..."
* Choose "Import as general project"
* Change perspective and right click on the new project > Properties
* Choose "Project Facets" > Change to faceted form
* Choose "Java"
* Choose "Dynamic Web Module" and "webapp" as Web Folder
3. Setup classpath as described in the [wiki|http://www.opencms-wiki.org/wiki/Developing_OpenCms_with_Eclipse#Configuring_the_OpenCms_Project]
* Create Uer libs for each
** Open Build Path > "Add Library..." > "User Library"
** "User Libraries..." > "New..." > Choose name like "opencms_lib_compile" > OK
** "Add JARs..." > Add all jars from the folder (You can select all in a subfolder with Shift) > OK
** Finish > OK
Here are the required jars
* /lib/compile/*
* /lib/runtime/*
* Your database driver
* Your Server container
* Exclude in "opencms-core/src-gwt"
** All (=*)
* Exclude in "opencms-core/test"
** data/**
** org/opencms/util/ant/
!Icons
|[Font Awesome 4.0.3|http://fortawesome.github.io/Font-Awesome/]|Font|<i class="fa-bell"></i>
|[Font Awesome 3.2.1|http://fortawesome.github.io/Font-Awesome/3.2.1/icons/]|Font|<i class="icon-road"></i>
|[Bootstrap Glyphicons|http://marcoceppi.github.io/bootstrap-glyphicons/]|Small PNG Graphics|<img src="/path/glyphicons_333_bell.png"></img>
!Implement Font Awesome 4.0.3
* Create any folder called "fonts"
* copy all files from /fonts/* /css/font-awesome.min.css from the download into this folder
*include css in template
* Use as
{{{
<i class="fa fa-cog fa-5x"></i>
}}}
__Note:__ The font files (in folder fonts) are not loaded in online mode. You need to copy those files manually into the export folder according to your font-awesome location (../webapps/opencms/export/system/modules/..)
!CSS @media screen and (min-width: 780px)
@media css tag does not work in IE8, but with the [respond|https://github.com/scottjehl/Respond] javascript lib, you can enable it.
{{{
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript" src="/path/css3-mediaqueries.js"></script>
}}}
Alternatively you can use the [jQuery plugin|https://plugins.jquery.com/] with name [css3-mediaqueries|https://code.google.com/p/css3-mediaqueries-js/], see this [blog|http://cssmatter.com/blog/ie7-and-ie8-support-for-css3-media-query/]
!Backup / Import / Export / Move between Dev and Prod
See also [mysql|MySql#section-MySql-BackupMySQLDatePlanner]
Export or Backup:
{{{
mysqldump -u YourUser -pYourPassword opencms > /path/opencms.sql
}}}
Import or Restore:
{{{
mysql -u YourUser -pYourPassword opencms < /path/opencms.sql
}}}
! Calendar Plugin
Note: If you have multiple detail entries only the last entry is shown repeatedly, reported [here|https://github.com/alkacon/alkacon-oamp/issues/27].\\
So I quit with this plugin. In the end I would simply use [full calendar|http://arshaw.com/fullcalendar/] directly and add calendar entries through the Google Calendar API\\
You need to fix also this [bug|https://github.com/alkacon/alkacon-oamp/issues/17].
Anyway, if you want to try:\\
# Import:\\
## com.alkacon.opencms.commons_1.0.x.zip\\
## com.alkacon.opencms.v8.calendar_2.0.x.zip\\
# Added to WEB-INF/lib/
##com.alkacon.opencms.commons.jar
##com.alkacon.opencms.v8.calendar.jar
#Edit WEB-INF/config/opencms-vfs.xml
{{{
<widgets>
<widget class="com.alkacon.opencms.v8.calendar.CmsSerialDateWidget"
alias="V8SerialDateWidget"/>
<widget class="com.alkacon.opencms.v8.calendar.CmsSerialDateSelectWidget"
alias="V8SerialDateSelectWidget"/>
</widgets>
}}}
You may have also issues with the [translation|http://searchcode.com/codesearch/view/15539588], please have a look here:
{{{
/modules/org.opencms.workplace/resources/system/workplace/resources/components/js_calendar/lang/calendar-de.js
/system/modules/com.alkacon.opencms.v8.calendar/pages/modernoverview.html
}}}
! Kona Kart Shopping Module
[KonaKart|http://www.konakart.com/downloads/open-cms-module]