Import events from another page

  • AJCS .
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 7 months ago - 2 years 7 months ago #146202 by AJCS .
Import events from another page was created by AJCS .
Hello

We wanted to ask if it is possible to import events from another page.
We have the main page with events booking. We want another page in a different domain, to be able to show these activities.
I don't know if they can be shown in any way.

Greetings
Last edit: 2 years 7 months ago by AJCS ..

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #146214 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Import events from another page
I would say that, it is hard. Right now, the only way is on that external site, you would have to parse the RSS Feed, and display the event in the way you want

Tuan
The following user(s) said Thank You: AJCS .

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #152878 by Alison
Replied by Alison on topic Import events from another page
Has there been any solution to exporting events and importing them into another site? I want to do the same. Is it possible via phpmyadmin maybe?
Last edit: 1 year 9 months ago by Alison.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #152882 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Import events from another page
Hello Alison

Export and import data via database would be the easiest options. Exactly what data you want to move to new site? Just events ? How about categories .... ?

Tuan

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #152885 by Alison
Replied by Alison on topic Import events from another page
I already set up categories with the same name, but probably not the same Id number.

So only events, unless the category id numbers need to match?

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #152886 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Import events from another page
Hi Alison

Yes, Category IDs will need to be matched, too. I think you should try to import data using database export and import. So :

1. Export the following tables from old site

- #__eb_categories
- #__eb_event_categories
- #__eb_event_group_prices
- #__eb_events

2. If the two databases have different db prefix, then open the exported file in a text editor, use find and replace function to replace and make sure the table prefix match the new site

3. Import the data into new site database (via PHPMYADMIN)

Remember to make a backup of new site database before running the import so that in case something goes wrong, you can rollback to earlier states

Tuan
The following user(s) said Thank You: Alison

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc