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?
Write a function that returns an iterable object of all valid points 4-directionally adjacent to (x, y)
Sort files in a given folders and provide as a list
What's 待ってるから mean?
Double it your way
How do I say "quirky" in German without sounding derogatory?
What exactly is a marshrutka (маршрутка)?
Why did it become so much more expensive to start a university?
I asked for a graduate student position from a professor. He replied "welcome". What does that mean?
Planar regular languages
My research paper filed as a patent in China by my Chinese supervisor without me as inventor
Can I fix my boots by gluing the soles back on?
Has SHA256 been broken by Treadwell Stanton DuPont?
Make 2019 with single digits
How does a simple logistic regression model achieve a 92% classification accuracy on MNIST?
How are aircraft depainted?
How do EVA suits manage water excretion?
Is there any way to land a rover on the Moon without using any thrusters?
How to stabilise the bicycle seatpost and saddle when it is all the way up?
Does an oscilloscope subtract voltages as phasors?
Why is the T-1000 humanoid?
What is my breathable atmosphere composed of?
Are space camera sensors usually round, or square?
How do certain apps show new notifications when internet access is restricted to them?
What jurisdiction do Scottish courts have over the Westminster parliament?
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 8 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