External Code Inclution Option #228
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#228
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "staging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary of Changes
Added the feature to include code from external source with the use of a placeholder tag.
Testing Instructions
Create some code snippet on Gist here on Github, then get the url to the raw string of the code snippet. Then add the code to a custom area anywhere in your component. Using the following placeholder:
So the placeholder format is
Expected result
On compilation the compiler will get the code/string from
https://gist.githubusercontent.com/Llewellynvdm/e13ed45e73590cc4bcd98a73cf9305f1/raw/fancyDate.txt
and add it to the area the placeholder is found.When a change in the code/string is detected a notice will be given.
Actual result
New feature!
Documentation Changes Required
Will still make tutorials to announce this feature.
Sorry man I was out of town for few days, this feature is excellent!
Should this not instead be called
EXTERNALCODE
since paths also work. I know it is little late in the game, but it makes more sense to call it EXTERNAL.Well if we want to change it, best do it now. Please just note that I am not adding a DB fix, you that have been testing this, will have to fix your own DB's to have the correct table and column naming. I will update it for the release.
I will need you all to run the test again, since many variables will change, just to be save 👍
Are we ready to go?