Magento Expert Forum - Improve your Magento experience

Results 1 to 12 of 12

Magento template design and development - Part 1 - Introduction

  1. #1
    Junior Member jaredovi's Avatar
    Join Date
    Mar 2013
    Posts
    68
    Thanks
    2
    Thanked 14 Times in 11 Posts

    Post Magento template design and development - Part 1 - Introduction

    The first step in any magento customization is design changes (both CSS and HTML Changes). Magento comes with a default theme, but usually people require some changes in their theme depending on their websites. Minor text add/edits, layout changes and other changes are usually required.

    Magento template system is very powerfully, it gives you the ability to change almost anything. The template system consists of layout xml files, css files and phtml files. In a typical PHP application, we have HTML/PHP and CSS files where we create/edit the design/layout of the website. But in magento we have .phtml files to do the job html files. Magento follows MVC architecture and .phtml file do the job of VIEW. phtml are meant only for creating the structure of a page through html/php. They can be used to write complex php codes as well, but generally magento doesn’t follow this standard.

    The default folders in magento which contain css and phtml files are:

    • CSS: skin\frontend\default\default\
    • PHTML: app\design\frontend\base\default\template\
    • Layout: app\design\frontend\base\default\layout\


    Before going into magento development we need to remember few things (general good practices to follow, not compulsory):

    1. We should never to change magento core files. The reason being, whenever magento is updated all core files are overwritten. So if you make changes in core files those changes will be lost. Core files means, files that come with default magento package. All php, xml and .phtml files where magento code is written.

    2. Always remember to turn of magento cache before starting development work. If cache is Turned On, your latest change might not show up in magento. To turn off cache you need to go to magento admin. From top menu go to System -> Cache Management. Then select all cache types and disable them. See image below:


    Now let’s start with a very simple task: We will simple remove the default magento logo from the header.

    To do this, first we need to know which file to make the changes. For this, magento has a system called Template Path Hints. After enabling temple path hints, you need to refresh your magento home page, you see red color boxes, with paths of phtml files in them. Basically, magento tell you from which file has the current content on the page is coming from. So as you can see from the hints, that header comes from the phtml frontend/base/default/template/page/html/header.phtml , we can simply edit this file and remove the logo.
    But, since as a general we should not edit any magento core files, we will create our new theme. In this theme we will do our edits and tell magento to use our theme instead of default theme.

    To create a new theme in magento, open magento admin and go to System->Configuration->General->Design->Themes

    Follow steps below to create a new theme

    1. Let say our new theme name is “newtheme”. To implement the theme make entries like show in image.


    2. Next need to first create folders for our theme. For the PHTML files, create folder named “newtheme” in app/design/frontend/default/ and copy the contents of app/design/frontend/base/default into it. See Screenshot

    3. And for CSS files, create a folder name “newtheme” in skin/frontend/default/newtheme and copy the content of skin/frontend/default/default into. See Screenshot

    To test your new theme, enable template path hints again and see if files from your theme are shown there or not. You can now make changes to your theme instead of default theme.
    So to remove the magento logo, go to the header.phtml file in your new theme and remove the HTML for the logo.

    View more threads in the same category:


  2. #2
    Junior Member phuc2x's Avatar
    Join Date
    Mar 2013
    Posts
    16
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    Very useful to start with magento template coding, thanks.

  3. #3
    Junior Member
    Join Date
    May 2013
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this guide is really very helpful for those who are fresher to magneto designing & development.

  4. #4
    New member
    Join Date
    Jul 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Got a question: is it possible to use a Joomla Template in Magento?
    I'd like to use this one http://themeforest.net/item/proma-jo...mplate/3897027
    The thing is, I like the theme very much and want to use it in a Magento store.

  5. #5
    New member
    Join Date
    Apr 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Really helpful information.. I will use it now. I will start to design websites in magento. I am designer work at fast recruitment website company.

  6. #6
    New member arianna143's Avatar
    Join Date
    Apr 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Great share for the startup...!!!

  7. #7
    Junior Member
    Join Date
    Apr 2014
    Posts
    104
    Thanks
    1
    Thanked 5 Times in 5 Posts

    Default

    Name:  magento.jpg
