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

Aus Joomla! Dokumentation

Wechseln zu: Navigation, Suche

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

Inhaltsverzeichnis

Personal Data

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

EasyCreator 0.0.12 and above

Go to EasyCreator's Configuration and adjust your settings.

EasyCreator 0.0.11 and below

Edit the ini style file and adjust your settings.

INI file

  • Datei:folder_blue.png administrator
    • Datei:folder_blue.png components
      • Datei:folder_blue.png com_easycreator
        • Datei:folder_blue.png templates
          • Datei:folder_blue.png std
            • Datei:file_txt.png credits.ini

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.


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.

File location

  • Datei:folder_blue.png administrator
    • Datei:folder_blue.png components
      • Datei:folder_blue.png com_easycreator
        • Datei:folder_blue.png templates
          • Datei:folder_blue.png std
            • Datei:file_txt.png credits.ini
              • Datei:file_php.png header.php

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('=;)');

Standard header usage in extension templates

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

##*HEADER*##

Example

Datei:file_php.png yourfile.php

<?php
##*HEADER*##
 
//-- Your code here...
//-- ...
Persönliche Werkzeuge
Team Navigation