Example component for Joomla 4 only

Be informed that this forum is not an official support forum for Joomla! 4.0. Any issues regarding Joomla! 4.0 must be reported at https://issues.joomla.org/.

Joomla 4.0 is still in Beta stage. This forum should be used for sharing information about Joomla! 4.0.

Moderator: ooffick

Forum rules
Post Reply
shoulders
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 195
Joined: Fri Oct 10, 2008 9:03 pm
Contact:

Example component for Joomla 4 only

Post by shoulders » Wed Sep 30, 2020 4:21 pm

hi

I cannot find an example component to get the structure that is for Joomla 4 only. I dont want to add any compatability stuff in.

Does any one know where I can find one? (preferably official)

I am trying to build one from com_content but I am guessing the layout at this time.

shoulders

User avatar
mjparadac
Joomla! Hero
Joomla! Hero
Posts: 2125
Joined: Mon Oct 29, 2012 3:58 pm

Re: Example component for Joomla 4 only

Post by mjparadac » Wed Sep 30, 2020 5:01 pm

Hello shoulders,

Take a look at this link:
https://docs.joomla.org/JDOC:Joomla_4_Tutorials_Project

Hope this helps.
Regards,
Joomla Community Ambassador for A2 Hosting | A2 Hosting - Our speed, your success | https://www.a2hosting.com/joomla-hosting

shoulders
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 195
Joined: Fri Oct 10, 2008 9:03 pm
Contact:

Re: Example component for Joomla 4 only

Post by shoulders » Wed Sep 30, 2020 5:26 pm

perfect. There is an example component aswell. Thanks

shoulders
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 195
Joined: Fri Oct 10, 2008 9:03 pm
Contact:

Re: Example component for Joomla 4 only

Post by shoulders » Wed Sep 30, 2020 5:44 pm

After looking, the component is out of date, it still includes a router.php.

The main one for me is the location of the manifest.xml file. Within the zip packages should it be in the admin folder or the root? (the joomla installer scans the whole archive anyway, but standards are there for a reason) :)

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1672
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Example component for Joomla 4 only

Post by darb » Thu Oct 01, 2020 7:57 am

shoulders wrote:
Wed Sep 30, 2020 5:44 pm
After looking, the component is out of date, it still includes a router.php.

The main one for me is the location of the manifest.xml file. Within the zip packages should it be in the admin folder or the root? (the joomla installer scans the whole archive anyway, but standards are there for a reason) :)
why dont you use Joomla Component Builder JCB? https://www.joomlacomponentbuilder.com/

shoulders
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 195
Joined: Fri Oct 10, 2008 9:03 pm
Contact:

Re: Example component for Joomla 4 only

Post by shoulders » Thu Oct 01, 2020 1:36 pm

@darb - Joomla Component Builder does not do joomla4 only. + i need a component for a reference.

erick-b
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 132
Joined: Tue Feb 17, 2015 10:25 am

Re: Example component for Joomla 4 only

Post by erick-b » Mon Oct 05, 2020 11:09 am

I need the same J4 ONLY
maybe here https://www.component-creator.com


User avatar
ceford
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 108
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Example component for Joomla 4 only

Post by ceford » Mon Oct 05, 2020 12:04 pm

The Mywalks example was updated over the weekend (2020-10-04). Any bugs?

https://docs.joomla.org/J4_Component_example_-_Mywalks

shoulders
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 195
Joined: Fri Oct 10, 2008 9:03 pm
Contact:

Re: Example component for Joomla 4 only

Post by shoulders » Mon Oct 05, 2020 1:14 pm

@ceford I have not been through the latest version. But can I just say I appreciate the amount of work that has gone into the tutorial and code you have writtern. I did my own refernce for J3 module and plugin which took me ages.


Post Reply

Return to “Joomla! 4 Related”