Views: 3083
Size:  77.6 KB
    Currently, many design and development shops for Magento exist around the globe. You can locate these via a simple Google search. However, if you want a specific development and design for Magento, it is recommended that you describe your requirements exactly. You can also go with http://www.contus.com/magento-development.php..., who can assist you further.

  8. #8
    New member
    Join Date
    Jan 2018
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Useful guide to start with magento template coding!
    ________________
    Yahoo mail login guide

  9. #9
    Junior Member
    Join Date
    Apr 2018
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    In this questionnaire, we would discuss how to make the theme pages and give shape to the entire theme with styling.
    You need view.xml to Configure Image Properties in Your Theme. This file is needed for the theme if the product image sizes of your custom theme are different from the parent theme sizes.

    If you make the category grid view product images by specifying size of 350 x 350 pixels,
    Just Copy the view.xml file from the etc. change directory of your parent theme to your theme’s etc directory and here is how the corresponding configuration would look like:

    <image id="category_page_grid" type="small_image">
    <width>350</width>
    <height>350</height>
    </image>
    Hope it helps!

  10. #10
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    228
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Subjects review. A topic is a part of Magento application which gives a steady look and feel (visual plan) for whole application zone (for instance, retail facade or Magento administrator) utilizing a blend of custom formats, designs, styles or pictures.

  11. #11

  12. #12
    Junior Member RUSEPH's Avatar
    Join Date
    Jan 2023
    Posts
    348
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    https://worldpassporte.com/  We are specialists in the production of real database registered novelty passports, Driver's License, ID Cards, Residence Permit, SSN, Full Citizenship Package, Diploma's, IELTS / TOEFL, Certificates and many more in which we record all information about the client in the proposed database system. Everything is real, and the client without problems uses the document legally. https://worldpassporte.com/buy-passport-online/

    https://www.buyeupassportonline.com/...sport-online/    
    We make it easier for everyone to acquire a registered EU international passport, driver’s license, ID Cards, and more regardless of where you are from https://worldpassporte.com/.

    Visit the website: https://worldpassporte.com/
    https://worldpassporte.com/buy-a-swiss-drivers-license/
    https://worldpassporte.com/buy-passp...ssport-online/

    Buy Registered Passport Online https://worldpassporte.com/
    BUY PASSPORT ONLINE UK  https://worldpassporte.com/
    BUY DRIVER'S LICENSE ONLINE UK  https://worldpassporte.com/
    BUY REAL PASSPORT ONLINE https://worldpassporte.com/

    WhatsApp contact: +44 7459 562803
    https://worldpassporte.com/buy-drivers-license-online/
    https://worldpassporte.com/buy-uk-passport-online/
    https://worldpassporte.com/buy-german-passport-online/
    https://worldpassporte.com/buy-portu...ssport-online/
    https://worldpassporte.com/buy-spanish-passport/
    https://worldpassporte.com/buy-australian-passport/
    https://worldpassporte.com/buy-italian-passport/
    https://www.buyeupassportonline.com/
    https://worldpassporte.com/about-us/
    https://worldpassporte.com/services/
    https://worldpassporte.com/buy-toefl-ielts-online/
    https://worldpassporte.com/buy-dual-citizenship-online/
    https://worldpassporte.com/buy-id-card-online/

    Buy Drivers License Online

    Buy Registered Drivers License Online

    Buy Real Drivers License Online

    Buy Fake Drivers License Online

    Buy Passport Online

    Buy Registered Passport Online

    https://www.buyeupassportonline.com/...ssport-online/

    Buy Real And Fake Registered Passport Online

    Buy Registered IELTS | TOEFL Certificate Online

    https://worldpassporte.com/buy-passport-online/

    Buy United States Passports online

    Buy Finland Passport online

    Buy UK Passports online

    Buy a German passport online | German passport application
    German passport online

    https://worldpassporte.com/buy-drivers-license-online/

    Buy the United States Driver's License Online

    Buy Finland driving license online

    Buy UK driver's license online

    Buy a German driver's license online

    Buy German driver's license online | German driving license

    Buy New Zealand driver's license online

    Buy Latvian driver's license online

    Buy Ireland driver's license online

    Buy New Zealand passport online

    Buy Latvia Passport online

    Buy Ireland Passport online

    Buy Denmark Passport online

    Buy Portugal Passport online

    https://worldpassporte.com/buy-passp...ssport-online/

    Buy Portuguese Passport Online | Buy Real And Fake Portuguese Passport Online

    Buy Cyprus Passport for sale

    Buy Luxembourg Passport online

    Buy Turkish passport online

    Buy Dutch passport online

    Buy Norwegian passport online

    Buy Poland Passport online

    Buy Romania Passport online

    Buy Serbian passport online

    Buy Singapore Passport online

    Buy Greece Passport online

    Buy Hungarian passport online

    Buy a French passport online

    Buy US passport online

    Buy Romanian passport online

    Buy Slovenian passport online

    Buy Slovak passport online

    Buy Spanish passport online

    Buy a Swiss passport online

    Buy Thailand passport online

    Buy Chile passport online

    Buy Croatian passport online

    Buy Canadian passport online

    Buy Costa Rica Passports online

    Buy Estonian passport online

    Buy Australia Passport online

    Buy Denmark driving license online

    Buy Portugal driving license online

    Buy Cyprus Driver License For Sale

    Buy Luxembourg driver's license online

    Buy Turkish driver's license online

    Buy Dutch driver's license online

    Buy Norwegian driver's license online

    Buy Romania driver's license online
    Buy Serbian driver's license online

    Buy Australian driver's license online

    Buy a German passport online

    German passport application

    https://worldpassporte.com/norway-drivers-license/

    https://worldpassporte.com/buy-germa...icense-online/

    https://worldpassporte.com/buy-uk-dr...icense-online/

    https://worldpassporte.com/buy-austr...e-online-2021/

    BUY REAL PASSPORT ONLINE https://worldpassporte.com/

    Contact WhatsApp: +44 7459 562803

    We use real sophisticated materials for creating documents.

    Whether real or fake documents, we use the same quality materials.

    The same materials that are used by all the authorities are the same materials that we use to create real documents.

    So everything will be 100% of the highest quality.

    All of our documents bear the secret features and could be seen under UV light with full spectrum holograms.

    We digitally scan the fingerprints you send us and register them in the alleged database system.

    We assure all of our customers 100% SECURITY https://www.buyeupassportonline.com/
    https://www.buyeupassportonline.com/about-us/
    https://www.buyeupassportonline.com/...nish-passport/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...nline/-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...lian-passport/
    https://www.buyeupassportonline.com/...nline-austria/
    https://www.buyeupassportonline.com/...-and-delivery/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...ssport-online/
    https://www.buyeupassportonline.com/...nse-australia/
    https://www.buyeupassportonline.com/...icense-online/
    https://www.buyeupassportonline.com/...ivers-license/
    https://www.buyeupassportonline.com/...icense-online/

    <a href="https://worldpassporte.com/">https://worldpassporte.com/</a>
    <a href="https://worldpassporte.com/about-us/">https://worldpassporte.com/about-us/</a>
    <a href="https://worldpassporte.com/services/">https://worldpassporte.com/services/</a>
    <a href="https://worldpassporte.com/buy-passport-online/">https://worldpassporte.com/buy-passport-online/</a>
    <a href="https://worldpassporte.com/buy-toefl-ielts-online/">https://worldpassporte.com/buy-toefl-ielts-online/</a>
    <a href="https://worldpassporte.com/buy-dual-citizenship-online/">https://worldpassporte.com/buy-dual-citizenship-online/</a>
    <a href="https://worldpassporte.com/buy-id-card-online/">https://worldpassporte.com/buy-id-card-online/</a>
    <a href="https://worldpassporte.com/buy-drivers-license-online/">https://worldpassporte.com/buy-drivers-license-online/</a>
    <a href="https://worldpassporte.com/buy-passport-order-passport-online/">https://worldpassporte.com/buy-passport-order-passport-online/</a>
    <a href="https://worldpassporte.com/buy-portuguese-passport-online/">https://worldpassporte.com/buy-portuguese-passport-online/</a>
    <a href="https://worldpassporte.com/buy-uk-passport-online/">https://worldpassporte.com/buy-uk-passport-online/</a>
    <a href="https://worldpassporte.com/buy-german-passport-online/">https://worldpassporte.com/buy-german-passport-online/</a>
    <a href="https://worldpassporte.com/buy-spanish-passport/">https://worldpassporte.com/buy-spanish-passport/</a>
    <a href="https://worldpassporte.com/buy-australian-passport/">https://worldpassporte.com/buy-australian-passport/</a>
    <a href="https://worldpassporte.com/buy-italian-passport/">https://worldpassporte.com/buy-italian-passport/</a>
    <a href="https://worldpassporte.com/norway-drivers-license/">https://worldpassporte.com/norway-drivers-license/</a>
    <a href="https://worldpassporte.com/buy-austrian-drivers-license-online-2021/">https://worldpassporte.com/buy-austrian-drivers-license-online-2021/</a>
    <a href="https://worldpassporte.com/buy-german-drivers-license-online/">https://worldpassporte.com/buy-german-drivers-license-online/</a>
    <a href="https://worldpassporte.com/buy-uk-drivers-license-online/">https://worldpassporte.com/buy-uk-drivers-license-online/</a>

    Buy Real Registered Passport Online
    <a href="https://www.buyeupassportonline.com/">https://www.buyeupassportonline.com/</a>
    <a href="https://www.buyeupassportonline.com/about-us/">https://www.buyeupassportonline.com/about-us/</a>
    <a href="https://www.buyeupassportonline.com/buy-a-spanish-passport/">https://www.buyeupassportonline.com/buy-a-spanish-passport/</a>
    <a href="https://www.buyeupassportonline.com/buy-a-us-passport-online/">https://www.buyeupassportonline.com/buy-a-us-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-real-us-passport-online/">https://www.buyeupassportonline.com/buy-real-us-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-us-passport-online/">https://www.buyeupassportonline.com/buy-us-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-australia-passport-online/">https://www.buyeupassportonline.com/buy-australia-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-british-passport-online/">https://www.buyeupassportonline.com/buy-british-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-canadian-passport-online/">https://www.buyeupassportonline.com/buy-canadian-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-eu-passport-online/-online/">https://www.buyeupassportonline.com/buy-eu-passport-online/-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-dutch-passport-online/">https://www.buyeupassportonline.com/buy-dutch-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-german-passport-online/">https://www.buyeupassportonline.com/buy-german-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-italian-passport/">https://www.buyeupassportonline.com/buy-italian-passport/</a>
    <a href="https://www.buyeupassportonline.com/buy-passport-online-austria/">https://www.buyeupassportonline.com/buy-passport-online-austria/</a>
    <a href="https://www.buyeupassportonline.com/buy-passports-online-with-shipping-and-delivery/">https://www.buyeupassportonline.com/buy-passports-online-with-shipping-and-delivery/</a>
    <a href="https://www.buyeupassportonline.com/buy-real-passport-online/">https://www.buyeupassportonline.com/buy-real-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-spanish-passport-online/">https://www.buyeupassportonline.com/buy-spanish-passport-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-drivers-license-australia/">https://www.buyeupassportonline.com/buy-drivers-license-australia/</a>
    <a href="https://www.buyeupassportonline.com/buy-german-drivers-license-online/">https://www.buyeupassportonline.com/buy-german-drivers-license-online/</a>
    <a href="https://www.buyeupassportonline.com/buy-uk-drivers-license/">https://www.buyeupassportonline.com/buy-uk-drivers-license/</a>
    <a href="https://www.buyeupassportonline.com/buy-us-drivers-license-online/">https://www.buyeupassportonline.com/buy-us-drivers-license-online/</a>

Similar Threads

  1. Magento template design and development - Part 3 - Advanced Layouts
    By jaredovi in forum Template, Design, HTML, CSS, Javascript
    Replies: 9
    Last Post: 18-09-2020, 01:44 AM
  2. Magento template design and development - Part 2 - Layouts
    By jaredovi in forum Template, Design, HTML, CSS, Javascript
    Replies: 11
    Last Post: 13-07-2020, 07:28 AM
  3. How I can get started with magento template design?
    By phuc2x in forum HTML, XHTML, CSS, Design Questions
    Replies: 8
    Last Post: 29-05-2019, 06:14 AM
  4. Replies: 1
    Last Post: 18-03-2015, 08:09 AM
  5. Magento Module Development - Part 7 - Overriding
    By rocker in forum Programming & Development
    Replies: 0
    Last Post: 29-04-2013, 02:37 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •