Jump to content

markscarts

Member
  • Posts

    2,486
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by markscarts

  1. 1. If you want to have the html formatting there, you can try this in includes/content/viewCat.inc.php Find the line: $view_cat->assign("TXT_DESC",substr(strip_tags($productResults[$i]['description']),0,$config['productPrecis'])."&hellip;"); Replace with: $view_cat->assign("TXT_DESC",validHTML($productResults[$i]['description']),0,$config['productPrecis']."&hellip;"); 2. If you want to add more or less text, go to general settings in admin and change the number of characters (product precis) setting there. 3. I you really want to remove it (in my opinion it doesn't look stupid, but blank would look very stupid - we all have our opinions ) then do that in skins/xx/styleTemplates/content/viewCat.tpl. Remove the art in red: <td valign="top" class="{CLASS}"><a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self" class="txtDefault"><strong>{TXT_TITLE}</strong></a><br /> {TXT_DESC}<div class="txtOutOfStock">{TXT_OUTOFSTOCK}</div></td> 4. If you want a totally different text to show in there, you could add a "short description" type mod . . . so you'd have a space on add/edit product page to enter a short description just to appear in this list - then have that description appear here instead of a truncated section of the main desc. With CubeCart, your choices are practically unlimited on how to handle or changes something you don't like, and if you are inept at the coding you can always hire someone to do it for you. Again, I really like the design colors at your store, very good job :(
  2. PHP and MYSQL for Dynamic Websites, Visual QuickPro Guide, by Larry Ullman, PeachPit Press Install php and mysql on your local machine (I use wamp server for this) and work through the book a little when you have time. Start reading the CuibeCart files to get a crash course in understanding php. When people have questions on the forum, dig into one of your local installations and see if you can manage a solution. Pretty much guaranteed to work You have a hard copy reference/textbook, and hands-on experience reading, understanding and manipulating the code.
  3. Well, you should know that you can edit the ids in your mySql database using a manager like phpMyAdmin. If you do not know this, then be very careful messing about the database. As meow mentions, there are some good mods developed to do what you want and more; a member named Estelle has one and a member named Sir William has one that does categories and products and more.
  4. You have not altered the height setting on the correct element or your problem would have to be solved Since you do not offer a link to the site, we cannot see the code and therefore can offer no further help :)
  5. skins/xx/styleTemplates/content/viewCat.tpl Look for this line: <a href="index.php?act=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> ({NO_PRODUCTS}) Add comment tags around the "number of products" code like this: <a href="index.php?act=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> <!-- ({NO_PRODUCTS}) -->
  6. I'm not sure of your terminology: .featured? Latest Products? Featured Product? In CubeCart there is normally an area called featured product in a side box, which is actually a random image. The, there are the Latest Products which is a number of the last added products to your store, and they are listed in the main content area. At any rate, whether random prod or lastest prods, the answer is that these use the thumbnail images from your store, not the larger product images. Thumbnail size is set in store general settings under GD settings in control panel. If you specify a larger dimension there, then thumbnails will be craeted in the larger size when new images are added and assigned to products. But if you already have some thumbnails there, it won't automatically re-create them in the new size. You will have to delete them and start again, or replace them with a larger size via ftp or via file upload through uor website panel, etc. There are many ways to solve this depending on your knowledge and skill level, and what you are trying to accomplish. You could show the full-size product image by altering the php file. 1. What exactly do you wish to accomplish (details, as in sizes of pics, layout, etc.) 2. Are you familiar with ftp uploading? 3. Do you have any image batch processing software? 4. How many images on your store need to be dealt with?
  7. Welcome to the forum! Thank you very much for posting all the information you could think of. Too many people come with questions and give NO information whatever. I have written a free tutorial on changing the logo, if you have cubecart version 3.0.x, to read it search google for "customize your cubecart logo" You may also find it at our sister site, http://cubecart.org You will also find much great info on this question and others right here. Just look at the pinned posts at the top of this forum about skinning tricks, tips, etc. You may not understand some of the basics like using ftp, etc. If that is the case, you may contact me for more help or seek help from others here and at other forums. We are glad to help where we can, but bear in mind that the this forum is only about cubecart. Lessons on different ftp programs usage, cpanel usage, etc. etc. are beyond the scope of this cubecart forum. Again, welcome */*
  8. Your problem is in skins/xx/styleTemplates/boxes/session.tpl You didn't quite code it correctly. This code: <div class="boxTitleLeft">Login</div> <div class="boxContentLeft"> is intact when logged out, but missing when logged in . . . and the missing opening division tag causes the strange layout problem. I think you placed the code above after this code: <!-- BEGIN: session_false --> ANY code place between <!-- BEGIN: session_false --> and <!-- END: session_false --> WILL ONLY APPLY WHEN SESSION IS FALSE, that is, when a person is not logged in. The code I mentioned first above needs to be placed between <!-- BEGIN: session --> and <!-- BEGIN: session_false --> so that it can apply whether or not a person is logged in, instead of only when they are logged out By the way, I love the gold skin coloring. You're doing a good job of personalizing the stock skin */*
  9. what about mail() method? This doesn't work either? Also, what about email accounts for your own website? At your webhost, can't you set up mail accounts for wood-b-treasures.com? Some smtp servers do not require authentication - be sure that cox does. Nowadays, I think most would be very foolish not to require authentication on smtp anyway. There are usually 2 possible authentication methods. One is to require login with username and password, as you have set this for. The other way is to require logging in to the incoming server first, before sending. Are you sure of which method cox uses? Personally, if mail() method works, I'd use it instead of smtp. I have too many problems with my isp's and my webhost's smtp servers myself.
  10. The image indicates that a height setting is the culprit. FireFox is holding your "layout" elements to a height that is specified in the css file, and allowing the loner image + text to overflow their container while maintaining the inadequate container height per your setting. IE does not follow the css guidelines strictly as it should, so that browser treats a height setting as if it were a minimum-height setting - and is expanding the layout elements to fit your longer image + text. Look for any height setting on a subcat or subcats element and increase the height. You will probably finnd this inn your skin's layout.css file.
  11. this is a gif image, you have to use an image editing program to change the color.
  12. OK, so it could happen with any skin ~ my point is no one could help you without more info. Every bit of info gives a hint. Do you view your site in more than one browser? Anyway, I visited the site and I see that in FF2 the product prices on two items extends below the main box border. In IE they do not. This is because FireFox is following what your CSS specifies, while IE is ignoring it. Your CSS specifies an inadequate height for the product container division, due to length of product name you need more height to the boxes. This is what you have at the end of your layout.css file: .latestProds { float: left; text-align: center; width: 131px; height: 120px; } To cure the problem, change the value 120px to something larger. Try 150px You can adjust this up or down until it looks perfect to you. :)
  13. I know speedbumb really means well, but what he wrote was incorrect. Look in the file, skins/xxx/styleTemplates/content/viewCat.tpl Find a line like this: <a href="index.php?act=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> ({NO_PRODUCTS}) Remove the </a> within that line, and put it at the end: <a href="index.php?act=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY} ({NO_PRODUCTS})</a> That simple edit will cause the (x) number to have the same style and color as the category names. To give the number a different color that is independent of all others, leave the </a> in place anduse this method: <a href="index.php?act=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> <span style="font-color: red">({NO_PRODUCTS})</span> Just add the code in red, and change the "color: red" to "color: #404040" or any other color you desire.
  14. The problem is that you cannot use php in an XTemplate template - so you can't mix php with any of the xhtml you find in the skin files. All the php of CubeCart is separate from the html in store core files.
  15. http://www.cubecart.com/site/forums/index....showtopic=25101
  16. I beg to differ about the errors centering around AECL mod. Your skin designer has used id=menu instead of id="menu" and has recoded the category lists so that he has <span> outside the list item tags with </span> inside them. It would be better, though, to leave mod names and custom skin issues outside of the .com forum. As to finding the errors in the category menu code, you should look in skins/xx/styleTemplates/boxes/categories.tpl Sending PM :sourcerer:
  17. The best advice is, "Please always include a link so we can see what you are writing about." I can't visualize your problem, and have no idea which skin you're using, etc.
  18. Does this occur in all browsers? IE, Opera, Firefox, Netscape? Does the problem look worse in some browsers? It would simply require a deal of work to solve this and give you specific instructions on a solution. All I can do is give you some general advice. Most of the problem will be cured in skins/xx/styleTemplates/content/cart.tpl and in skins/xx/styleSheets/layout.css and style.css You need to compare terms between the English and the Dutch. Look for terms that are longer in Dutch and take more space than English. These are the terms that are pushing things out of whack. Look in the files mentioned to find the code behind the offending terms, and use html skills and css skills to provide more room for the longer words in Dutch. :sourcerer:
  19. You can use the min-width css property with any elements as needed : For the better browsers that will work, but for internet explorer you may need to add some images in the elements as needed to"prop" it open at a minimum width. You can use totally invisible gifs. Study more about the problem around the web, read about minimum width or minimum height on google.
  20. #topHeader { text-align: right; height: 116px; margin-bottom: 10px; padding-right: 9px; padding-top: 0px; background-image: url('../styleImages/backgrounds/topHeader.jpg'); background-repeat: no-repeat; border-bottom: 1px solid #000000 } Add it
  21. You can use min-width: 750px; for the better broesers that will work, but for internet explorer you may need to add some images to"prop" it open at a minimum width.
  22. skins/your-skin-name/styleSheets/layout.css
×
×
  • Create New...