Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1006619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:29:23+00:00 2026-05-16T08:29:23+00:00

I am updating a client site that uses Jetbox CMS v2.1 . I need

  • 0

I am updating a client site that uses Jetbox CMS v2.1.

I need to add <script> and <link> tags in the <head> section, but cannot for the life of me find which file to edit. There are numerous tpl files and the CMS seems rather confusing.

I tried editing index.php with the following:

//I am pretty sure that this replaces {var_name} in the view 
//with the second argument content
$t->set_var("var_name", "var_name content here");

I just can’t find the correct file to insert {var_name} in…

Thanks to anybody who can help!

P.S. The Jetbox CMS is opensource and has been abandoned, so I can’t find any forums or support sites for it.

Edit

Well, perhaps somebody will actually read this… haha.

While the accepted solution probably is the normal solution, I could not find the template file that works for sub-pages (which are called “Links Categories” for some strange reason).

I ended up “piggy-backing” the <script> and <link> tags onto a {baseurl} variable, which is included in the <head> section. Unfortunately, I was trying to implement Lightbox2, but it did not work because of some strange IE8 error that prevents Lightbox2 from working correctly when the <script> tags come before <meta> tags. Since I could not include the <script> tags after the <meta> tags because I couldn’t find the correct template to edit, I just scrapped Lightbox2 for this project. It wasn’t a required part of the project, just something extra I was trying to add.

Oh well.

Jetbox seems like a decent CMS for what it is/was, but the naming of sections is odd and un-intuitive.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:29:24+00:00Added an answer on May 16, 2026 at 8:29 am

    Well I downloaded the cms for kicks and looking at it rapidely this file: main_tpl.html.
    Seems to be where you would want to inject this code.
    The structure of this cms seems pretty simple in that there is a php file with logic and html files with views. So when ever you set something like that in a php file look for ther corresponding html.

    In this setup tpl = template.

    Heres how I would do it in the default setup I have:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>{pagetitle}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    {baseurl}
    <link rel="stylesheet" href="style.css" type="text/css">
    {var_name}
    

    So your variable right there and it should work. There is already one {baseurl} in there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Updating an old ASP/Access site for a client - I need SQL to add
I have a section of my site where users can add addresses to their
I am tasked with updating a family of web sites that promote scientific conferences
I have a relatively simple site that I'm working up for an intranet environment.
After updating or creating a record I use url helper to redirect to the
Does updating statistics cause tables to be inaccessible? In other words, can you run
I'm updating some of our legacy C++ code to use the MFC feature pack
In the process of updating a web app from ASP to ASP.NET, I want
I'm updating some old AWStats config files to filter out some specific IP ranges.
I'm wondering if updating statistics has helped you before and how did you know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.