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;
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
add a comment
|
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
add a comment
|
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
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
extension
asked 8 hours ago
Jacques-Marie MoranneJacques-Marie Moranne
9154 silver badges14 bronze badges
9154 silver badges14 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
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.
add a comment
|
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!
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment
|
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.
add a comment
|
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.
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.
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
add a comment
|
add a comment
|
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!
add a comment
|
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!
add a comment
|
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!
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!
answered 7 hours ago
ErikH - CiviCooPErikH - CiviCooP
9,5146 silver badges20 bronze badges
9,5146 silver badges20 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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