Advertisement

Access page

For Joomla! 4.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, 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.
Post Reply
Slushgood
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 143
Joined: Tue Sep 22, 2015 1:04 pm
Location: St palais sur mer, France

Access page

Post by Slushgood » Thu Jul 11, 2024 11:17 am

Good morning,
I would like to create an access page in my component.
This must be accessible by a direct link and must be able to update data in an SQL table.
The control will be done with a security key.
Thanks for your help

Advertisement
MarkRS
Joomla! Explorer
Joomla! Explorer
Posts: 362
Joined: Thu Oct 29, 2009 8:28 am
Location: UK

Re: Access page

Post by MarkRS » Fri Jul 12, 2024 11:15 am

Sounds like you need to make access available through the webservice API.

https://docs.joomla.org/J4.x:Adding_an_ ... _Component
It's a community, the more we all contribute, the better it will be.

Slushgood
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 143
Joined: Tue Sep 22, 2015 1:04 pm
Location: St palais sur mer, France

Re: Access page

Post by Slushgood » Wed Jul 17, 2024 3:02 pm

Thank you for your answer Mark.
I'm not sure a plugin is necessary.
I think a controller or model might be enough.
The file that manages the processing is created in the /profile folder of my component which also has a processing file of my authenticated user. .Access requires authentication which I don't want for this other file. I don't know how to avoid having to authenticate to access the page created in my component

MarkRS
Joomla! Explorer
Joomla! Explorer
Posts: 362
Joined: Thu Oct 29, 2009 8:28 am
Location: UK

Re: Access page

Post by MarkRS » Wed Jul 17, 2024 3:24 pm

You're quite right, On further reflection I was talking rubbish.

Surely you can create a page same as you do for any other page in your component, so why the question?
It's a community, the more we all contribute, the better it will be.

Slushgood
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 143
Joined: Tue Sep 22, 2015 1:04 pm
Location: St palais sur mer, France

Re: Access page

Post by Slushgood » Thu Jul 18, 2024 6:17 am

The question is that I cannot retrieve the information in $Post whithout unless the site asks me for authentication. Or if I succeed I don't have access to Joomla Classes.
I don't know when and where exactly I can create an exception to process the data sent in $POST

MarkRS
Joomla! Explorer
Joomla! Explorer
Posts: 362
Joined: Thu Oct 29, 2009 8:28 am
Location: UK

Re: Access page

Post by MarkRS » Thu Jul 18, 2024 5:24 pm

When you say things like "the site", it sounds like you're wanting access not from someone typing into a (in this case, login) screen.

How are you intending this interaction to work?
It's a community, the more we all contribute, the better it will be.

Advertisement

Post Reply

Return to “Joomla! 4.x Coding”