[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
 OpenForum.dk • Vis emne - Lav din egen osCommerce side.

Lav din egen osCommerce side.

Længere beskrivelser af hvordan man nemmest kommer gennem "junglen" :o).
Dette forum er ikke beregnet til spørgsmål.
Tanken er at den kan blive en manual - på sigt - mens Tips Og Tricks er til kortere fif.

Redaktør: Redaktionen

Lav din egen osCommerce side.

Indlægaf olby » 2004-12-29 17:53

Mvh olby
Hjælp til selvhjælp: Giv din kollega konstruktiv kritik og eller vejledning - tak :).
Brugeravatar
olby
Administrator
Administrator
 
Indlæg: 2552
Tilmeldt: 2003-01-1 22:27
Geografisk sted: Odder

Indlægaf Schubert » 2006-01-29 20:56

Schubert
Godt igang
Godt igang
 
Indlæg: 34
Tilmeldt: 2006-01-8 02:12

Indlægaf olby » 2006-01-30 14:22

Mvh olby
Hjælp til selvhjælp: Giv din kollega konstruktiv kritik og eller vejledning - tak :).
Brugeravatar
olby
Administrator
Administrator
 
Indlæg: 2552
Tilmeldt: 2003-01-1 22:27
Geografisk sted: Odder

Indlægaf Schubert » 2006-01-30 19:15

Ok tak for svaret.

Håber stadig på lidt hjælp – prøver derfor at forklare hvad jeg har gjort

Lavet en firma.php og gemt under : /catalog/firma.php

og ligeledes i /catalog/includes/languages/danish/firma.php.


Så har jeg i /catalog/includes/filenames.php i alfabetisk orden tilføjet :

define('FILENAME_FIRMA', 'firma.php');


Derefter har jeg i sprogfilen firma.php indsat følgende :

define('TEXT_INFORMATION', 'Indsæt din beskrivelse her ....');


Jeg har også i danish.php indsat filen :

define('BOX_HEADING_FIRMA','Firma');

til sidst men ikke mindst har jeg i /catalog/includes/boxes/information.php indsat følgende :

'<a href="' . tep_href_link(FILENAME_FIRMA) . '">' . BOX_INFORMATION_FIRMA . '</a><br>' .

Som jeg læser opskriften mangler jeg at definere følgende men hvor skal det i hvilken fil ??? :

<a href="<?php echo tep_href_link(FILENAME_FIRMA, '', 'NONSSL'); ?>"> <?php echo 'Firma'; </a> ?>

Ud over det får jeg som sagt, det her i min menu :

BOX_INFORMATION_FIRMA


Puha det var en lang smøre, håber det er forståeligt :oops:

Schubert
Schubert
Godt igang
Godt igang
 
Indlæg: 34
Tilmeldt: 2006-01-8 02:12

Indlægaf Kiefer » 2006-02-6 00:52

Du har husket at definere BOX_INFORMATION_FIRMA i sprogfilen?

/Martin
Kiefer
Godt igang
Godt igang
 
Indlæg: 150
Tilmeldt: 2004-01-10 15:19
Geografisk sted: Lidt nord for Viborg

Indlægaf kirneh » 2006-02-20 23:40

Det er ret nemt selv at finde en skabelon til den nye fil.
Jeg tog f.eks privacy.php og kopierede den over i min nye fil.
Sæ ændrede jeg bare teksten PRIVACY til FIRMA alle steder og det virkede
kirneh
Godt igang
Godt igang
 
Indlæg: 155
Tilmeldt: 2006-02-15 10:36

Indlægaf Schubert » 2006-02-21 13:30

Jeg har klaret den - det endte med jag valgte at lave en firma profil som popup - LÆS (stolt som en pave)
Schubert
Godt igang
Godt igang
 
Indlæg: 34
Tilmeldt: 2006-01-8 02:12

Indlægaf benilope » 2007-06-24 14:14

Bemærk den nye tekst variable: BOX_INFORMATION_FIRMA.
Den skal selvfølgelig også have et indhold, og BOX_et-eller-andet er defineret i danish.php på denne måde:


PHP:
define('BOX_HEADING_FIRMA','Firma info');

Hvis dette ændres til
define('BOX_INFORMATION_FIRMA','Firma info');

Så virker det

/Per
Brugeravatar
benilope
Oldtimer :o)
Oldtimer :o)
 
Indlæg: 880
Tilmeldt: 2005-08-12 20:10
Geografisk sted: Krusaa


Tilbage til How-To

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 5 gæster

cron