|
|||
|
Hi XT-Commerce Community,
ich bin noch etwas PHP unerfahren. Habe probiert, ein Browser-Favicon erzeugen zu lassen, wenn man meinen XT-Commerce-Shop zu seinen Favoriten hinzuf?gt. Allerdings finde ich in der "index.html" im "Templates"-Ordner keinen HTML-HEAD-Bereich um die Zeile: <link rel="SHORTCUT ICON" href="blabla/favicon.ico"> einzuf?gen. Ich w?sste also generell gerne, wo man diesen Bereich findet, da der TITLE meines Shops auch immer noch "XT Commerce" hei?t und ich ihn gerne ?ndern w?rde. Vielen Dank f?r Antworten! Roy |
|
|||
|
Danke f?r deine Antwort.
Habe beides so gemacht, wie du es beschrieben hast. Allerdings ?ffnet sich mein shop nun nicht mehr. Die Seite bleibt nach ihrem Aufruf wei? und der Browser sagt, dass der Seitenaufbau fertig ist. Einer der beiden ?nderungen ist wohl also etwas problematisch. Ich vermute, es liegt an der Favicon-Zeile. Ich werde das ?berpr?fen und mich dann hier nochmal melden. Gr??e und trotzdem danke Roy |
|
|||
|
Hallo wolte den Code in die header.php hochladen, nur wo
Meine header.php fängt so an: <html <?php echo HTML_PARAMS; ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['language_charset']; ?>" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="Microsoft FrontPage 4.0" /> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" /> <link rel="stylesheet" type="text/css" href="<?php echo 'templates/'.CURRENT_TEMPLATE.'/stylesheet.css'; ?>" /> </head> <body onload="resize();"> <?php /* ----------------------------------------------------------------------------------------- $Id: header.php 1140 2005-08-10 10:16:00Z 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(header.php,v 1.40 2003/03/14); osCommerce, Open Source Online Shop E-Commerce Solutions (c) 2003 nextcommerce (header.php,v 1.13 2003/08/17); Nextcommerce.org Released under the GNU General Public License ----------------------------------------------------------------------------------------- Third Party contribution: Credit Class/Gift Vouchers/Discount Coupons (Version 5.10) osCommerce: Credit Class & Gift Voucher Copyright (c) Strider | Strider@oscworks.com Copyright (c Nick Stanko of UkiDev.com, nick@ukidev.com Copyright (c) Andre ambidex@gmx.net Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <p>> <p> <?php /* The following copyright announcement is in compliance to section 2c of the GNU General Public License, and thus can not be removed, or can only be modified appropriately. Please leave this comment intact together with the following copyright announcement. */ ?> <!-- This OnlineStore is brought to you by XT-Commerce, Community made shopping XTC is a free open source e-Commerce System created by Mario Zanier & Guido Winger and licensed under GNU/GPL. Information and contribution at http://www.xt-commerce.com --> <?php include(DIR_WS_MODULES.FILENAME_METATAGS); ?> <script type="text/javascript"><!-- var selected; var submitter = null; function submitFunction() { submitter = 1; } function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location =no,directories=no,status=no,menubar=no,scrollbars =yes,resizable=yes,copyhistory=no,width=100,height =100,screenX=150,screenY=150,top=150,left=150') } ************************** Wo muss ich jetzt die sachen reinschreiben? Danke! |
|
|||
|
@john steed:
Danke für Deine Antwort, aber wenn ich das mach erscheint mir der "Favicon-Kram" als Text über meinem headerlogo, sobald ich die Seite neu lade. Hab ich eine falsche Position gewählt? Kann mir das mal jemand an meiner oben stehenden header.php zeigen? Danke! |
|
|||
|
Ach, jetzt seh ich ja erst das Malheur - was hast Du (oder Dein Frontpage
) denn da mit dem Header gemacht? Der ganze obere Block muss erstmal weg...Das ist total (!) vermurkst! Ich häng' Dir mal ne neue dran (3.04 SP 2.1) - da schreibst Du - am Besten mit Notepad! - folgendes direkt vor HTML-Code:
</head>
HTML-Code:
<link rel="shortcut icon" href="/favicon.ico" />
HTML-Code:
<link rel="shortcut icon" href="/favicon.ico" /> </head>
|
|
|||
|
Alles schön und gut, die php habe ich auch entsprechen geändert und hoch geladen. Es passiert gar nichts. Wo muss denn das Logo sein? Ich habe es im obersten Verzeichnis, wo auch der Ordner "Webseiten" liegt.
Was mach e ich falsch??? Danke für einen guten Tipp |
![]() |
| Lesezeichen |
| Stichworte |
| favicon |
| Themen-Optionen | |
| Ansicht | |
|
|