create auto-update for module
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun May 20, 2018 1:48 pm
create auto-update for module
I've made a module
Question :
1 - How can I add auto-update feature?
2 - My module contains a free version 1.2.0 and a paid version 2.1.0
Changes have been made to the monetary edition
How can I change the version 1.2.0 update to 1.2.1?
Also, about version 2.1.0 to 2.3.1
If the update feature is automatic,
How can I provide a separate update for each version
So that any person who receives each copy
Update in the same version.
Thanks for the help of friends.
Question :
1 - How can I add auto-update feature?
2 - My module contains a free version 1.2.0 and a paid version 2.1.0
Changes have been made to the monetary edition
How can I change the version 1.2.0 update to 1.2.1?
Also, about version 2.1.0 to 2.3.1
If the update feature is automatic,
How can I provide a separate update for each version
So that any person who receives each copy
Update in the same version.
Thanks for the help of friends.
- Webdongle
- Joomla! Master
- Posts: 44074
- Joined: Sat Apr 05, 2008 9:58 pm
Re: create auto-update for module
https://docs.joomla.org/Manifest_files#Update_servers
Update servers can be defined in the <updateservers> element, a child of the root. This element may contain one or more <server> element, each describing a location to fetch updates from. Each <server> item can define the following attributes:
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun May 20, 2018 1:48 pm
Re: create auto-update for module
I did according to the instructions ، But Joomla! Update does not see my module.Webdongle wrote: ↑Tue Sep 18, 2018 12:14 pmhttps://docs.joomla.org/Manifest_files#Update_serversUpdate servers can be defined in the <updateservers> element, a child of the root. This element may contain one or more <server> element, each describing a location to fetch updates from. Each <server> item can define the following attributes:
My xml file name : mod_jas_gallery_pro_879614.xml
url : www.mysite.com/update
Code: Select all
<updates>
<update>
<name>mod_jas_gallery_pro</name>
<description>mod_jas_gallery_pro 1.2.3</description>
<element>mod_jas_gallery_pro</element>
<type>module</type>
<version>1.2.3</version>
<downloads>
<downloadurl type="full" format="zip">http://mysite.com/update/mod_jas_gallery_pro_879614/mod_jas_gallery.zip</downloadurl>
</downloads>
<maintainer>Joomla</maintainer>
<maintainerurl>http://mysite.com</maintainerurl>
<targetplatform name="joomla" version="3.8"/>
<client>site</client>
</update>
</updates>
Code: Select all
<updateservers>
<server type="extension" priority="1" name="jas Gallery Updates">http://mysite.com/mod_jas_gallery_pro_879614.xml</server>
</updateservers>
- Webdongle
- Joomla! Master
- Posts: 44074
- Joined: Sat Apr 05, 2008 9:58 pm
Re: create auto-update for module
The version in the update xml needs to be higher than the installed version doesn't it?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun May 20, 2018 1:48 pm
- Webdongle
- Joomla! Master
- Posts: 44074
- Joined: Sat Apr 05, 2008 9:58 pm
Re: create auto-update for module
So your test site has your 1.2.2 version but is not picking up the update notification (for your 1.2.3) from your update server?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun May 20, 2018 1:48 pm
Re: create auto-update for module
My testing site has version 1.2.0, but updates update information (for 1.2.3) from the server does not update.
I built several modules that have exactly the same problem.
Even in the locals, I tested all the modules, but did not work properly.
- Webdongle
- Joomla! Master
- Posts: 44074
- Joined: Sat Apr 05, 2008 9:58 pm
Re: create auto-update for module
Is Joomla failing to see the available update or is it seeing the update but failing to be able to execute the update?
Are you defining both versions (with their destinations) in the xml file
Are you defining both versions (with their destinations) in the xml file
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun May 20, 2018 1:48 pm
Re: create auto-update for module
I am not able to view the update.
Are you defining both versions (with their destinations) in the xml file = YES
Do I need to send the plugin download link?
- Webdongle
- Joomla! Master
- Posts: 44074
- Joined: Sat Apr 05, 2008 9:58 pm
Re: create auto-update for module
And you have the url of the update server correctly referenced in the version on your test site?
In Extensions >>> Manage >>> Update ... you have clicked check for updates?
Other than the server (the test site is on) is blocking the update server or you having a typo then I am at loss sorry.
In Extensions >>> Manage >>> Update ... you have clicked check for updates?
Other than the server (the test site is on) is blocking the update server or you having a typo then I am at loss sorry.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".