6 Replies Latest reply on Sep 4, 2014 12:06 PM by Jose Miguel Loor

    [forge-dev] Custom Templates by Project

      Hi, I'm starting with Forge and I would like to know how can I work with

      custom templates by project.

       

      Let me try to be more clear, I want to have a project A using AngularJS

      Addon with custom templates for my views and a project B using AngularJS

      Addon with others custom templates.

       

      The differences won't be only images, styles, etc but will be on the

      structure of html also.

       

      My question is: How can I do that? Is there a simple way? Maybe some addon.

       

      Thank you!

      ---

      Filipe Névola <https://twitter.com/FilipeNevola>

      *Leader of Product Innovation Lab at *Tecsinapse

      <http://www.tecsinapse.com.br>

       

      *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

      aproveitando sua vida como poderia.*

      *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com

      abundância."*

       

        • 1. Re: [forge-dev] Custom Templates by Project
          Lincoln Baxter III Master

          Hey Vineet,

           

          What are your thoughts about this?

           

          Filipe, sorry this is not simpler right now - we are in the middle of

          refactoring scaffolding to make things easier in this way, but for now I

          think the only way to do this is to fork the addon and build locally. I

          could be wrong, though.

           

          ~Lincoln

           

           

          On Fri, May 30, 2014 at 2:21 PM, Filipe Névola <filipenevola@gmail.com>

          wrote:

           

          Hi, I'm starting with Forge and I would like to know how can I work with

          custom templates by project.

           

          Let me try to be more clear, I want to have a project A using AngularJS

          Addon with custom templates for my views and a project B using AngularJS

          Addon with others custom templates.

           

          The differences won't be only images, styles, etc but will be on the

          structure of html also.

           

          My question is: How can I do that? Is there a simple way? Maybe some addon.

           

          Thank you!

          ---

          Filipe Névola <https://twitter.com/FilipeNevola>

          *Leader of Product Innovation Lab at *Tecsinapse

          <http://www.tecsinapse.com.br>

           

          *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

          aproveitando sua vida como poderia.*

          *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com

          abundância."*

           

          _______________________________________________

          forge-dev mailing list

          forge-dev@lists.jboss.org

          https://lists.jboss.org/mailman/listinfo/forge-dev

           

           

           

           

          --

          Lincoln Baxter, III

          http://ocpsoft.org

          "Simpler is better."

           

          • 2. Re: [forge-dev] Custom Templates by Project

            Hi Lincoln, just fork the addon is a workaround but if I expand this

            concept for many templates by project it fails.

             

            By example, if I want to have some templates on my project and each

            resource use one of those this strategy fails.

             

            I'm kind new to forge but I'm trying to understand it better to maybe

            create a new addon to make this possible.

             

            My initial idea is to create something simple using scaffold base but with

            one more argumento like --template and pass the path of my template's

            project to be used, what do you think about this way? Makes sense?

             

             

            ---

            Filipe Névola <https://twitter.com/FilipeNevola>

            *Leader of Product Innovation Lab at *Tecsinapse

            <http://www.tecsinapse.com.br>

             

            *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

            aproveitando sua vida como poderia.*

            *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com

            abundância."*

             

             

            2014-06-03 12:25 GMT-03:00 Lincoln Baxter, III <lincolnbaxter@gmail.com>:

             

            Hey Vineet,

             

            What are your thoughts about this?

             

            Filipe, sorry this is not simpler right now - we are in the middle of

            refactoring scaffolding to make things easier in this way, but for now I

            think the only way to do this is to fork the addon and build locally. I

            could be wrong, though.

             

            ~Lincoln

             

            >

            On Fri, May 30, 2014 at 2:21 PM, Filipe Névola <filipenevola@gmail.com>

            wrote:

             

            >> Hi, I'm starting with Forge and I would like to know how can I work with

            >> custom templates by project.

            >>

            >> Let me try to be more clear, I want to have a project A using AngularJS

            >> Addon with custom templates for my views and a project B using AngularJS

            >> Addon with others custom templates.

            >>

            >> The differences won't be only images, styles, etc but will be on the

            >> structure of html also.

            >>

            >> My question is: How can I do that? Is there a simple way? Maybe some

            >> addon.

            >>

            >> Thank you!

            >> ---

            >> Filipe Névola <https://twitter.com/FilipeNevola>

            >> *Leader of Product Innovation Lab at *Tecsinapse

            >> <http://www.tecsinapse.com.br>

            >>

            >> *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

            >> aproveitando sua vida como poderia.*

            >> *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham

            >> com abundância."*

            >>

            >> _______________________________________________

            >> forge-dev mailing list

            >> forge-dev@lists.jboss.org

            >> https://lists.jboss.org/mailman/listinfo/forge-dev

            >>

            >

            >

            --

            Lincoln Baxter, III

            http://ocpsoft.org

            "Simpler is better."

             

            _______________________________________________

            forge-dev mailing list

            forge-dev@lists.jboss.org

            https://lists.jboss.org/mailman/listinfo/forge-dev

             

             

            • 3. Re: [forge-dev] Custom Templates by Project

               

              Well, I'll just give a quick status update on this. I'm working on introducing project level template modification.

              Expected to be out in 2.6.1.

               

              But yes for now, on a immediate basis, it would be better to fork the addon.

               

               

              -


              Original Message -


              From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>

              To: "forge-dev List" <forge-dev@lists.jboss.org>, "Vineet Reynolds Pereira" <vpereira@redhat.com>

              Sent: Tuesday, June 3, 2014 8:55:29 PM

              Subject: Re: Custom Templates by Project

               

              Hey Vineet,

               

              What are your thoughts about this?

               

              Filipe, sorry this is not simpler right now - we are in the middle of

              refactoring scaffolding to make things easier in this way, but for now I

              think the only way to do this is to fork the addon and build locally. I

              could be wrong, though.

               

              ~Lincoln

               

               

              On Fri, May 30, 2014 at 2:21 PM, Filipe Névola <filipenevola@gmail.com>

              wrote:

               

              Hi, I'm starting with Forge and I would like to know how can I work with

              custom templates by project.

               

              Let me try to be more clear, I want to have a project A using AngularJS

              Addon with custom templates for my views and a project B using AngularJS

              Addon with others custom templates.

               

              The differences won't be only images, styles, etc but will be on the

              structure of html also.

               

              My question is: How can I do that? Is there a simple way? Maybe some addon.

               

              Thank you!

              ---

              Filipe Névola <https://twitter.com/FilipeNevola>

              *Leader of Product Innovation Lab at *Tecsinapse

              <http://www.tecsinapse.com.br>

               

              *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

              aproveitando sua vida como poderia.*

              *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com

              abundância."*

               

              _______________________________________________

              forge-dev mailing list

              forge-dev@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-dev

               

               

               

              --

              Lincoln Baxter, III

              http://ocpsoft.org

              "Simpler is better."

               

               

              _______________________________________________

              forge-dev mailing list

              forge-dev@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-dev

               

               

              • 4. Re: [forge-dev] Custom Templates by Project

                Hi, glad to know.

                 

                Is there an issue where can I follow this progress?

                 

                att,

                 

                ---

                Filipe Névola <https://twitter.com/FilipeNevola>

                *Leader of Product Innovation Lab at *Tecsinapse

                <http://www.tecsinapse.com.br>

                 

                *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

                aproveitando sua vida como poderia.*

                *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com

                abundância."*

                 

                 

                2014-06-04 2:50 GMT-03:00 Vineet Reynolds Pereira <vpereira@redhat.com>:

                 

                 

                Well, I'll just give a quick status update on this. I'm working on

                introducing project level template modification.

                Expected to be out in 2.6.1.

                 

                But yes for now, on a immediate basis, it would be better to fork the

                addon.

                 

                >

                ----- Original Message -----

                From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>

                To: "forge-dev List" <forge-dev@lists.jboss.org>, "Vineet Reynolds

                Pereira" <vpereira@redhat.com>

                Sent: Tuesday, June 3, 2014 8:55:29 PM

                Subject: Re: Custom Templates by Project

                 

                Hey Vineet,

                 

                What are your thoughts about this?

                 

                Filipe, sorry this is not simpler right now - we are in the middle of

                refactoring scaffolding to make things easier in this way, but for now I

                think the only way to do this is to fork the addon and build locally. I

                could be wrong, though.

                 

                ~Lincoln

                 

                 

                On Fri, May 30, 2014 at 2:21 PM, Filipe Névola <filipenevola@gmail.com>

                wrote:

                 

                Hi, I'm starting with Forge and I would like to know how can I work

                with

                custom templates by project.

                 

                Let me try to be more clear, I want to have a project A using AngularJS

                Addon with custom templates for my views and a project B using

                AngularJS

                Addon with others custom templates.

                 

                The differences won't be only images, styles, etc but will be on the

                structure of html also.

                 

                My question is: How can I do that? Is there a simple way? Maybe some

                addon.

                 

                Thank you!

                ---

                Filipe Névola <https://twitter.com/FilipeNevola>

                *Leader of Product Innovation Lab at *Tecsinapse

                <http://www.tecsinapse.com.br>

                 

                *Você conhece Jesus? Ainda não? Então busque conhecer pois você não

                está

                aproveitando sua vida como poderia.*

                *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham

                com

                abundância."*

                 

                _______________________________________________

                forge-dev mailing list

                forge-dev@lists.jboss.org

                https://lists.jboss.org/mailman/listinfo/forge-dev

                 

                 

                 

                --

                Lincoln Baxter, III

                http://ocpsoft.org

                "Simpler is better."

                 

                >

                _______________________________________________

                forge-dev mailing list

                forge-dev@lists.jboss.org

                https://lists.jboss.org/mailman/listinfo/forge-dev

                 

                 

                • 5. Re: [forge-dev] Custom Templates by Project
                  Daniel Cunha (soro) Novice

                  Filipe,

                   

                  If exist a specific issue I don't know, but you can see here:

                  https://issues.jboss.org/browse/FORGE/

                   

                  To your problem, I think that you can found something here (scaffold

                  module):

                  https://issues.jboss.org/issues/?jql=project%3DFORGEANDresolution%3DUnresolvedANDcomponent%3DScaffoldORDERBYpriorityDESC

                   

                  If not exist, please, create a new issue about that.

                   

                  Enjoy it.

                   

                   

                   

                  On Wed, Jun 4, 2014 at 7:41 PM, Filipe Névola <filipenevola@gmail.com>

                  wrote:

                   

                  Hi, glad to know.

                   

                  Is there an issue where can I follow this progress?

                   

                  att,

                   

                  ---

                  Filipe Névola <https://twitter.com/FilipeNevola>

                  *Leader of Product Innovation Lab at *Tecsinapse

                  <http://www.tecsinapse.com.br>

                   

                  >

                  *Você conhece Jesus? Ainda não? Então busque conhecer pois você não está

                  aproveitando sua vida como poderia.*

                  *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a tenham com

                  abundância."*

                   

                  >

                  2014-06-04 2:50 GMT-03:00 Vineet Reynolds Pereira <vpereira@redhat.com>:

                   

                  >

                  >> Well, I'll just give a quick status update on this. I'm working on

                  >> introducing project level template modification.

                  >> Expected to be out in 2.6.1.

                  >>

                  >> But yes for now, on a immediate basis, it would be better to fork the

                  >> addon.

                  >>

                  >>

                  >> -


                  Original Message -


                  >> > From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>

                  >> > To: "forge-dev List" <forge-dev@lists.jboss.org>, "Vineet Reynolds

                  >> Pereira" <vpereira@redhat.com>

                  >> > Sent: Tuesday, June 3, 2014 8:55:29 PM

                  >> > Subject: Re: Custom Templates by Project

                  >> >

                  >> > Hey Vineet,

                  >> >

                  >> > What are your thoughts about this?

                  >> >

                  >> > Filipe, sorry this is not simpler right now - we are in the middle of

                  >> > refactoring scaffolding to make things easier in this way, but for now I

                  >> > think the only way to do this is to fork the addon and build locally. I

                  >> > could be wrong, though.

                  >> >

                  >> > ~Lincoln

                  >> >

                  >> >

                  >> > On Fri, May 30, 2014 at 2:21 PM, Filipe Névola <filipenevola@gmail.com>

                  >> > wrote:

                  >> >

                  >> > > Hi, I'm starting with Forge and I would like to know how can I work

                  >> with

                  >> > > custom templates by project.

                  >> > >

                  >> > > Let me try to be more clear, I want to have a project A using

                  >> AngularJS

                  >> > > Addon with custom templates for my views and a project B using

                  >> AngularJS

                  >> > > Addon with others custom templates.

                  >> > >

                  >> > > The differences won't be only images, styles, etc but will be on the

                  >> > > structure of html also.

                  >> > >

                  >> > > My question is: How can I do that? Is there a simple way? Maybe some

                  >> addon.

                  >> > >

                  >> > > Thank you!

                  >> > > ---

                  >> > > Filipe Névola <https://twitter.com/FilipeNevola>

                  >> > > *Leader of Product Innovation Lab at *Tecsinapse

                  >> > > <http://www.tecsinapse.com.br>

                  >> > >

                  >> > > *Você conhece Jesus? Ainda não? Então busque conhecer pois você não

                  >> está

                  >> > > aproveitando sua vida como poderia.*

                  >> > > *Jesus disse em João 10:10b - "Eu vim para que tenham vida, e a

                  >> tenham com

                  >> > > abundância."*

                  >> > >

                  >> > > _______________________________________________

                  >> > > forge-dev mailing list

                  >> > > forge-dev@lists.jboss.org

                  >> > > https://lists.jboss.org/mailman/listinfo/forge-dev

                  >> > >

                  >> >

                  >> >

                  >> >

                  >> > --

                  >> > Lincoln Baxter, III

                  >> > http://ocpsoft.org

                  >> > "Simpler is better."

                  >> >

                  >>

                  >> _______________________________________________

                  >> forge-dev mailing list

                  >> forge-dev@lists.jboss.org

                  >> https://lists.jboss.org/mailman/listinfo/forge-dev

                  >>

                  >

                   

                  _______________________________________________

                  forge-dev mailing list

                  forge-dev@lists.jboss.org

                  https://lists.jboss.org/mailman/listinfo/forge-dev

                   

                   

                   

                   

                  --

                  Daniel Cunha (soro) <http://www.cejug.net>

                  Blog: http://www.danielsoro.com.br

                  Twitter: https://twitter.com/dvlc_

                  GitHub: https://github.com/danielsoro

                  LinkedIn:  http://www.linkedin.com/in/danielvlcunha

                   

                  • 6. Re: [forge-dev] Custom Templates by Project
                    Jose Miguel Loor Apprentice

                    Hi

                    I am using forge 2.8.1.Final but i can't find any way to introduce project level templates for angularjs scaffolding

                    is there any documentation about this subject ??

                    thanks