Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2005
    Posts
    13
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: call function in heading title

    Quote Originally Posted by 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?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: call function in heading title

    Quote Originally Posted by 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?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Nov 2005
    Posts
    13
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default 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.

 

 

Similar Threads

  1. v139h H1 page heading is not showing the correct title or heading
    By AvaAdorn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2012, 01:39 AM
  2. Call to undefined function
    By Forum5 in forum General Questions
    Replies: 10
    Last Post: 14 Sep 2010, 02:43 PM
  3. Heading Title/NavBar Title Not displaying 'Welcome' message
    By Twaddle in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2009, 05:33 PM
  4. Call page heading/title...
    By Alex Clarke in forum General Questions
    Replies: 4
    Last Post: 17 Jun 2007, 02:20 PM
  5. Call to undefined function curl_init()
    By pivojackson in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 23 Jan 2007, 08:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg