northwalesinks Posted November 28, 2013 Share Posted November 28, 2013 Hi all. I have a logo on my website, i am using skin called Kurouto green but under Store Settings Store Logos nothing is showing up for my logo. Can somebody tell me what i have done so can fix this problem. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 28, 2013 Share Posted November 28, 2013 By "nothing is showing up", do you mean there is nothing to see or do on this page, or there are no images to choose from, or what? Create an image that is approximately 560x130px. On this page, admin.php?_g=settings#Logos, browse to the file on your computer and upload that image. That image will now show in the Current Logos box. Use the drop-down selector on the right to choose Kurouto Green and click Save. View your storefront using the Kurouto Green skin. You should now see your logo. Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted November 28, 2013 Author Share Posted November 28, 2013 No logo showing in Store Settings Store Logos area but it is on my cubecart skin No logo showing in Store Settings Store Logos area but it is on my cubecart skin Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 28, 2013 Share Posted November 28, 2013 Please tell us if you have manually edited the template file. In the file /skins/kurouto/templates/main.php, at about line 45, find: <div id="header"> {$SEARCH_FORM} <p class="logo"><a href="{$STORE_URL}"><img src="XXXXXXXXXXXXXXX" alt="{$META_TITLE}" /></a></p> </div> Instead of XXXXXXXXXXXXXXX, what is it in your copy of this file? Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted November 28, 2013 Author Share Posted November 28, 2013 To be honest it happen after we upgraded from cubecart 4 to 5 Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted November 29, 2013 Author Share Posted November 29, 2013 {$SEARCH_FORM} <p class="logo"><a href="{$STORE_URL}"><img src="{$STORE_LOGO}" alt="{$META_TITLE}" /></a></p> </div> <div id="breadcrumb"> <ul> <li><a href="{$STORE_URL}">{$LANG.common.home}</a></li> {foreach from=$CRUMBS item=crumb} <li><a href="{$crumb.url}">{$crumb.title}</a></li> {/foreach} </ul> </div> Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 30, 2013 Share Posted November 30, 2013 In the file /classes/gui.class.php, near line 1198, there is the _setLogo function. Thirteen lines later, near line 1211, there is:$GLOBALS['smarty']->assign('STORE_LOGO', CC_ROOT_REL.$this->_logo); Does your file have this same statement? Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted November 30, 2013 Author Share Posted November 30, 2013 * Set logo */ private function _setLogo($type = '') { if(!empty($type)) { $this->_logo = $GLOBALS['config']->get('logos',$type); } else { if(empty($this->_skin)) { $this->_setSkin(); } if(empty($this->_style)) { $this->_setStyle(); } $this->_logo = $GLOBALS['config']->get('logos',$this->_skin.$this->_style); } $GLOBALS['smarty']->assign('STORE_LOGO', CC_ROOT_REL.$this->_logo); } /* Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 30, 2013 Share Posted November 30, 2013 This is correct. Final thing to check: In the skin folder, kurouto skin, images. green, logo folder, there is a file named 'default.png'. Is that file your actual logo? Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted December 1, 2013 Author Share Posted December 1, 2013 Final thing to check: In the skin folder, kurouto skin, images. green, logo folder, there is a file named 'default.png'. Is that file your actual logo? = no as it saying your logo here Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted December 1, 2013 Author Share Posted December 1, 2013 HI found this information on source of web page This based on my cubecart 4 website </div> <p class="logo"><a href="http://www.northwalesinks.com/store"><img src="/store/images/logos/agent_based_on_kitablue.jpg" alt="North Wales Inks - Printer Ink Cartridges - Remanufactured Ink Cartridges & Compatible Ink Cartridges" /></a></p> </div> <div id="breadcrumb"> <ul> Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 2, 2013 Share Posted December 2, 2013 Looking at the source of the HTML - as delivered to the web browser - is a good thing. But the final HTML does not tell us what we need to know. We need to discover what PHP code CubeCart is using to decide to use the "agent_based_on_kitablue.jpg" image. To review: CubeCart is being told to use "agent_based_on_kitablue.jpg" as the store logo, but we don't why. The admin Store Settings, Logos tab, should confirm that "agent_based_on_kitablue.jpg" is the image file to use for Kurouto|Green, but it is not. Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted December 2, 2013 Author Share Posted December 2, 2013 How do we find out which PHP code CubeCart is using ?? Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 2, 2013 Share Posted December 2, 2013 By looking at the likely places in the codebase where a statement would exist that says to use "agent_based_on_kitablue.jpg" as the store logo. I have asked you to look at three or four places, and the information in your valuable replies has not revealed where that statement actually is. (A programmer would have a "search" tool that can scan hundreds of code files quickly looking for something specific.) Quote Link to comment Share on other sites More sharing options...
northwalesinks Posted December 10, 2013 Author Share Posted December 10, 2013 any idea to fix this problem as main logo is wrong and the logo for invoice is missing too Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted December 23, 2013 Share Posted December 23, 2013 I want to subscribe to this thread as I am having the opposite problem. I am using Kurouto GREY. I've uploaded my logo and it shows in the admin area, but not on my store front. Hoping this thread helps me out too. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 23, 2013 Share Posted December 23, 2013 Up above the Reply To this Topic button on the right here is another gray button to Follow this Topic. 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.