Basics for design
#21
Posted 29 March 2005 - 04:54 PM
There is some very useful info here, but I cannot find how to change the border on the boxes anywhere.
Believe me I have looked. I have looked everywhere. ...and I know its easy!
It is not done in the stylesheet. I have found the definition of the tableblock and tableBox classes in boxes.php, which defines the variable:
var $table_border = '0';
and
....$tableBox_string .= '<table border="' . $this->table_border . '.....
...but this is being changed somewhere because my boxes have borders. Without giving a lengthy run down of my search I still can't work out where it is set - I can't find the call.
I'm sure its easy when you know how - Can anyone help put me out of my misery?
#22
Posted 30 March 2005 - 03:16 AM
Boxes in the stylesheet.
.infoBox {
background: #b6b7cb;
}
.infoBoxContents {
background: #f8f8f9;
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}
.infobox sets the color for the outer table.
.infoboxContents sets the text and color for the inner table.
The "border" you see in your website is actually just the space between the outer and the inner table.
Edited by toyicebear, 30 March 2005 - 03:17 AM.
Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.
#23
Posted 30 March 2005 - 05:30 PM
TIA !!!!!!
Rhonda
#24
Posted 31 March 2005 - 02:08 PM
I have a question too
I'm making a store in www.templateslord.com. i have edited many things and it looks nice now, but it needs one more change.
As you can see i have removed the right colum, deleting all the content in colum_right.php.
But it seems the content of that file is inserted in an other table which is still there,
in my html output i see this
<!-- body_text_eof //--> <td width="175" valign="top"><table border="0" width="175" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //-->
I'd like to remove all that code but i can't find the php file that outputs it.
Any idea?
Thanks in advance
#25
Posted 01 April 2005 - 06:56 AM
kootchie kooz, on Mar 30 2005, 05:30 PM, said:
TIA !!!!!!
Rhonda
1. make the new about_us.php page and the coresponding language about_us.php and add them to your web server.
2. add the defines to the includes/filnames.php
define('FILENAME_ABOUT_US', 'about_us.php');
3. add link defines to includes/languages/english.php
define('BOX_INFORMATION_ABOUT_US', 'About Us');
4. Add the link to /includes/boxes/information.php
. '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . . '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');
Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.
#26
Posted 01 April 2005 - 07:01 AM
gastongr, on Mar 31 2005, 02:08 PM, said:
I have a question too
I'm making a store in www.templateslord.com. i have edited many things and it looks nice now, but it needs one more change.
As you can see i have removed the right colum, deleting all the content in colum_right.php.
But it seems the content of that file is inserted in an other table which is still there,
in my html output i see this
<!-- body_text_eof //--> <td width="175" valign="top"><table border="0" width="175" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //-->
I'd like to remove all that code but i can't find the php file that outputs it.
Any idea?
Thanks in advance
I took a look at your page and it seems you have removed it already.....
Nice look by the way......
For future reference...the call for the collum right and left is in every .php file in the catalog, so if you want to completly remove the reference you will have to edit all the files.
Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.
#27
Posted 01 April 2005 - 04:39 PM
Quote
I do this by going to phpMyAdmin and browing through the structure of the table affected to see if the ID numbers are open. If they're already in use, change the ID numbers in the SQL text before continuing. If you're not sure how to do that, ASK FIRST. Somebody will help you.
HTH,
Terry
Terry,
This is a fantastic tip. I know how to work with the MySQL tables and phpMyAdmin. I would love to see a practical example of where this has been an issue -- a specific contribution or whatever. I am going to be installing a number of contributions soon, and I want to make sure that I have the process down right. I want to see exactly what you mean by "already in use" for the ID numbers.
I like also like the comment on not playing with a live store. I had a user say: "Only college kids should be developing on the internet now." If it were my son, given the state of his dorm room, he would be in playing with your live store.
David Watson
#28
Posted 01 April 2005 - 04:53 PM
I debated adding a live chat contrib to my store (Acheron's Live Support). It was the FIRST contribution where I've seen a notation by the author reminding you to check that the configuration_group_id and configuration_id value do not already exist in your database.
I've added numerous contributions to my site, and the assigned IDs in the SQL query were indeed already in use in my DB. I can only imagine the trouble I would have had if I'd not checked first. So I changed the SQL query to use numbers that I then confirmed were not in use before running the query. (Ultimately, I decided not to install the contrib -- at least for now. I may still do so in the future.)
It was definitely an eye-opener for me though -- and something I won't forget to do in the future.
Terry
Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:
Add order total to checkout_shipment
Add order total to checkout_payment
Add radio buttons at checkout_shipping (for backorder options, etc.)
Duplicate Table Rate Shipping Module
Better Product Review Flow
* If at first you don't succeed, find out if there's a prize for the loser. *
#29
Posted 02 April 2005 - 07:20 AM
Rhonda
#30
Posted 02 April 2005 - 07:04 PM
mikmcmik, on Mar 26 2005, 10:30 AM, said:
This is by far the most useful thread there is outhere. Thanks.
I still have some questions though. I downloaded the buttons from contribution but need to change text inside them. Nobody offers "My account" or "Cart Contents" buttons for some reason. I am using Macromedia Fireworks for image editing, but a newbie at editing buttons.
Another questions is: If i am using sts_template and want ot change "Buy now" buttons and all the buttons through out the page where do i find them?
Thanks,
Ruslan
#31
Posted 02 April 2005 - 07:31 PM
rus3439, on Apr 2 2005, 11:04 AM, said:
This is by far the most useful thread there is outhere. Thanks.
I still have some questions though. I downloaded the buttons from contribution but need to change text inside them. Nobody offers "My account" or "Cart Contents" buttons for some reason. I am using Macromedia Fireworks for image editing, but a newbie at editing buttons.
Another questions is: If i am using sts_template and want ot change "Buy now" buttons and all the buttons through out the page where do i find them?
Thanks,
Ruslan
Another problem of mine is that i can't seem to find how to change the background of boxes where links like "categories", "shopping cart", "order history", "languages" are located. I mean those grey boxes by default on the main page. I tried many changes in stylesheet.css but can't seems to nail the right one.
See the site for better understanding:
www.escapetorussia.com/Store/catalog
Please help,
Thanks in advance,
Ruslan
#32
Posted 03 April 2005 - 01:23 AM
rus3439, on Apr 2 2005, 07:31 PM, said:
Another problem of mine is that i can't seem to find how to change the background of boxes where links like "categories", "shopping cart", "order history", "languages" are located. I mean those grey boxes by default on the main page. I tried many changes in stylesheet.css but can't seems to nail the right one.
See the site for better understanding:
www.escapetorussia.com/Store/catalog
Please help,
Thanks in advance,
Ruslan
Hi..
I see that you managed to change them, they show up white at your site now....
For furture reference the colors for the "inside" of infoboxes are located in stylesheet.css:
.infoBoxContents {
background: #f8f8f9;
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
}
In regards to buttons, a lot of the contribs has a template file attached inside, this is usually in .psd (photoshop format) , this template you can then use as a basis and just change the text to your new choosen one.
If your graphics program can not handle .psd , you will have to edit one of the other buttons to have no text, save it as your own template and then you can make the as many buttons with different text as you like with a basis in this template.
Another way is ofcoourse to download The Gimp, open sourch graphic program which supports most formats.
Edited by toyicebear, 03 April 2005 - 01:24 AM.
Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.
#33
Posted 06 April 2005 - 08:32 PM
I am not new to graphics, so I like to add as many custom ones as I can. I have noticed that with Cubecart (A HORRID program) that they have all of the "blocks" on the homepage encased by cells. This allows for some really unique appearnaces.
I have combed through many of the files pertaining to OSC, and I don't see how I could change the borders around the blocks to display graphics. I am completely capable of creating cell tables, and would even add them to this site if I knew WHERE to add them. lol
I would be most appreciative if someone could guide me on how I could pull this off.
(For those that care to know, Cubecart is NOT a good program to use as a storefront. It has some features, like the graphics, that I liked. The shops coding though contains a great deal of bugs. This includes the newest version, but also includes the complete line of 2.0 versions. I am switching over to OSC because of this. Also, they don't include shipping with their release. lol I guess they just assume shipping is free? Nonetheless, don't waste your time with that application as I did. It may be smaller and easier to customize, but OSC is much more powerful and comes with the items required to maintain a functioning site....like shipping and handling! lol)
Edited by Jan Zonjee, 18 September 2010 - 10:52 AM.
#34
Posted 07 April 2005 - 12:22 AM
iguanairs, on Apr 6 2005, 08:32 PM, said:
� � � � I am not new to graphics, so I like to add as many custom ones as I can. I have noticed that with Cubecart (A HORRID program) that they have all of the "blocks" on the homepage encased by cells. This allows for some really unique appearnaces.
I have combed through many of the files pertaining to OSC, and I don't see how I could change the borders around the blocks to display graphics. I am completely capable of creating cell tables, and would even add them to this site if I knew WHERE to add them. lol
I would be most appreciative if someone could guide me on how I could pull this off.
(For those that care to know, Cubecart is NOT a good program to use as a storefront. It has some features, like the graphics, that I liked. The shops coding though contains a great deal of bugs. This includes the newest version, but also includes the complete line of 2.0 versions. I am switching over to OSC because of this. Also, they don't include shipping with their release. lol I guess they just assume shipping is free? Nonetheless, don't waste your time with that application as I did. It may be smaller and easier to customize, but OSC is much more powerful and comes with the items required to maintain a functioning site....like shipping and handling! lol)
Firstly the looks of the boxes is controlled in the stylesheet.css file, and its possible to change colors and to add graphical images to the boxes there.
If you would like to change the way the boxes layout are functioning today , this is controlled in a file called boxes.php located in the folder /includes/classes
Alternatively you could use on of these contributions.....
1.
Infobox Skin Manager
2.
Graphical Borders
Edited by Jan Zonjee, 18 September 2010 - 10:52 AM.
Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.
#35
Posted 07 April 2005 - 12:30 AM
I can't believe I didn't see the graphical boxes contrib. I figured out how to add graphics to the infoboxheadings. I just never realized there was a graphics "kit" for the borders as well. Thank you for pointing me in the right direction.
#36
Posted 07 April 2005 - 12:46 AM
toyicebear, on Apr 6 2005, 05:22 PM, said:
If you would like to change the way the boxes layout are functioning today , this is controlled in a file called boxes.php located in the folder /includes/classes
Alternatively you could use on of these contributions.....
1.
Infobox Skin Manager
2.
Graphical Borders
Wow!!! I am going to add one of these Cont. to my site. Anyone like one particularly better than the other?
#37
Posted 07 April 2005 - 03:42 AM
Unfortunantly, the second contribution doesn't work correctly. I am fairly experienced, and I couldn't figure out the problems and there are cross browser issues. (Mozilla refuses to show the bottom images.)
I am preparing to see if I can get the first contribution to work.
#38
Posted 07 April 2005 - 04:39 AM
iguanairs, on Apr 7 2005, 03:42 AM, said:
Unfortunantly, the second contribution doesn't work correctly. I am fairly experienced, and I couldn't figure out the problems and there are cross browser issues. (Mozilla refuses to show the bottom images.)
I am preparing to see if I can get the first contribution to work.
I am playing with the first contribution, but there are a TON of bugs in one of the downloads. Trying to get the best and most updated download was not a wise choice on my part. It calls files that doesn't exist and even called upon a sql file that was named incorrectly.
I am trying to work around the bugs to see if I can get it to work.
#39
Posted 07 April 2005 - 04:40 AM
iguanairs, on Apr 6 2005, 08:42 PM, said:
Unfortunantly, the second contribution doesn't work correctly. I am fairly experienced, and I couldn't figure out the problems and there are cross browser issues. (Mozilla refuses to show the bottom images.)
I am preparing to see if I can get the first contribution to work.
Thanks, I will try the first one too....I use firefox, cross-browser compatability is very important to me.
#40
Posted 07 April 2005 - 05:07 AM
webtrek, on Apr 7 2005, 04:40 AM, said:
It is working. I need to play with a few more things, but so far, so good.









