GeneralB Posted January 4, 2007 Share Posted January 4, 2007 Hi Forum, I am a newbie, so please talk very plain to me. :'( I've finally installed and worked around with the admin tool changing stuff. Can't seem to get down to the nitty gritty and change the front page text from what comes unpacked with osCommerce. I'll keep searching the forum for an answer, but figured a post might bring quicker results. For instance, I am setting up a literary / music shop, so I don't need manufacturer ... at least not at this point, and even then, that should for my purposes say "publisher." I'd like to change the blue to my own page color. I've managed to partially do this, but still get a snippet of blue/gray on both left & right column boxes I can't seem to figure how to replace the head logo that now says osCommerce w/my logo. I'd also like to link back to my main index page. (What I've done is created a subdomain for the shopping cart where they can browse if they click the purchase button on the "main" index page of my site.) I'm also slowly reviewing the osCommerce doc that came w/the zipped download. And I noticed something that seems odd to my "new self": Are we really suppose to set some permissions to completely allow all to rwx??? See page 9. It says Set the permissions on /catalog/images directory to 777. Reset the permissions on /catalog/admin/includes/configure.php to 644. Create the dir /catalog/admin/backups and set the permissions to 777. Set the permissions on /catalog/admin/images/graphs directory to 777. I have yet to access using the username and password when I go to my .../catalog/admin/index.php page. I get a "Cannot find the page." I've been changing code (very modestly, until I understand more) via my ISPs control panel tools. Any help is appreciated. :blink: Thanks ... Kimberly Link to comment Share on other sites More sharing options...
GeneralB Posted January 5, 2007 Author Share Posted January 5, 2007 Hi Forum, I am a newbie, so please talk very plain to me. :'( I've finally installed and worked around with the admin tool changing stuff. Can't seem to get down to the nitty gritty and change the front page text from what comes unpacked with osCommerce. I'll keep searching I am'a workin'!!! Feelin' good to get my eyes uncrossed as I dive into this sea of code. Got some of the previous post questions answered on my own, but would like a bit of help with the following (of course I will continue to search on my own): I don't need MANUFACTURER as a buttom under Categories for my front page. BUT! I would like to change it to say "PUBLISHER." All the backend stuff can stay manufacturer, but how do I change that frontend navigation bar? I DID figure how to replace the head logo. BUT!! I still can't get it to link back to my main index page. (What I've done is created a subdomain for the shopping cart where they can browse if they click the purchase button on the "main" index page of my site.) The permission settings of 777 scare me! But that's what you say to do, so I'm doing it cause you guys are the pros! BUT I have yet to access my admin page w a username and password when I go to my .../catalog/admin/index.php page. These days (hahaha ... I mean hours :P ) it seems to just open straight up. Still I've been changing code (very modestly, until I understand more) via my ISPs control panel tools. Any help is appreciated. :blink: Thanks ... Kimberly Link to comment Share on other sites More sharing options...
bill110 Posted January 5, 2007 Share Posted January 5, 2007 [*]I don't need MANUFACTURER as a buttom under Categories for my front page. BUT! I would like to change it to say "PUBLISHER." All the backend stuff can stay manufacturer, but how do I change that frontend navigation bar? catalog/includes/languages/english.php // manufacturer box text define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info'); define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage'); define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products'); the linking question. use a code similar to this <?php echo '<a href="http://www.yoursite.com">' . tep_image(DIR_WS_IMAGES . 'yourlogo.gif', 'your store') . '</a>'; ?> this will not keep the session id done this way. My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
GeneralB Posted January 5, 2007 Author Share Posted January 5, 2007 catalog/includes/languages/english.php // manufacturer box text define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info'); define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage'); define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products'); Thanks for responding ... I tried the above, replacing "Manufacturer Info" with Publisher. I think that's what you meant for me to do. Nothing happened. I also tried // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Publishers'); But nothing happened there either. Moved on to linking my logo to the main "home page." I'm not sure what session ID is. Sounds like something my customer will need for tracking or something ... so, should I link to this or just give the link elsewhere? In your prof judgment? Thanks again. Link to comment Share on other sites More sharing options...
GeneralB Posted January 6, 2007 Author Share Posted January 6, 2007 Thanks for responding ... I tried the above, replacing "Manufacturer Info" with Publisher. I think that's what you meant for me to do. Nothing happened. I also tried // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Publishers'); Okay ... here's the update: Basically, Bill's suggestion suddenly worked .. for the Manufacturer Info --> Publisher Info but not for the Manufacturer --> Publisher name change in nav bar. I went through the example on pg 29 of zipped doc that came w/osC (Add/Remove Boxes). I backed tracked and found that the PI did switch but not the Pub only. Don't yet know why, but I'ma step closer. :D The change that didn't work is below: // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Publishers'); The change that did work was // manufacturer box text define('BOX_HEADING_MANUFACTURER_INFO', 'Publisher Info'); define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage'); define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products'); For those wondering ... see Bill's code for access file. I decided not to link the Logo because Bill said something about messing w/my session ID. Don't know what that is ... yet, but I took the hint and just added a link at the footer or Banner level. As for that pesky walking straight into the ADMIN portion of the site w/o a password, I went to ISP to help setup .htaccess password. You know, the good old AuthUserFile path AuthName “Enter Password” AuthType Basic <Limit GET POST> require valid-user </Limit> Then I came across http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/249 I'm not gonna mess w/anything yet on this, but I gonna look at it a little later, so posting it here is for safekeeping for the both of us. ;) I think that about wraps up my questions for "Moving on to Design." Thanks, Bill for taking time out for a newbie. :D Link to comment Share on other sites More sharing options...
GeneralB Posted January 6, 2007 Author Share Posted January 6, 2007 Okay ... here's the update: ONE REALLLY IMPORTANT COMMENT ... if any of you site developers are listening: Now that I've got ADMIN password protected, there needs to be a log out button somewhere. Just a suggestion. :thumbsup: Link to comment Share on other sites More sharing options...
avatarium Posted January 6, 2007 Share Posted January 6, 2007 ONE REALLLY IMPORTANT COMMENT ... if any of you site developers are listening: Now that I've got ADMIN password protected, there needs to be a log out button somewhere. Just a suggestion. :thumbsup: So what did you do to get the admin password protected to work. I've read the link you posted but it made no sence to me...maybe tired. lol please leave a step by step if you can. no need to add a logout button. I know its set up that if you close browser page it logs off. Link to comment Share on other sites More sharing options...
bigwheel Posted January 6, 2007 Share Posted January 6, 2007 I'd like to change the blue to my own page color. I've managed to partially do this, but still get a snippet of blue/gray on both left & right column boxes I'm having that problem right now..How did you fix this? Link to comment Share on other sites More sharing options...
bill110 Posted January 7, 2007 Share Posted January 7, 2007 Basically, Bill's suggestion suddenly worked .. for the Manufacturer Info --> Publisher Info but not for the Manufacturer --> Publisher name change in nav bar. To get the breadcrumb to change to a publishers name you need to make sure that when you add a product that in the manufacturers name field you put the publisher name there. The change that didn't work is below:// manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Publishers'); Don't know why that did'nt work. That should change the title of the box in the column. My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai Link to comment Share on other sites More sharing options...
GeneralB Posted January 7, 2007 Author Share Posted January 7, 2007 So what did you do to get the admin password protected to work.I've read the link you posted but it made no sence to me...maybe tired. lol please leave a step by step if you can. no need to add a logout button. I know its set up that if you close browser page it logs off. I went back to basics and just password protected the "admin" folder itself. Mind you, I am only 4 days old on this stuff ... just got my shopping cart download on Jan. 3 and stayed up literally until Jan 5 doing all this stuff. Took a break yesterday. So I don't know as I continue, if my info will eventually break down. But for now! I created a .htpasswd file and placed it in another folder. Then added the code below AuthUserFile path AuthName “Enter Password” AuthType Basic <Limit GET POST> require valid-user </Limit> to the top of the .htaccess file you'll see just inside the "admin" folder. To create the .htpasswd file, open notepad and type username:password Save that file ... I recommend browsing for a site that will encrypt your password. The big tip is to make sure the code you'll add to the .htaccess file is at the very top of the doc ... before the stuff that comes inside the file. I dare not remove anything from that stock .htacess file! Oh, and where it says AuthName “Enter Password” Don't enter your actual password. This is the display tag that everyone will see in the popup password window. You can leave blank, create a stern warning to not go further, etc. Hope this helps. Link to comment Share on other sites More sharing options...
GeneralB Posted January 7, 2007 Author Share Posted January 7, 2007 I'm having that problem right now..How did you fix this? Hi Gino, You actually have to go to "catalog/images/infobox/" and you'll see four little gifs. You'll be working with all the "corner" files. don't touch the "arrow" for this. Open up Paintbrush, Photoshop, whatever, and actually change the color of each gif. Save to same file name, upload new files to the correct folder and that's it! :P (I'd create a backup of the originals.) Link to comment Share on other sites More sharing options...
GeneralB Posted January 7, 2007 Author Share Posted January 7, 2007 So what did you do to get the admin password protected to work.I've read the link you posted but it made no sence to me...maybe tired. lol please leave a step by step if you can. no need to add a logout button. I know its set up that if you close browser page it logs off. Oh Ted, I forgot to mention that you you have to know your path to the .htpasswd and you have to point the path under AuthUserFile path to where your .htpasswd file is. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.