Joomla 3.4 einbinden

In case you have any problems with CrazyStat
Forum rules
Please read FAQ and search the forum before asking questions here.
Always include your CrazyStat version number.
CrazyStat documentation can be found here.

Preferred language of discussion is English so most users can profit from your threads, but German is okay as well.

Bevorzugte Sprache ist Englisch, damit möglichst viele Nutzer von den Threads profitieren können, aber Deutsch wird auch akzeptiert.
Post Reply
Carmen
Posts: 1
Joined: Thu Mar 03, 2016 7:00 pm

Joomla 3.4 einbinden

Post by Carmen » Thu Mar 03, 2016 7:12 pm

Bekomme es nicht fertig, den Counter in Joomla 3.4... einzubinden.

@include_once("stat/src/include.php");

Die index.php von Joomla füge ich folgend bei:

Wie soll man das machen?
.....................................................................
<?php
/**
* @package Joomla.Site
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '5.3.10');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}

/**
* Constant that is checked in included files to prevent direct access.
* define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);

if (file_exists(__DIR__ . '/defines.php'))
{
include_once __DIR__ . '/defines.php';
}

if (!defined('_JDEFINES'))
{
define('JPATH_BASE', __DIR__);
require_once JPATH_BASE . '/includes/defines.php';
}

require_once JPATH_BASE . '/includes/framework.php';

// Mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Execute the application.
$app->execute();

Christopher
Site Admin
Posts: 162
Joined: Sat Mar 03, 2012 10:30 pm
Location: Germany

Re: Joomla 3.4 einbinden

Post by Christopher » Sat Mar 05, 2016 10:19 pm

Hallo Carmen,

ich kenne mich mit Joomla nicht aus, aber die Einbindung müsste irgendwo im Template / Theme oder wie auch immer Joomla das nennt rein...

LG,
Christopher
I try to support my users as best as I can.
Please support me and CrazyStat in return. Thanks.

Post Reply