Benutzer:Elkuku/Proyektz/EasyCreator/Customize your personal data
Aus Joomla! Dokumentation
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
[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
[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
<?php ##*HEADER*## //-- Your code here... //-- ...