Event list on the hompeage

Sirvan Kara Posted in Component Development 1 month ago

enter image description hereHi,

On my social network homepage, I removed the posting message component, because I want people to create / participate in events.

I would like to put an Event list instead for people to see.

Also, you should be able to see the blue icon in top right corner in a loading process, how do I fix this please ?

How could I do that, please ?

Replies
ch Sirvan Kara Replied 3 weeks ago

Is there anyone who could be of assistance, please ?

ch Sirvan Kara Replied 3 weeks ago

I have no idea how to do this.

There is no component about this to my knowledge and if I want to install one, the component installer needs the proper file as you know.

Could you guide me step by step, please ?

Indonesian Arsalan Shah Replied 3 weeks ago

I mentioned many times already that redirecting users to all public events is what you need.

So redirect /home tto /events/all or events/list I don't remember URL correctly

ch Sirvan Kara Replied 3 weeks ago

My last message here is what I currently want.

Would you assist me, please ?

Indonesian Arsalan Shah Replied 3 weeks ago

We can't help because you changing again and again and what we told you that we can only help with redirect but first you say ok then later you change.

ch Sirvan Kara Replied 3 weeks ago

They are unable to help.

Here what I want with my request about the event list :

The events list from everyone on their homepage.

The possibility to publish an event publicly on the homepage for all users to see and can participate.

My goal is that users publish events publicly and these appear on everyone homepage, then could join if they want.

Also, it would be interesting if some people want their event(s) private and can choose so.

Could anyone assist me in implementing this, please ?

ch Sirvan Kara Replied 1 month ago

I opened a ticket with them (which is you, probably), thanks for the help.

Indonesian Arsalan Shah Replied 1 month ago

You can request custom work from openteknik.com can provide this in form of component

ch Sirvan Kara Replied 1 month ago

In component, I see no field where I can copy and paste your code, how do I do this please ?

My provider answered me this :

"Hello,

Thank you for your message.

Does your request concern the content of your website?

If so, unfortunately we can't resolve the problem as a hosting provider.

Infomaniak does not deal with web development problems/issues, as our expertise extends exclusively to the infrastructures offered. [...]"

Indonesian Arsalan Shah Replied 1 month ago

You can do it in component

ossn_register_callback('page', 'load', function($callback, $type, $params){
                if($params['handler'] == 'home'){
                    redirect('events/all'); //adjust as your need 
                }
)};

Or

Asking your provider to setup a redirect. Most provider have a option in their panel for redirect.