Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Bootstrap custom template coding

    Zen Cart 2.2
    PHP Version 8.4

    Using a bootstrap slideshow template for my website.
    How can one code the line below with a constant so I don't always have to edit over 40 pages to change my new YOUR_TEMPLATE name on each upgrade?

    <link href="../includes/templates/YOUR_TEMPLATE/css/step_by_step_guides.css" rel="stylesheet">

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,197
    Plugin Contributions
    0

    Default Re: Bootstrap custom template coding

    I used an EZpage with the following code
    HTML Code:
    <a title="How to make a Bun" href="/steps/bun.html" target="_blank" rel="noopener noreferrer">Bun</a>
    Then created a folder called steps with bun.html inside the folder at my root

    bun.html is a DOCTYPE

    Trying to use a constant for my YOUR_TEMPLATE name below, so I don't have to edit over 40 files each time on an upgrade and change the name for my override.
    HTML Code:
    <link href="../includes/templates/YOUR_TEMPLATE/css/step_by_step_guides.css" rel="stylesheet">

 

 

Similar Threads

  1. v155 ZCA Bootstrap 4 Template [Support Thread]
    By rbarbour in forum Addon Templates
    Replies: 1684
    Last Post: 9 Jul 2026, 11:50 AM
  2. v157 Bootstrap template
    By AlgellA in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Aug 2022, 03:30 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 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