-
Clone the base repository into
oro-platform
directory:git clone [email protected]:lolautruche/platform.git oro-platform git remote add upstream [email protected]:orocrm/platform.git git config branch.master.remote upstream
-
Run the 2 shell scripts,
split_oro_config_component.sh
andsplit_oro_distribution_bundle.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function trashSubtree( $locationId ) | |
{ | |
$location = $this->load( $locationId ); | |
// Create new trashed location and remove original location from tree | |
$params = (array)$location; | |
$params['locationId'] = $locationId; | |
// Be sure to not overlap id | |
unset( $params['id'] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>JQuery - FadeIn() et FadeOut() - Exemple</title> | |
<script type="text/javascript" src="jquery-1.3.1.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$("#boutonFadeOut").click(function () { | |
$("#contenu").fadeOut(); | |
}); | |
$("#boutonFadeIn").click(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Router script for running eZ Publish CMS on top of PHP 5.4 built-in webserver | |
// WARNING !!! Use it for development purpose ONLY !!! | |
// This script is provided as is, use it at your own risk | |
// Determine which script to redirect to depending on rewrite rule to apply | |
// If the request needs to be served directly, $script needs to be null | |
$uri = $_SERVER['REQUEST_URI']; | |
$script = 'index.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Router script for running eZ Publish CMS on top of PHP 5.4 built-in webserver | |
* WARNING !!! Use it for DEVELOPMENT purpose ONLY !!! | |
* This script is provided as is, use it at your own risk ! | |
* | |
* @copyright Copyright (C) 2011 Jérôme Vieilledent. All rights reserved. | |
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* AcmeTestBundle/Controller/AdminController.php | |
*/ | |
namespace Acme\TestBundle\Controller; | |
use eZ\Bundle\EzPublishCoreBundle\Controller; | |
/** | |
* Here is your Symfony controller, defined as a service (see service definition below) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Composer\Package\Version\VersionParser; | |
require 'vendor/autoload.php'; | |
$parser = new VersionParser(); | |
$constraint = $parser->parseConstraints('2013.09.*'); | |
$single = $parser->parseConstraints('v2013.09.0'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\TestBundle\Controller; | |
use eZ\Publish\Core\Pagination\Pagerfanta\ContentSearchAdapter; | |
use Pagerfanta\Pagerfanta; | |
use Symfony\Component\HttpFoundation\Response; | |
use eZ\Bundle\EzPublishCoreBundle\Controller; | |
use eZ\Publish\API\Repository\Values\Content\Query\Criterion\ContentTypeIdentifier; | |
use eZ\Publish\API\Repository\Values\Content\Query; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set html = content.getFieldValue( "my_xmltext_field" ).xml|xmltext_to_html5 %} | |
<div> | |
{{ html }} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# Pagelayout from SiteBundle #} | |
{% block menu %} | |
{# Assuming you may have your own menu markup here as well #} | |
{# Defaults to the current route, unless routeRef is already defined #} | |
{% set routeRef = routeRef|default( ez_route( params={"language": "esl-ES"} ) ) %} | |
{% endblock %} |
OlderNewer