Zen Cart Logo
Forums / Basic Configuration / call function in heading title

call function in heading title

Locked

Views: 1,862

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
09 Jul 2006, 12:26
#1
sheakspeer avatar

sheakspeer

New Zenner

Join Date:
Nov 2005
Posts:
8
Plugin Contributions:
0

call function in heading title

hi,

can i call my products info name in the heading title.

i have insert:

define:('HEDING_TITLE','$PRODUCTS_INFO')

in language/french/products_info.php

but doesnt work...

can you help me

tanks for your answer

09 Jul 2006, 14:37
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: call function in heading title

sheakspeer:

hi,

can i call my products info name in the heading title.

i have insert:

define:('HEDING_TITLE','$PRODUCTS_INFO')

in language/french/products_info.php

but doesnt work...

can you help me

tanks for your answer

define:('HEDING_TITLE','$PRODUCTS_INFO')
Is it the typo just here for HEADING_TITLE or you inserted HEDING_TITLE actually?

11 Jul 2006, 06:16
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: call function in heading title

sheakspeer:

hi,

can i call my products info name in the heading title.

i have insert:

define:('HEDING_TITLE','$PRODUCTS_INFO')

in language/french/products_info.php
Not using that method, no.

Why are you asking? Perhaps there is a better way?

11 Jul 2006, 11:54
#4
sheakspeer avatar

sheakspeer

New Zenner

Join Date:
Nov 2005
Posts:
8
Plugin Contributions:
0

Re: call function in heading title

hi dr byte,

i call heading title in my header to see the page title, and i cant see the products info title because there is no define, i try diffrent echo but i dont find the good way.

i have insert in language/french/products_info.php

define ('HEADING_TITLE','' . $products_name)

or

define ('HEADING_TITLE','' . echo products_name)

but doesn't work...

can you help me
thanks

11 Jul 2006, 13:14
#5
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: call function in heading title

'echo ' will most likely not work under a definition statement.

If I may ask, from which file are you taking the $products_name variable ? By knowing it's source, perhaps I could modify it to fit in. :wink2: