Page 1 of 1
Add Pages
Posted: Sat Mar 12, 2011 10:41 pm
by TheSponge
Just installed this now, and Im quite happy! just finding my way around, I cant seem to see an option to add pages? as in I want to add "About Us" page, cant seem to find an option for it.
and just a quicky! Ive found the language files with the variables, but I cannot for the life of me find the variable that defines "welcome to my store" ?
Ive changed the title of that box by changing this $_['heading_title'] but there is nowhere to change the bit underneath? thanks

oh and I did search, found nothing

Re: Add Pages
Posted: Sat Mar 12, 2011 11:41 pm
by TalonRAge
To add or change the About Us page on your admin panel you will want to navigate to Catalog>>Information. There you can add page type sections that appear in the Information Menu on the stores front page.
You found the right place to change where it says "Welcome to" but the My Store and the body are found in the System>>Settings under the General (Store Name) and Store (Welcome Message) tabs, editable options are in the parentheses.
Re: Add Pages
Posted: Sun Mar 13, 2011 3:00 am
by TheSponge
Thankyou for such a quick response, the more im using this , the more I am loving it, may have a few quesitons but Im learning fast, Ive used CSCart before so am used to the layout and structure, but this is far better in my opinion! Im making a donation..
Glad to be here, and hope to contribute more soon enough. thanks again
Re: Add Pages
Posted: Sun Mar 13, 2011 10:05 am
by philbydevil
Before you do anything else, I would suggest installing vQmod as it will make your life a whole lot easier....
http://forum.opencart.com/viewtopic.php?f=23&t=24529
It's easy to install and makes doing modifications to core files a breeze!
Re: Add Pages
Posted: Sun Mar 13, 2011 6:16 pm
by TheSponge
I will certainly look at that once Ive got more familiar with opencart,
Would you happen to know, where the file paths are defined? for example in the header.tpl there is the line <img src="<?php echo $logo; ?> where is $logo defined? I looked in the controllers folder and the language folder, I want to define more images for a customised template I am building, appreciate your help.
Re: Add Pages
Posted: Sun Mar 13, 2011 6:42 pm
by aaron1988
Hi if you just want to change the Logo

all you do is login to your stores backend, and then go to:
System - Settings - Image and click the default logo which is there and navigate to where your image is you want to use.
Regards,
Aaron
Re: Add Pages
Posted: Sun Mar 13, 2011 6:48 pm
by TheSponge
Ive done that, its not what I mean.. I want to add some more images to my header, Ive got the images stored in the data folder, but instead of writing out the entire path to the images, I want to make variables like $image1 $image2 that store the path to my images, so I can just use <img src="<?php echo $image2;?> hope you understand,
$logo must have its file path defined somewhere.. cheers
Re: Add Pages
Posted: Sun Mar 13, 2011 6:49 pm
by philbydevil
Check the database. Maybe under Settings or Store or something similar?
Re: Add Pages
Posted: Sun Mar 13, 2011 7:53 pm
by TheSponge
there is indeed a config_logo that points to the path in the settings table, just cant find the file that associates this entry to $logo!
Ive written the paths out manually for now anyway, thanks again
Re: Add Pages
Posted: Mon Mar 14, 2011 5:00 am
by philbydevil
admin/controller/setting/setting.php
do a search in that file for "logo" and you'll find lots of references.
Re: Add Pages
Posted: Thu Mar 17, 2011 5:43 am
by TheSponge
Thanks, thats the first place I looked too, but there is no mention of "logo" at all, its ok, ive written the filepath out manually, which is going to mess me up later, as I have the cart installed in a sub directory of the root, and plan on moving all cart files when its done
this might be ok though, as all images are relevant to the cart installation files I believe!
Re: Add Pages
Posted: Thu Mar 17, 2011 3:24 pm
by philbydevil
No mention??? Are you sure you're looking at the correct file? I have 13 mentions in mine.
Re: Add Pages
Posted: Thu Mar 17, 2011 7:06 pm
by TheSponge
Ill check again, but no, in my settings.php file there was no matches found for "logo" unless my search is screwed!
