Results 1 to 10 of 14

Threaded View

  1. #3
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: External text file

    Since I don't have the knowledge of SQL and php, I thought this would be the vest way.

    It would up to 5 different text file or html pages for different products that needs to be changed periodically.

    I tried using the following but, this would be consistent for all products. I need to pass the value of $var1 somehow.
    PHP Code:
    <?php $var1 'red'?>

    <?php 

        $Message1 
    $var1 '.html';
        include 
    $Message1;

    ?>
    Thank you.
    Last edited by Kevin205; 28 Apr 2013 at 01:54 AM.
    Using Zen Cart 1.5.1

 

 

Similar Threads

  1. Javascript As External File
    By jill8026 in forum General Questions
    Replies: 11
    Last Post: 12 Sep 2009, 04:12 PM
  2. Sidebox include external file?
    By bizshop1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Apr 2009, 10:00 PM
  3. single sidebox for external file
    By delia in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 3 Jan 2008, 08:45 AM
  4. Use ZC defines in external file...
    By Alex Clarke in forum General Questions
    Replies: 2
    Last Post: 17 Jul 2007, 06:17 PM
  5. Easy Populate won't work with Excel text file, only Text Edit file.
    By anduril3019 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jan 2007, 04:42 AM

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