This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal
Sunday 25 September 2011 6:08:43 pm - 3 replies
Hi,
I put a button to add a content type. But only logged users can view the form to add content. I want to redirect to the form to add content after login. How can I do it?
Thanks,
David
Sunday 25 September 2011 8:56:39 pm
Hello David,
Because of the rather custom redirection prolly required you might consider a custom copy of the module for user login. There may be a simpler way I'm just not thinking of.
Also I wonder, since (I think) the content module view requires a POST request to create content you may have some trouble with that requirement.
I would suggest instead redirect from successful login to a user dashboard module view which contains a form to send a post request to create content desired.
I hope this helps,
Cheers,
Heath
Tuesday 27 September 2011 12:12:50 am
Hello David,
I'm pleased to see you continuing to strive to reach your goals.
Could you share your PHP Curl code. It's very hard to help you troubleshoot code efectively without seeing the code in question. You could post your code to a pastebin for example.
I would say it does not work quite yet since you are not succesfully authenticating, establishing a user session and being "let into" the system.
Keep trying and best of luck,
Cheers,
Heath
You must be logged in to post messages in this topic!