Elxis CMS Forum

Extensions => Components => Topic started by: Davide on July 14, 2012, 14:25:49

Title: List of Hotel
Post by: Davide on July 14, 2012, 14:25:49
Dear all,
my new dubt is how to create an external page that contain an extraction of all registered hotel in the database?

Have a good day!
Title: Re: List of Hotel
Post by: webgift on July 16, 2012, 10:47:05
Hi Davide,
It's too complicated explaining how you can do that from here.
Title: Re: List of Hotel
Post by: datahell on July 30, 2012, 23:48:28
Just query the database...
Title: Re: List of Hotel
Post by: webgift on July 31, 2012, 10:16:43
He must load some global - Elxis variables first or it must be created a new page manually from IOSR Component. Am i right john?
Title: Re: List of Hotel
Post by: datahell on July 31, 2012, 11:35:57
No, it's not required.
You can create a custom php script, connect to elxis db, do the query and display the results.
To show this page inside Elxis use wrapper.

You can alternatively built a tiny component having just one task on the frontend section. This is a much better solution and although it might seems harder in fact it is much simplier and faster solution.