Benutzer:Elkuku/Proyektz/EasyCreator/Customize your personal data

Aus Joomla! Dokumentation
Wechseln zu: Navigation, Suche

24px-Tip.png There are some files you should edit before creating your first project.

Inhaltsverzeichnis

[Bearbeiten] Personal Data

These are your personal data (aka credits) that will be placed in file headers and xml install files.

[Bearbeiten] EasyCreator 0.0.12 and above

Go to EasyCreator's Configuration and adjust your settings.

[Bearbeiten] EasyCreator 0.0.11 and below

Edit the ini style file and adjust your settings.

[Bearbeiten] INI file

  • Folder blue.png administrator
    • Folder blue.png components
      • Folder blue.png com_easycreator
        • Folder blue.png templates
          • Folder blue.png std
            • File txt.png credits.ini

[Bearbeiten] Example

# @version $Id: credits.ini 756 2008-12-08 14:24:02Z elkuku $
# Standard credits
 
EBC_AUTHOR=Nikolai Plath
AUTHOREMAIL=info@easy-joomla.org
AUTHORURL=http://www.easy-joomla.org
LICENSE=http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
COPYRIGHT=Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.


[Bearbeiten] Standard file header

This is the standard header that will be placed on top of each file generated with EasyCreator. As you may suppose, the stuff written in all caps are placeholders that will be replaced with the appropriate values you entered as your project name and with data from your personal data (see below).

You can modify this file to suite your needs.

[Bearbeiten] File location

  • Folder blue.png administrator
    • Folder blue.png components
      • Folder blue.png com_easycreator
        • Folder blue.png templates
          • Folder blue.png std
            • File txt.png credits.ini
              • File php.png header.php

[Bearbeiten] Example

/**
 * @version $Id$
 * @package    _EBC_COM_NAME_
 * @subpackage _ECR_SUBPACKAGE_
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     EBC_AUTHOR {@link AUTHORURL}
 * @author     Created on _EBC_ACT_DATE_
 */
 
//-- No direct access
defined('_JEXEC') or die('=;)');

[Bearbeiten] Standard header usage in extension templates

So all you have to do to include the header information into your template files is writing

##*HEADER*##

[Bearbeiten] Example

File php.png yourfile.php

<?php
##*HEADER*##
 
//-- Your code here...
//-- ...
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sonstiges
Team Navigation
Werkzeuge