Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Where the heck is the index.php to move a couple of things globally?

Where the heck is the index.php to move a couple of things globally?

Started by andycowboy on 13 Feb 2011, 1:21 PM · Views: 777

Results 1 to 5 of 5
13 Feb 2011, 1:21 PM
#1
andycowboy avatar

andycowboy

New Zenner

Join Date:
Jul 2009
Location:
Wimberley, TX
Posts:
50
Plugin Contributions:
0

Post #1 by andycowboy

Good morning all!

First, thanks to everyone who contributes to this forum...I'm learning a lot, and that's something when you're known as The Old(er) Cowboy! Special thanks to kuroi and sketchy for Blue Strip Reloaded - works great with my 10-year-old logo colors!

I've become a little better than average with html, and finally have a workable handle on style sheets, but being slower on grasping .php. I have spent several hours now trying to find the index.php that will help me move a couple of things in the template - finally figured out, basically, how all of this operates by reading tutorials and the threads, but still a little (a little?!?!) confused.

using zc version 1.3.9h w/blue strip reloaded template

Here's what I'm working on:

s h a n n o n w e s t o n g i f t s. c o m/n e w t e s t/

For now, I have just one thing I want to move: I would like to take the line above the header, and put it below the header. (I know, I also need to remove the "Congratulations - as soon as I can remember where I saw to do that, it'll get done). I've obviously overlooked something somewhere, but I just can't find how to change the template layout like that! :dontgetit

In conjunction with this, I think I now know the reason for overrides, but very unclear on where I would place this specific override - somewhere in the bluestrip folder?

Oh, and a 2nd thing, if'n it's OK....is it possible to put more than one banner link in the "Sponsors" box - as a list, rather than a rotating banner?

Thanks again to everyone - I read 3-4 threads daily and try to soak it all in. Gittin' there!

I need to throw in a special thanks to kobra for an admin panel access problem I somehow created - it's now working fine! :clap: :cheers:

Have a great day, and God bless!

Andy
The Old(er) Cowboy

Andy
The Ole Cowboy - Getting Older, But Not Aging
Shannon Weston Gifts and Decor

13 Feb 2011, 2:40 PM
#2
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #2 by keneso

I think you need the tpl_header.php, and not the index, for what I understand you are trying to achieve.
The tpl_header.php should be in your common folder in your blue-strip template folder.

13 Feb 2011, 2:47 PM
#3
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #3 by keneso

For the "congratulation etc."
includes\languages\english\CUSTOM\index.php
includes\languages\english\html_includes\CUSTOM\define_main_page.php

CUSTOM = blue-strip

All the modified files should be in your blu-strip folder for the override.

13 Feb 2011, 6:02 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

There are many Tutorial/FAQ articles on topics such as you mention.
For example, I clicked on the Tutorials link above, and entered "congratulations" in the search box, and the first result it returned was the answer to your question about that: https://www.zen-cart.com/tutorials/index.php?article=129

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

13 Feb 2011, 11:35 PM
#5
andycowboy avatar

andycowboy

New Zenner

Join Date:
Jul 2009
Location:
Wimberley, TX
Posts:
50
Plugin Contributions:
0

Post #5 by andycowboy

keneso:

I think you need the tpl_header.php, and not the index, for what I understand you are trying to achieve.
The tpl_header.php should be in your common folder in your blue-strip template folder.

Hey, keneso!

Many, many thanks! That did the trick! Given a little time, I'll get the hang of this!

Sorry, DrByte - I was very tired last night after working all day, then reading tutorials and threads for other stuff. I was just trying to be a little lazy...:sleep1: I prefer researching the threads, actually - I learn about things I wouldn't have thought to ask!

Anyway muchas gracias to both of you! Have a great evening, and God bless!

Andy
The Old(er) Cowboy

Andy
The Ole Cowboy - Getting Older, But Not Aging
Shannon Weston Gifts and Decor