Jump to content
xt:Commerce Community Forum

Bin absolut verzweifelt - bitte um Hilfe


Recommended Posts

So, ich habe mich nun durch alle Banner-Threats gelesen bis 2006 und ich kriege meinen Bannermanager einfach nicht hin:

bei index.html. habe ich hier meinen Banner eingebaut:

<td><br>{$box_CART}{$box_LOGIN}{$box_NEWSLETTER}{$box_LANGUAGES}{$box_ADMIN}{$box_BANNER}</td>

meine box_banner.html lautet so:

{config_load file="$language/lang_$language.conf" section="boxes"}

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr style="background:url({$tpl_path}img/box_header.png) no-repeat left;height:21px;">

<td class="infoBoxHeading_right">{#heading_customer_group_info#} </td>

</tr>

<tr style="background:url({$tpl_path}img/box_bg.png) repeat-y left;">

<td style="padding:15px 10px 10px 10px;">

<table width="95%" border="0" cellpadding="2" cellspacing="0">

<tr>

<td align="center" class="boxText">{$BOX_BANNER}</td>

</tr>

</table>

</td>

</tr>

<tr style="background:url({$tpl_path}img/box_bottom.png) no-repeat left; height:21px;">

<td > </td>

</tr>

</table>

<br />

meine Banner.php:

<?php

/* -----------------------------------------------------------------------------------------

$Id: information.php 1302 2005-10-12 16:21:29Z mz $

XT-Commerce - community made shopping

http://www.xt-commerce.com

Copyright © 2003 XT-Commerce

-----------------------------------------------------------------------------------------

based on:

© 2000-2001 The Exchange Project (earlier name of osCommerce)

© 2002-2003 osCommerce(information.php,v 1.6 2003/02/10); www.oscommerce.com

© 2003 nextcommerce (information.php,v 1.8 2003/08/21); www.nextcommerce.org

Released under the GNU General Public License

---------------------------------------------------------------------------------------*/

$box_smarty = new smarty;

$content_string = '';

$box_smarty->assign('language', $_SESSION['language']);

// set cache ID

if (!CacheCheck()) {

$cache=false;

$box_smarty->caching = 0;

} else {

$cache=true;

$box_smarty->caching = 1;

$box_smarty->cache_lifetime = CACHE_LIFETIME;

$box_smarty->cache_modified_check = CACHE_CHECK;

$cache_id = $_SESSION['language'].$_SESSION['customers_status']['customers_status_id'];

}

if (!$box_smarty->is_cached(CURRENT_TEMPLATE.'/boxes/box_information.html', $cache_id) || !$cache) {

$box_smarty->assign('tpl_path', 'templates/'.CURRENT_TEMPLATE.'/');

if (GROUP_CHECK == 'true') {

$group_check = "and group_ids LIKE '%c_".$_SESSION['customers_status']['customers_status_id']."_group%'";

}

$content_query = "SELECT

content_id,

categories_id,

parent_id,

content_title,

content_group

FROM ".TABLE_CONTENT_MANAGER."

WHERE languages_id='".(int) $_SESSION['languages_id']."'

and file_flag=2 ".$group_check." and content_status=1 order by sort_order";

$content_query = xtDBquery($content_query);

while ($content_data = xtc_db_fetch_array($content_query, true)) {

$SEF_parameter = '';

if (SEARCH_ENGINE_FRIENDLY_URLS == 'true')

$SEF_parameter = '&product='.xtc_cleanName($content_data['content_title']);

$content_string .= '<img src="templates/'.CURRENT_TEMPLATE.'/img/icon_arrow.jpg" alt="" /> <a href="'.xtc_href_link(FILENAME_CONTENT, 'coID='.$content_data['content_group'].$SEF_parameter).'">'.$content_data['content_title'].'</a><br />';

}

if ($content_string != '')

$box_smarty->assign('BOX_CONTENT', $content_string);

}

if (!$cache) {

$box_information = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_BANNER.html');

} else {

$box_information = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_BANNER.html', $cache_id);

}

$smarty->assign('box_BANNER', $box_BANNER);

?>

----------------------------------------------------

und meine

banner_infobox-1.png habe ich auf 777 gesetzt.

---------------------------------------------------

Trotzdem zeigt mir der Bannermanager keinen einzigen Banner auf meiner Website an, bringt nur die Fehlermeldung:

Warning: include(includes/graphs/banner_infobox.php) [function.include]: failed to open stream: No such file or directory in /kunden/159228_33604/rp-hosting/10053/80057/admin/banner_manager.php on line 398

Warning: include() [function.include]: Failed opening 'includes/graphs/banner_infobox.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/159228_33604/rp-hosting/10053/80057/admin/banner_manager.php on line 398

---------------------------------------------------------

Das mit den Bannergruppen habe ich auch schon in allen Formen ausprobiert!

Für Eure Hilfe für eine absolut verzweifelte Frau wäre ich sehr dankbar! :D

Heidi

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...