How to develop a very simple ExtensionHow to transfer ownership of an extensionUsing hooks — simple pleaseSimple Donate Form Extension - what is path for front end - joomlaHow do I flag an extension which no longer works?How to install a not listed Extension?How to create extension using phpStorm 2018.2.5Mosaico extension usesHow can I update the CiviMobile 2.0 extension to the CiviMobileAPI 3.0 extension?

Newly created XFS filesystem shows 78 GB used

How major are these paintwork & rust problems?

What hard drive connector is this?

Why did it become so much more expensive to start a university?

Is "you will become a subject matter expert" code for "you'll be working on your own 100% of the time"?

Cannot find Database Mail feature in SQL Server Express 2012 SP1

What is this gigantic dish at Ben Gurion airport?

How to develop a very simple Extension

Can I conceal an antihero's insanity - and should I?

Do ibuprofen or paracetamol cause hearing loss?

How do I get rid of distortion in pictures of distant objects photographed with a telephoto lens?

How to publish superseding results without creating enemies

What are uses of the byte after BRK instruction on 6502?

Ambiguity in notation resolved by +

Why do sellers care about down payments?

A simple problem about Rule

Has SHA256 been broken by Treadwell Stanton DuPont?

What is the CR of a Metallic Dragon that used Change Shape?

What was the motivation for the invention of electric pianos?

Why does the speed of sound decrease at high altitudes although the air density decreases?

Bash, import output from command as command

What is the mathematical notation for rounding a given number to the nearest integer?

Thematic, genred concepts in Ancient Greek?

Why is my fire extinguisher emptied after one use?



How to develop a very simple Extension


How to transfer ownership of an extensionUsing hooks — simple pleaseSimple Donate Form Extension - what is path for front end - joomlaHow do I flag an extension which no longer works?How to install a not listed Extension?How to create extension using phpStorm 2018.2.5Mosaico extension usesHow can I update the CiviMobile 2.0 extension to the CiviMobileAPI 3.0 extension?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I want to develop a very simple Extension which :



  • searches the current contact_id

  • then verifies if he is recorded for a given event (event_id as a parameter)

  • then, depending on the result, echoes a message or opens an URL.

I read that, to develop an extension, I first had to :



  • install Civix,

  • which requires installing first git and composer
    ... which seems very complicated to me for such a simple program.

Is there a way to write and upload directly the code in the Extension directory, whithout all these prerequisites ?










share|improve this question






























    2















    I want to develop a very simple Extension which :



    • searches the current contact_id

    • then verifies if he is recorded for a given event (event_id as a parameter)

    • then, depending on the result, echoes a message or opens an URL.

    I read that, to develop an extension, I first had to :



    • install Civix,

    • which requires installing first git and composer
      ... which seems very complicated to me for such a simple program.

    Is there a way to write and upload directly the code in the Extension directory, whithout all these prerequisites ?










    share|improve this question


























      2












      2








      2








      I want to develop a very simple Extension which :



      • searches the current contact_id

      • then verifies if he is recorded for a given event (event_id as a parameter)

      • then, depending on the result, echoes a message or opens an URL.

      I read that, to develop an extension, I first had to :



      • install Civix,

      • which requires installing first git and composer
        ... which seems very complicated to me for such a simple program.

      Is there a way to write and upload directly the code in the Extension directory, whithout all these prerequisites ?










      share|improve this question














      I want to develop a very simple Extension which :



      • searches the current contact_id

      • then verifies if he is recorded for a given event (event_id as a parameter)

      • then, depending on the result, echoes a message or opens an URL.

      I read that, to develop an extension, I first had to :



      • install Civix,

      • which requires installing first git and composer
        ... which seems very complicated to me for such a simple program.

      Is there a way to write and upload directly the code in the Extension directory, whithout all these prerequisites ?







      extension






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      Jacques-Marie MoranneJacques-Marie Moranne

      9154 silver badges14 bronze badges




      9154 silver badges14 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          2
















          git and composer aren't necessary to install civix. In the README it suggests multiple ways to install civix. The first one is a simple download: https://download.civicrm.org/civix/civix.phar.






          share|improve this answer
































            1
















            Yes, you could also just create a folder with the name of your extension in the extension folder of CiviCRM, and code from there. But that requires you to understand the folder and file structure required for extensions so it will actually be easier with civix. It is not a prerequisite but it helps a lot!






            share|improve this answer



























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "605"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );














              draft saved

              draft discarded
















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f33020%2fhow-to-develop-a-very-simple-extension%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2
















              git and composer aren't necessary to install civix. In the README it suggests multiple ways to install civix. The first one is a simple download: https://download.civicrm.org/civix/civix.phar.






              share|improve this answer





























                2
















                git and composer aren't necessary to install civix. In the README it suggests multiple ways to install civix. The first one is a simple download: https://download.civicrm.org/civix/civix.phar.






                share|improve this answer



























                  2














                  2










                  2









                  git and composer aren't necessary to install civix. In the README it suggests multiple ways to install civix. The first one is a simple download: https://download.civicrm.org/civix/civix.phar.






                  share|improve this answer













                  git and composer aren't necessary to install civix. In the README it suggests multiple ways to install civix. The first one is a simple download: https://download.civicrm.org/civix/civix.phar.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 8 hours ago









                  Jon G - Megaphone TechJon G - Megaphone Tech

                  28.7k1 gold badge21 silver badges79 bronze badges




                  28.7k1 gold badge21 silver badges79 bronze badges


























                      1
















                      Yes, you could also just create a folder with the name of your extension in the extension folder of CiviCRM, and code from there. But that requires you to understand the folder and file structure required for extensions so it will actually be easier with civix. It is not a prerequisite but it helps a lot!






                      share|improve this answer





























                        1
















                        Yes, you could also just create a folder with the name of your extension in the extension folder of CiviCRM, and code from there. But that requires you to understand the folder and file structure required for extensions so it will actually be easier with civix. It is not a prerequisite but it helps a lot!






                        share|improve this answer



























                          1














                          1










                          1









                          Yes, you could also just create a folder with the name of your extension in the extension folder of CiviCRM, and code from there. But that requires you to understand the folder and file structure required for extensions so it will actually be easier with civix. It is not a prerequisite but it helps a lot!






                          share|improve this answer













                          Yes, you could also just create a folder with the name of your extension in the extension folder of CiviCRM, and code from there. But that requires you to understand the folder and file structure required for extensions so it will actually be easier with civix. It is not a prerequisite but it helps a lot!







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 7 hours ago









                          ErikH - CiviCooPErikH - CiviCooP

                          9,5146 silver badges20 bronze badges




                          9,5146 silver badges20 bronze badges































                              draft saved

                              draft discarded















































                              Thanks for contributing an answer to CiviCRM Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f33020%2fhow-to-develop-a-very-simple-extension%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                              Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                              Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її