|
|||
|
Hallo,
also so langsam´komm ich nicht mehr klar. Ich habe versucht mir unter der Anleitung von http://self-commerce.de/kb.php?mode=article&k=6 neue Boxen zu erstellen. Ich habe alles gemacht so wie es da stand nur leider zeigt es mir die Boxen nicht an. Was mache ich falsch??? box_links.php <?php /* ----------------------------------------------------------------------------------------- $Id: information.php 1262 2005-09-30 10:00:32Z mz $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright (c) 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: (c) 2000-2001 The Exchange Project (earlier name of osCommerce) (c) 2002-2003 osCommerce(links.php,v 1.6 2003/02/10); www.oscommerce.com (c) 2003 nextcommerce (links.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']; } if (!$box_smarty->is_cached(CURRENT_TEMPLATE.'/boxes/box_links.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=0 ".$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.png" 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_links = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_links.html'); } else { $box_links = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_links.html', $cache_id); } $smarty->assign('box_LINKS', $box_links); ?> box_links.html {config_load file="$language/lang_$language.conf" section="boxes"} {#heading_linkbox#} {$BOX_CONTENT} index.html {config_load file="$language/lang_$language.conf" section="index"} {if $account}{php} if (isset($_SESSION['customer_id'])) { {/php} {#link_logoff#}{php} } {/php}{/if} {if $account} {/if} {#link_account#} {#link_checkout#} {#link_cart#} {$navtrail} {$box_CATEGORIES} {$box_CONTENT}{$box_INFORMATION} {$box_LAST_VIEWED} {$box_REVIEWS} {$box_SEARCH} {$box_SPECIALS}{$box_LINKS} {$main_content} {$box_CART}{$box_LOGIN} {$box_ADMIN} {$box_NEWSLETTER}{$box_BESTSELLERS}{$box_WHATSNEW} {$box_INFOBOX} {$box_CURRENCIES} {$box_LANGUAGES} {if $BANNER} {$BANNER} {/if} im Content Manager kann ich auch links anwählen und mache auch das Häckchen bei anzeigen rein aber nix passiert. Grrrrr bin ich etwa doch zu doof ??? |
|
|||
|
Sie haben in box_links.php dieser code stehen:
WHERE languages_id='".(int) $_SESSION['languages_id']."' and file_flag=0 ".$group_check." and content_status=1 order by sort_order"; file_flag=0 mussen Sie anderen in file_flag=2 |
![]() |
| Lesezeichen |
| Stichworte |
| boxen, dringend, hilfe |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| BITTE DRINGEND UM HILFE !! - Es wird 16% MWST | des-ign | Installation und Konfiguration | 2 | 27.10.2007 10:03 |
| Brauche dringend Hilfe habe fehlermelung | Flora | Installation und Konfiguration | 7 | 10.04.2007 21:46 |
| HILFE - Boxen werden teils nicht angezeigt und komische Textausgabe bei Boxen-Links | e-h-bikestore | Template System | 0 | 11.12.2006 12:12 |