Is there way while we upgrade themes then over themes customisation will not be change? - cs-cart

When I changed or Update my current themes than my customization will not remain as it is. Is there any way where I can override my changes to add-on and hook

CS-Cart has thought of this. If you desire to preserve changes, take a look at the 'My Changes' addon, as it exactly fits your purpose: https://docs.cs-cart.com/latest/user_guide/addons/my_changes/index.html

Take a look at this document: https://docs.cs-cart.com/4.4.x/designer_guide/parent_themes.html
CS-Cart has so called 'parent themes' it's mean when you make any design changes you should do them in child theme. In this case after upgrade you child theme changes won't be overwritten and will work correctly.
In default package of CS-Cart - Bright Theme works this way.
And yes, in case of code changes use My_changes addon or any custom add-on. More details here: https://docs.cs-cart.com/latest/developer_guide/getting_started/guidelines.html

Related

I am CS-Cart beginner and can't update a page

I am new to CS-Cart and I have tasks to do for my current position. I don't know how to make changes to the website. I downloaded source code for safety but in case, if I mess up anything, I don't know how to back up that code. For example, should I change the layout in CS-Cart or do I need to change CSS files locally and push? Also, if someone can explain that do I need to change anything in PHP files and if so, how?
For php changes please use the safe way, hooks and details you can find here -> https://docs.cs-cart.com/latest/developer_guide/core/coding_standards/hooks.html
In regards to theme please find documentation here -> https://docs.cs-cart.com/latest/designer_guide/index.html

Modifying Drupal 8 administration theme

I've recently added the faqfield module - but when reviewing this in the content editor the fields are spewing over the container.
I fixed the issue by adjusting the textarea.form-textarea css to min-width:100% in chrome console -- but I am not sure how to apply this fix to the site itself. Is there a way of adding into the db level an override css for the admin theme? Or do I create an overriding change in the theme folder - and if so how?
before quick fix
after quick fix
You can create a new custom admin theme and have it use the contributed admin theme you're using as a base.
You can then just override stuff as needed:
In your my_theme.info.yml in the top section add:
base theme: contrib_admin_theme_name
You then use your own custom theme as the admin theme, but it well use everything from the contributed admin theme, except for the stuff you overwrite.
The best way is to go to Drupal.org and submit it as a patch (you'd be doing it in the Drupal core issue queue since Seven is a core theme). If you don't want to do that then you'd create a subtheme based on the Seven theme, and add your CSS in there. You don't wan to update the theme directly as anytime you update the Drupal core it'll overwrite your changes.

CS-CART Themeing

I have been looking into using CS-CART as a shopping cart and started looking through the themes and it appears to me the only way to build a theme is to extend a default theme and use the theme editor and visual designer to construct themes. Is this the only way or is there a way to code custom themes without being limited to designing in the administration section?
The theme editor is intended to be used as a customization tool for the site administrator, not for the theme developer.
A theme may provide configuration for the theme editor - what colors can be changed, etc.
For the deep customization of how the site looks you can create you own theme with your own CSS code.
Check out this guide on how to create your custom theme - http://docs.cs-cart.com/4.3.x/designer_guide/theme_tutorial/index.html
Also there is an official Bootstrap 3 theme for CS-Cart which can be easily customized - https://github.com/cscart/cscart-boilerplate#the-cs-cart-boilerplate-theme
You are not limited, you have all the tools that you need to develop as you desire, the responsive theme is the base because this theme was tested enough so far and have good feedback and for somebody to start from scratch will take to much time and until you finish CS-Cart will do a big change and you will need to do another work ;)
Please check https://www.ambientlounge.ie and let me know if you find any limitations here :D
It's very easy modift cs-cart theme, cs-cart theme base on bootstrap and and smarty engine, firt you need looking for "index.tpl", "common/script.tpl", "common/style.tpl", "view/block_manager/render/grid.tpl || container.tpl || block.tpl || location.tpl. and you will understand cs-cart theme structure
You need to know smarty engine syntax here http://www.smarty.net/documentation
and cs-cart developer doc here http://docs.cs-cart.com/4.3.x/#designer-guide

No horizontal navigation showing on Magento custom theme

I have decided to sit down and build my first custom theme in Magento and I'm using this tutorial: http://net.tutsplus.com/tutorials/php/magento-for-designers-part-4/
However I cant for the life of me find a way to include horizontal navigation (Home | Shop | Contact etc.) along the top of my website!
I tried all the suggestions I could find including placing everything in the root category and enabling all cats in the navigation.. refreshing the cache etc.
I've been working at this for hours now and been searching everywhere for an answer. I've pretty much followed the tutorial step by step but I can't see any way to enable the Nav - can someone please point me in the right direction with this?
(I'm kind of assuming Magento have a way to do this to add categories automatically - I'm aware I could hard code the navigation bar but I'm trying to avoid this.)
Looking at the screenshot on the tutorial, it doesn't actually have the menu anyway.
I'd recommend you check out leveluptuts magento theming tutorials, who actually take the base theme and manipulates it into the desired theme. I think you'll have much more luck that way as most of the templates and layout files are already built.
http://leveluptuts.com/tutorials/magento-community-tutorials/25-theming-magento-1-intro-theming
For the top menu, the default theme pages call the "header.phtml" template for the header block (app/design/frontend/base/default/template/page/html/header.phtml), which in turns calls the "topmenu.phtml" template (app/design/frontend/base/default/template/page/html/topmenu.phtml) where the menu code is.
The layout files is page.xml
Hope this helps!

Joomla Editor in 1.5 not displaying in articles or modules

Some time ago I cleaned the Joomla database of some eroneous items and I fear that in the process an element related to the loading of the Joomla Editor may have been removed. Currently, when attempting to edit an article or module, I am only shown the article description drop downs, name fields etc but no editor. I no longer have access to any local backups of the darn thing so - I am lost.
It depends on a few things:
A) What did you delete? Do you remember specifically? If it was the default editor - if you were so inclined you could create a 'fresh install' and export the specific tables you may have deleted and import them into the current joomla site.
B) Are you sure that the editor is not selected as 'none' under global settings? You can globally turn off the editor under global settings - check that first.
Just some additional questions; when you say no editor - do you see the pure HTML output? Or is there nothing there to edit?
If nothing else I hope my suggestions above give you some ideas to track down and point you in the right direction. I'd love to see it be something as simple as going to global settings and enabling the editor ;)
Also, if you did in fact delete the stock/default joomla editor - there is a great (and amazingly powerful) extension called JCE - which is an editor that can be downloaded/installed. For 1.5 - it adds some cool functionality and is very customizable. Just a thought if you can't find anything else that would work.
Good luck!

Resources