#1 (permalink)  
Alt 04.05.2008, 11:54
Benutzer
 
Registriert seit: 29.03.2006
Beiträge: 55
Standard Contents nebeneinander

Hallo,
ich arbeite gerade an einem Template und dazu will ich die Contents (also AGB, Versandkosten,....) nebeneinander und nicht untereinander haben.

Was muss ich dazu ändern?
Danke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 05.05.2008, 08:57
xt:Commerce Support Kunde
 
Registriert seit: 20.09.2006
Beiträge: 168
Standard

Hi,
es muessen Aenderungen an zwei Stellen gemacht werden:

1.) Je nach dem die /template/sources/boxes/content.php bzw. information.php

Und

2.) die entsprechende /template/boxes/content.html bzw. information.html

Gruss,
Uwe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 05.05.2008, 16:17
Benutzer
 
Registriert seit: 29.03.2006
Beiträge: 55
Standard

Danke für die Antwort, aber kannst du mir auch sagen, was genau ich in den Dateien bearbeiten muss?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 05.05.2008, 17:24
xt:Commerce Support Kunde
 
Registriert seit: 20.09.2006
Beiträge: 168
Standard

Kurze Antwort ist ja.

Ich kenne ja Dein Template nicht, aber ich vermute mal Du willst das Zeug irgendwo im Footer der Seite unterbringen...

Veruch mal das - box_content.html:

HTML-Code:
{config_load file="$language/lang_$language.conf" section="boxes"}

|  {$BOX_CONTENT}
und das - /source/boxes/content.php:

PHP-Code:
<?php

/* -----------------------------------------------------------------------------------------
   $Id: content.php 1302 2005-10-12 16:21:29Z 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(information.php,v 1.6 2003/02/10); www.oscommerce.com 
   (c) 2003     nextcommerce (content.php,v 1.2 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_content.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=1 "
.$group_check." and content_status=1 order by sort_order";

    
$content_query xtDBquery($content_query);

    while (
$content_data xtc_db_fetch_array($content_querytrue)) {
        
$SEF_parameter '';
        if (
SEARCH_ENGINE_FRIENDLY_URLS == 'true')
            
$SEF_parameter '&content='.xtc_cleanName($content_data['content_title']);

        
$content_string .= '&nbsp;&nbsp;<a href="'.xtc_href_link(FILENAME_CONTENT'coID='.$content_data['content_group'].$SEF_parameter).'">'.$content_data['content_title'].'</a>&nbsp;&nbsp;|';
    }
    if (
$content_string != '')
        
$box_smarty->assign('BOX_CONTENT'$content_string);

}

if (!
$cache) {
    
$box_content $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_content.html');
} else {
    
$box_content $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_content.html'$cache_id);
}

$smarty->assign('box_CONTENT'$box_content);
?>
Analog kannst Du das auch mit der Informationsbox tun....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 13.06.2008, 14:20
Benutzer
 
Registriert seit: 29.03.2006
Beiträge: 55
Standard

Okay, ich habe es jetzt so gemacht, aber jetzt steht hinter dem letzten Link auch noch ein "-". Also:
" Liefer- und Versandkosten - Privatsphäre und Datenschutz - Unsere AGB - Impressum - Kontakt -"
Wie bekomme ich da wieder weg?
Außerdem sind meine Login- und die Newsletterbox ca 3 Pixel zu breit, obwohl ich die Breite der Eingabefelder schon sehr sehr klein hatte (siehe http://coconut-clothing.de ).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
contents, nebeneinander

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Anzeige der Produkte nebeneinander losti Shopbereich 5 14.01.2007 03:57


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:19 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand