Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How Do I Change Title Bar Text & Meta Keywords Text?

How Do I Change Title Bar Text & Meta Keywords Text?

Views: 7,325

Results 1 to 14 of 14
4 Jul 2014, 1:28 AM
#1
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

How Do I Change Title Bar Text & Meta Keywords Text?

Hi Gang,

I'm totally new to the Zen Cart. I have been using Zen Photo and Page for years now and love it and now I'm on to building my own cart!

Can I please ask for some help here? To start, I'd like to know how to change the Title bar Text in my new Westminster New Template and also the keywords - how to change them too?

I'll paste the source code here that I see in my main homepage and thanks ahead of time for any help you can provide me !!!

Best reagrds, Jim :)

https://www.beachytreasures.net is my site...


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>Westminster New Zen Cart Template, by Picaflor Azul</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Hardware Software DVD Movies Gift Certificates Big Linked Test Examples Free Call Stuff Test 10% by Attrib Test 10% A Top Level Cat Sale Percentage Sale Deduction Sale New Price Big Unlinked New v1.2 Music Documents Mixed Product Types ecommerce, open source, shop, online shopping " /> <meta name="description" content="Westminster New Zen Cart Template : - Hardware Software DVD Movies Gift Certificates Big Linked Test Examples Free Call Stuff Test 10% by Attrib Test 10% A Top Level Cat Sale Percentage Sale Deduction Sale New Price Big Unlinked New v1.2 Music Documents Mixed Product Types ecommerce, open source, shop, online shopping" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart® Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart®, <http://www.zen-cart.com> eCommerce" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" /> <base href="http://www.beachytreasures.net/" /> <link rel="canonical" href="http://www.beachytreasures.net/" /> <link rel="stylesheet" type="text/css" href="includes/templates/westminster_new/css/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/westminster_new/css/stylesheet_flex.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/westminster_new/css/stylesheet_responsive_tabs.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/westminster_new/css/index_home.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="includes/templates/westminster_new/css/responsive.css" /><link rel="stylesheet" type="text/css" href="includes/templates/westminster_new/css/responsive_default.css" /> <script src="includes/templates/westminster_new/jscript/css_browser_selector.js" type="text/javascript"></script> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" /> </head>
4 Jul 2014, 1:53 AM
#2
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,769
Plugin Contributions:
20

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Welcome to Zen Cart! Hope you'll enjoy your experience and the community! :cheers:

The title is controlled from a file: includes/languages/english/YOUR_TEMPLATE/meta_tags.php
In your case, the "YOUR_TEMPLATE" actually means "westminster_new", but you should get used to using YOUR_TEMPLATE because help here is usually for general purpose. :wink:

You can also take a look at the FAQ topic that explain more about the meta tags.

Regards,
Leonard

4 Jul 2014, 3:13 AM
#3
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Hi Leonard,

Thank you very much for your warm welcome! I thank you very much for the fast reply and help an I am already enjoy the Zen Cart Community here! Thanks! Yep! That's worked !!! I was able to change the Title Bar and Meta Tags for this Westminster New Template!

If you don't mind can I ask two more questions for now?

#1, now how do I modify the footer template info - such as what it says now, which is: "Powered by Zen Cart. Responsive Zen cart templates by Picaflor Azul." ???

I do appreciate Paul's great template work here, but I would like to put my own company name, etc... here in it's place if possible.

My next #2 question is, how and where can i modify the Social Link Button(s) code, such as Facebook, Twitter, Pinterest, YouTube, etc... On this particular template, these logo graphics sit right under the text: "SHARE AND CONNECT" ???

Again THANK YOU for all of this help so far !!!

Best regards,
Jim :)

4 Jul 2014, 3:45 AM
#4
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,769
Plugin Contributions:
20

Re: How Do I Change Title Bar Text & Meta Keywords Text?

KB2UNK:

#1, now how do I modify the footer template info - such as what it says now, which is: "Powered by Zen Cart. Responsive Zen cart templates by Picaflor Azul." ???
You would edit your includes/languages/westminster_new/english.php on line 16.

My next #2 question is, how and where can i modify the Social Link Button(s) code, such as Facebook, Twitter, Pinterest, YouTube, etc... On this particular template, these logo graphics sit right under the text: "SHARE AND CONNECT" ???
includes/languages/english/westminster_new/social_defines.php

There's a super cool feature in Zen Cart called Developers Tool Kit (admin->Tools). The last option allows you to search all of your files for any keywords and will show you the path to the file so you can edit it. It searches through code so, in case you don't get any results, make sure you're searching for correct terms (sometimes HTML tags such as a, span, strong and similar can cause empty results). There's also a chance it's stored in the database so you can't find it. But, in general, it's incredibly helpful.

I just happen to have that particular template installed on my local test site so I was able to help, but it would probably be best if you post such template related questions in the template's support thread. I know Anne is quite helpful and you're most likely gonna get a fast reply (not from me, tho - I don't follow those threads).

L.

4 Jul 2014, 4:12 AM
#5
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Hi Balihr,

Cool !!! Got it and thanks for answering question #1 and # 2 for me !!! WOW !!! I am totally impressed with the Developers Toolkit !!! It works like a charm and I found the path to the file I need to goto to edit the Social Link Buttons, etc... Thanks for all your help and this cart so far - ROCKS !!!

Best regards,
Jim bangert :)

4 Jul 2014, 11:54 PM
#6
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Hi Balihr and all,

OK, well I tired to find "includes/languages/english/westminster_new/social_defines.php" in my Developers Took Kit, but it does NOT find this social_defines.php file. So far, no luck in being able to change the "SHARE AND CONNECT" Social Website Icons to my own URLs in my Westminster New Template. I want to be able to change these if possible. Thanks all !!! I attached a jpg screenshot of what I am talking about...

Best regards,
Jim :)

5 Jul 2014, 1:01 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How Do I Change Title Bar Text & Meta Keywords Text?

KB2UNK:

Hi Balihr and all,

OK, well I tired to find "includes/languages/english/westminster_new/social_defines.php" in my Developers Took Kit, but it does NOT find this social_defines.php file. So far, no luck in being able to change the "SHARE AND CONNECT" Social Website Icons to my own URLs in my Westminster New Template. I want to be able to change these if possible. Thanks all !!! I attached a jpg screenshot of what I am talking about...

Best regards,
Jim :)

To add on to balihr's post, anne (picaflur-azul) adds a lot of information in her documents/readme files. That issue should be covered in there. Also, and I'm not 100% sure what it is you are trying to modify, but try looking for words that are present in what you are trying to change, possibly one at a time or a small pair. Some displayed information is a combination of data rather than a single "long" item. Glad you are getting on your feet and would also like to welcome you to ZC. Get ready to enjoy and make a lot of progress.

5 Jul 2014, 1:15 AM
#8
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Hi mc12345678,

Thanks for your fast reply and welcome and help! I'm trying to change this file: 1_0.php which originally had this code:

(25, 1, '', '', 'Share and Connect', '', '', 1, 4, 4, '2013-06-24 09:36:48', '2013-06-24 14:45:35'),
(26, 1, '', '', '', '', '<a href="https://www.facebook.com/Custom.Zen.Cart.Design" target="_blank"><i class="fa fa-facebook"></i></a><a href="https://twitter.com/picaflorazul" target="_blank"><i class="fa fa-twitter"></i></a><a href="http://www.pinterest.com/picaflorazul" target="_blank"><i class="fa fa-pinterest"></i></a><a href="https://www.youtube.com/user/ZenCartEasyHelp" target="_blank"><i class="fa fa-youtube"></i></a><a href="" target="_blank"><i class="fa fa-instagram"></i></a>', 1, 41, 4, '2013-06-24 09:44:30', '2014-04-25 09:26:24');");

to this - which is my own modified code - which has my own Social Link URL Paths, etc...

(25, 1, '', '', 'Share and Connect', '', '', 1, 4, 4, '2013-06-24 09:36:48', '2013-06-24 14:45:35'),
(26, 1, '', '', '', '', '<a href="https://www.facebook.com/beachytreasuresandmore" target="_blank"><i class="fa fa-facebook"></i></a><a href="https://twitter.com/" target="_blank"><i class="fa fa-twitter"></i></a><a href="http://www.pinterest.com/" target="_blank"><i class="fa fa-pinterest"></i></a><a href="https://www.youtube.com/" target="_blank"><i class="fa fa-youtube"></i></a><a href="" target="_blank"><i class="fa fa-instagram"></i></a>', 1, 41, 4, '2013-06-24 09:44:30', '2014-04-25 09:26:24');");

However, when I save and upload over this, it does not change a thing !!! Please look at the Social Icons at the bottom of my home page and you should see what I am talking about - Facebook, Twitter, Pinterest, etc... Buttons :)

This is where I am getting the 1_0.php file from:

/public_html/master/includes/installers/westminster_new

Thanks ahead of time for any help you can give me !!!

Here's my Zen cart Website: https://www.beachytreasures.net

Best regards,
Jim :)

5 Jul 2014, 1:39 AM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How Do I Change Title Bar Text & Meta Keywords Text?

KB2UNK:

Hi mc12345678,

Thanks for your fast reply and welcome and help! I'm trying to change this file: 1_0.php which originally had this code:

(25, 1, '', '', 'Share and Connect', '', '', 1, 4, 4, '2013-06-24 09:36:48', '2013-06-24 14:45:35'),
(26, 1, '', '', '', '', '<a href="https://www.facebook.com/Custom.Zen.Cart.Design" target="_blank"><i class="fa fa-facebook"></i></a><a href="https://twitter.com/picaflorazul" target="_blank"><i class="fa fa-twitter"></i></a><a href="http://www.pinterest.com/picaflorazul" target="_blank"><i class="fa fa-pinterest"></i></a><a href="https://www.youtube.com/user/ZenCartEasyHelp" target="_blank"><i class="fa fa-youtube"></i></a><a href="" target="_blank"><i class="fa fa-instagram"></i></a>', 1, 41, 4, '2013-06-24 09:44:30', '2014-04-25 09:26:24');");

to this - which is my own modified code - which has my own Social Link URL Paths, etc...

(25, 1, '', '', 'Share and Connect', '', '', 1, 4, 4, '2013-06-24 09:36:48', '2013-06-24 14:45:35'),
(26, 1, '', '', '', '', '<a href="https://www.facebook.com/beachytreasuresandmore" target="_blank"><i class="fa fa-facebook"></i></a><a href="https://twitter.com/" target="_blank"><i class="fa fa-twitter"></i></a><a href="http://www.pinterest.com/" target="_blank"><i class="fa fa-pinterest"></i></a><a href="https://www.youtube.com/" target="_blank"><i class="fa fa-youtube"></i></a><a href="" target="_blank"><i class="fa fa-instagram"></i></a>', 1, 41, 4, '2013-06-24 09:44:30', '2014-04-25 09:26:24');");

However, when I save and upload over this, it does not change a thing !!! Please look at the Social Icons at the bottom of my home page and you should see what I am talking about - Facebook, Twitter, Pinterest, etc... Buttons :)

This is where I am getting the 1_0.php file from:

/public_html/master/includes/installers/westminster_new

Thanks ahead of time for any help you can give me !!!

Here's my Zen cart Website: https://www.beachytreasures.net

Best regards,
Jim :)

So, looked at site, agree, it's not there (yet). Looking at the above, that appears to be SQL code, and to go with the fact that it is in the "installers" directory appears to be something set as part of installation. My guess is that your database now has that information in it which goes back to what balihr was saying, may not find the applicable text through the php file search of the DTK. If you have any knowledge of using the myphpadmin, you should be able to find the values you are looking for, or they maybe listed in a new configuration option that was added when you installed the template. Or even possibly an ezpage. (I didn't look through that sql to see where it might have gotten installed, but ezpages are also stored in the database.

5 Jul 2014, 1:52 AM
#10
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Hi mc12345678,

Thanks again for your super fast reply and help! Thanks for checking my site too and what I have so far! Well no, I would be in over my head if I attempted to use the MyPHPAdmin and MySQL stuff !!! So, I'm thinking and hoping that maybe anne (picaflur-azul) will see this post of mine too and maybe she might directly know, being she is the owner and programmer of this Westminster New Template ??? I'll stand by and hope! But also thanks again mc12345678 for ALL of your help so far and if can come up with more too, please share it with me/us for this template.

Thanks,
Jim :)

5 Jul 2014, 2:37 AM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How Do I Change Title Bar Text & Meta Keywords Text?

KB2UNK:

Hi mc12345678,

Thanks again for your super fast reply and help! Thanks for checking my site too and what I have so far! Well no, I would be in over my head if I attempted to use the MyPHPAdmin and MySQL stuff !!! So, I'm thinking and hoping that maybe anne (picaflur-azul) will see this post of mine too and maybe she might directly know, being she is the owner and programmer of this Westminster New Template ??? I'll stand by and hope! But also thanks again mc12345678 for ALL of your help so far and if can come up with more too, please share it with me/us for this template.

Thanks,
Jim :)

Again, while she may land on this thread, the question is more applicable to the thread about the template. It may (and most likely is) already addressed there. Read thrrough the forum and you are likely to find the answer. Also, check the documentation related to the template. That seems like it would be something specifically addressed in it. Also, if you posted the first lines to that file (like where it might say insert into... Then we could help create new sql to update those records. Right now I can't tell where in the database they got added, but it definitely looks like sql statements.

5 Jul 2014, 1:25 PM
#12
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

KB2UNK:

My next #2 question is, how and where can i modify the Social Link Button(s) code, such as Facebook, Twitter, Pinterest, YouTube, etc... On this particular template, these logo graphics sit right under the text: "SHARE AND CONNECT" ???

The readme file has a section which provides very specific instructions for making changes to that. The header of that section of the ReadMe file is labeled "Customize Social Media Links"

"Click on the blank line directly below "Share and Connect", then click on the "edit" button ..." It is Column 4, sort order 41.

No editing of any other files is necessary.

5 Jul 2014, 1:36 PM
#13
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

KB2UNK:

#1, now how do I modify the footer template info - such as what it says now, which is: "Powered by Zen Cart. Responsive Zen cart templates by Picaflor Azul." ???

Why would you want to remove the zencart and picaflor azul byline and give the impression that you created the software and developed the responsive template?

7 Jul 2014, 4:27 PM
#14
kb2unk avatar

kb2unk

New Zenner

Join Date:
Jun 2014
Location:
United States
Posts:
7
Plugin Contributions:
0

Re: How Do I Change Title Bar Text & Meta Keywords Text?

Hi All,

07-07-14 ~ I GOT IT !!! THANKS ANNE !!! I READ THESE DIRECTIONS !!! HERE'S HOW TO CHANGE THE SOCIAL MEDIA FOOTER ICONS IN THE HOME PAGE !!!

/westminster-template/westminster_new_1.1/westminster_new/readme/westminster_new_readme.html

Thanks all and especially Anne and that did it !!!

Thanks,
Jim :)