Submit Magento 2 extension programmatically - deployment

On this page, it is documented how you submit a Magento 2 extension:
https://developer.adobe.com/commerce/marketplace/guides/sellers/submit-for-technical-review/
You have to fill out an HTML form and upload your extension there.
Is there a way to submit an extension via Terminal, so you can deploy through Jenkins, for example? I didn't find any info on that...

Related

How to hook TYPO3 Form submit

I need to hook into a TYPO3 form submit event. Do I need to write a TYPO3 Extension to achieve this?
I installed TYPO3 version 7.6.23. During the install process I picked the default 'distribution' and I now have the "TYPO3 CMS bootstrap package". When I go to the Installed Extensions screen I have the Form Extension installed (key=form).
I have a page with a form on it and I need to hook into that form submit event and do a HTTP POST to another site with some of the form data. Optionally I would like to prevent the form submit from happening, depending on the return value of my POST to the other site - so perhaps what I need in-fact is a 'before submit' event to hook.
Do I need to write an extension to achieve this? If so how can I get started? There are extension tutorials on typo3.org but they imply I need to build a full blown MVC extension, which seems way over the top for my requirements.
Due to the lack of hooks in the 7.6 form extension you have two options:
Generate a JavaScript file which listens to the submit event, prevent it and run an AJAX call to submit the data to your external site. Depending on the response you can either do a manual submit or displaying an error message.
Upgrade to TYPO3 8LTS with the new form. There you have more possibilities to hook in and do your HTTP request.

Magento 2 - Add Footer Newsletter Signup to Content Block in CMS

I need to move the Newsletter Signup from the footer into a Content Block I've created in the backend of my Magento 2.1.3 installation.
In Magento 1 you could use the code below but this appears to be no longer the case using Magento 2
{{block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"}}
Was wondering if anyone had a solution that could help. The site I'm developing is china.testdev.tech and the newsletter signup needs to go into the blue box in the middle of the homepage content.
Thanks in advance.
Kev
In magento-2 To call the particular phtml file, You need to used this code.
{{block class="Magento\Newsletter\Block\Subscribe" name="home.form.subscribe" template="Magento_Newsletter::subscribe.phtml"}}

What Typo3 newsletter extension can automatically fetch web content changes

The Typo3 extension tt_news enables for example all created news by this extension to be shown in the newsletter but not content from a "not news" page of the website.
We are looking for a plugin which automatically finds new content on the website and let us create a newsletter from it.
What extension could be used here? Might direct mail be able to do so?
Taken from the Direct Mail manual: "Newsletter pages are just normal pages. Their rendering is configured by the TS template."
A very simple solution for what you want to do would be to write a simple extension where you get the newest content elements and output them. Direct Mail itself will not do that for you, but it will send out any content that you provide on the "Newsletter page".

Update content programmatically

I am publishing content on a TYPO3 instance where I have just editor rights. At the moment, that content is generated automatically as HTML; my workflow consists of
Copy HTML code
Log in to TYPO3
Select page
Click Edit on the HTML element of this page
Paste HTML code
Submit
Is there a library or an API that helps automating this process?
Since you are only an normal editor in your TYPO3 instance, I assume you cannot just add a TYPO3 extensions that helps you with the task. If you could alter the TYPO3 instance, there would be numerous ways to automate the process: A Scheduler task that fetches new content and puts it to a page or even fetches content from a mailbox or Dropbox share etc..
The only solution I see is that you do some browser automation to perform this task. You use e.g. use Chromium Browser Automation if you work with Chrome. You can record all form entries (username, password, paste text to RTE) and clicks and you also should be able to define some variables (ID of the page and content element, content itself).

show error during registration in typo3

For providing registration option in typo3 website I insatll sr_feuser_register_3.0.1 extension. In addition to this extension I install static info table & div 2007 extension.
I included registration form in a page by including sr_feuser template css in typoscript template and also insert plugin. But when I register myself in registration form it shows error:-
"You must enter the same password twice.
The password must contain at most 40 characters.
Please enter a password!"
Password is entered correctly but it shows this problem again & again & I am not able to register because of this problem. Please help me to solve this problem
I got the problem. Problem is that when I put registration form & login form in same page then it starts showing problem. But if I put only registration form then it starts working.
But I have to put both forms in one page. Please tell me how can I do that.