Guest Secret-Services Posted December 15, 2006 Share Posted December 15, 2006 Finished problem! Thanks for help me. Quote Link to comment Share on other sites More sharing options...
roban Posted December 15, 2006 Share Posted December 15, 2006 The answers to your questions can be found in the pinned posts in the skins & templates section Quote Link to comment Share on other sites More sharing options...
markscarts Posted December 16, 2006 Share Posted December 16, 2006 I received your PM, I had already seen your question and Roban's reply. Since you sent a PM, am I to understand that you can't find the answers in pinned posts? Well, here is my response anyway . . . 1. I do not worry about centering these, they are meant to float left in the cubecart code, If you use Killer or some other liquid width skin you will find it VERY difficult to center these - as anyone who visits your site with a different screen resolution may get a different result on the "centering" IF you are using a STATIC width skin like Classic or Legend, there are many ways to hack this out. I will only give one here, which is easy enough to implement. 1. OPEN includes/content/index.inc.php 2. FIND this line of code: $index->assign("VAL_WIDTH", $config['gdthumbSize']+75); This is what sets the width for each individual element containing a latest prod image. The code sets the width at the size setting for thumbnails from your ACP settings, plus 75px extra space ~ 3. INCREASE the number 75; experiment with this until the latest products are spread out evenly across the page; i.e., "centered" Example: $index->assign("VAL_WIDTH", $config['gdthumbSize']+95); By trial and error you will find the best setting for your store. Be sure to check in both IE and FF for best results. 2. To move the category image to the top, 1. OPEN skins/xx/styleTemplates/content/viewCat.tpl 2. FIND this code: <!-- BEGIN: cat_img --> <img src="{IMG_CURENT_CATEGORY}" alt="{TXT_CURENT_CATEGORY}" border="0" title="{TXT_CURENT_CATEGORY}" /> <!-- END: cat_img --> 3. CUT that code (remove it) and PASTE the code just ABOVE THIS line: <!-- BEGIN: sub_cats --> Note, this example was taken from Legend skin. 3. Your third question has been answered so many times it is ridiculous if you cannot find it http://www.cubecart.com/site/forums/index....;hl=change+text Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted December 16, 2006 Share Posted December 16, 2006 Thanks Quote Link to comment Share on other sites More sharing options...
markscarts Posted December 16, 2006 Share Posted December 16, 2006 Understood Hope the above help will be sufficient ;) Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted December 17, 2006 Share Posted December 17, 2006 Thanks Quote Link to comment Share on other sites More sharing options...
markscarts Posted December 17, 2006 Share Posted December 17, 2006 Hi, sorry, but those instructions do not cause that problem. Modifying the dimension of subcat can cause that problem You have either screwed up in global/index.tpl with a break + clear or a closind division tag . . . Or, you have put something too wide in the center column. If you have been changing the size setting of subCat, this could be the cause. The instructions above for moving category image will not cause this problem. It will not be possible to help any further without viewing your source code, so please provide a link to store when requesting further help from the forum. Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted December 18, 2006 Share Posted December 18, 2006 Thanks!!! Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted December 18, 2006 Share Posted December 18, 2006 Thanks Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted December 18, 2006 Share Posted December 18, 2006 up Quote Link to comment Share on other sites More sharing options...
markscarts Posted December 19, 2006 Share Posted December 19, 2006 Bumping this thread will probably get it closed by a moderator. We're here to help; if we can we will, if we we can't, we won't. We're volunteers here, and not obligated. I have already answered your questions: 1. The code change you have made in viewCat.tpl does not cause the problem you are experiencing. 2. I have already outlined some possible causes, which would be found in other files. 3. Your link is not working. BUMPING your thread will be unproductive, please refrain from it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.