Giter VIP home page Giter VIP logo

Comments (3)

francescbassas avatar francescbassas commented on August 19, 2024

Thanks @JoeMurray for the comments. I will try to resolve your doubts.

  1. There are three vars but with different purposes. "name" and "text" are text strings for localization. brand_color is for template versions (for example if you want to use the same template for various clients you could define vars like logo, brand_color, urls to get one template for each client.

  2. Use of {{name}} is purelly illustrative to explain tool function. Surely the sample is not the right one.

  3. There may be inconsistencies in the documentation. If in config/template1/vars/color3.php there is a 'langs' => array('en'), then only one template template1-en-color3.php it should be generated.

from mosaico-templating-tool.

francescbassas avatar francescbassas commented on August 19, 2024

I'm pending to try this tool with a HTMML mosaico template https://github.com/voidlabs/htmml. Maybe make sense to integrate this tool with HTMML.

from mosaico-templating-tool.

JoeMurray avatar JoeMurray commented on August 19, 2024

Thanks again for this tool. Looking forward to other work you may do to support multilingual mailings from Civi. I'll likely post questions if needed.

from mosaico-templating-tool.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.