CubeCart Bot Posted July 14, 2018 Share Posted July 14, 2018 Name: Noodleman.co.uk Store Theme Price: Free Category: Skins Homepage: https://www.cubecart.com/extensions/skins/noodleman-co-uk-store-theme Quote Link to comment Share on other sites More sharing options...
webcreator Posted March 16, 2019 Share Posted March 16, 2019 I've uploaded this skin but there is no option to replace the developers Logo with my own? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 16, 2019 Share Posted March 16, 2019 In the Noodleman skin template main.php, find: Near line 26: <a href="{$ROOT_PATH}" class="main-logo"><img src="{$STORE_URL}/skins/noodleman_v6/images/noodleman/noodleman-logo.png" alt="{$CONFIG.store_name}"></a> Change to: <a href="{$ROOT_PATH}" class="main-logo"><img src="{$STORE_LOGO}" alt="{$CONFIG.store_name}"></a> 1 Quote Link to comment Share on other sites More sharing options...
webcreator Posted March 16, 2019 Share Posted March 16, 2019 Thank you ever so much for your reply! How kind. That worked, Thankyou. I really appreciate it, especially when you've replied at the weekend! I'm just trying to fathom out how to change the default developers 'about Noodleman' text on the homepage now. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 16, 2019 Share Posted March 16, 2019 (edited) In the template content.homepage.php, for the first eleven lines of code: Change to: {if isset($DOCUMENT)} <div class="row show-for-medium-up"> <div class="small-12 columns"> <div id="content_homepage"> {if $DOCUMENT.hide_title==0}<h1>{$DOCUMENT.title}</h1>{/if} {$DOCUMENT.content} </div> </div> </div> {/if} Do the same edit as you did for main.php to the template main.checkout.php. Edited March 16, 2019 by bsmither Quote Link to comment Share on other sites More sharing options...
peterp Posted April 2, 2019 Share Posted April 2, 2019 Hi All, I have downloaded this skin and what I'm trying to do is change the color scheme but I'm having trouble in understanding what CSS file is being used when. Could somebody please explain the processes that this skin goes through to create a css file in the cache directory, that's how I'm understanding it Best Regards, Peterp Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 2, 2019 Share Posted April 2, 2019 The latest version of CubeCart and the latest version of the Foundation skin (and skins derived from it's 'scheme') will combine all the CSS files into one file, then squeeze it to remove comments, line endings and other little manipulations. The combined and squeezed file is then written to the /cache/ folder. The skin template main.php is also rewritten to make the browser request the cached file. (Note: this skin has not implemented a fix regarding debug mode. To implement it, see: https://github.com/cubecart/v6/issues/2037 This will allow for much easier efforts to customize.) The actual process of combining the css files is accomplished by a new Smarty plugin, /includes/lib/smarty/plugins/function.combine.php. Please examine the skin template file element.css.php. The plugin takes the list of CSS files, combines them, then writes the specified file. The process of minifying the HTML (squeezing) is accomplished by an add-on post-processing filter, /includes/lib/smarty/filters/HTMLMinify.smarty.php. We suggest that (after making the edits discussed above) during your customizing efforts, to set CubeCart to not to use any cache, and/or to enable debug mode (enter your local IP address in the adjacent field - www.whatismyip.com). The order that the CSS files are combined is according to the list seen in element.css.php: the list members, followed by any files loaded via plugins or code snippets into $CSS, followed by the skin's sub-theme style file ('default', for example). Quote Link to comment Share on other sites More sharing options...
peterp Posted April 3, 2019 Share Posted April 3, 2019 Hi Brian, Thankyou so very much for you explanation of how this all works, I have made the changes that you have suggested and that certainly allows me to customize much easier. Once again your help is vry much appreciated Best Regards, Peterp Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 6, 2021 Share Posted November 6, 2021 Please see: 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.