Jump to content
xt:Commerce Community Forum
Sign in to follow this  

Plugin Konstante global verfügbar machen klapt nicht

Recommended Posts

Hallo Leute (oldbear) habt ihr ein tip für mich wo steckt der bolzen


defined('_VALID_CALL') or die('Direct Access is not allowed.');

if (ACTIVATE_KOH_FLASH_BOX == 'true' && isset($xtPlugin->active_modules['koh_flash'])){

	require_once _SRV_WEBROOT._SRV_WEB_PLUGINS.'/koh_flash/classes/class.koh_flash.php';

   $koh_flash_box = new koh_flash(true);

   $koh_flash_list = $koh_flash_box->getkoh_flash();

   $show_box = true;

} else {

	$show_box = false;



defined('_VALID_CALL') or die('Direct Access is not allowed.');

class koh_flash extends products_list {

	function getkoh_flash () {

		global $xtPlugin, $xtLink, $db;

		$query_koh_flash = "SELECT products_flash_pre FROM ".TABLE_PRODUCTS." WHERE products_id='".(int)($GLOBALS[template]->content_smarty->_tpl_vars[products_id])."' LIMIT 0,1";

		$rs_koh_flash = $db->Execute($query_koh_flash);

		$flash_koh_flash =		$rs_koh_flash->fields['products_flash_pre'];

		$query = $this->sql_products->getSQL_query();


		return $module_content;




in der box template möchte ich die Konstane FLASHCLIP ausgeben aber sie bleibt leer?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...