WebSite X5Help Center

 
Patrick S.
Patrick S.
User

Inserting data from blog on homepage  en

Auteur : Patrick S.
Visité 2377, Followers 2, Partagé 0  

I'm going to try to recreate a website, of which i am resposible. (club basketball --> www.schellebbc.be)

Since my knowledge of php and mysql are basic, i am convinced that websiteX5 can eliminate a lot of my frustrations :) .

But there are a lot of questions... So i start with the first one:

situation:

a collegue of mine (member of the board) types in different kinds of messages, like latest news, activities, gameresults etc...

these messages are stored in database on server and have to appear on different pages (for ppl not logged in to see).

In my example: de latest news have to appear on the homepage.

I thought he could use a blog with the different categories. But i tested this and it's obviously not what i want! when i insert a blog element on the homepage, there are no controls and in see in the preview that only a link is created to a 'special webpage' where the entirely blog is shown on a seperate page.

So, this was obviously not the right thing to do.

Anyone could help me plz !!

THX.

Patrick.

Posté le
10 RéPONSES
John S.
John S.
User

Hello patrick

There are different ways to do this. One of the ways I could recommend demands a specific web-hoster and the other is not attached to a specific hoster or tool.

!. If You have a web-host as one.com, they provide You with a blog where users themselves can create posts or comment existing posts. You can have images and pdf-files attached. You can set if public acces is allowed and/or if You have to log in to view and/or post. I use this myself with our billard club : http://www.bramming-billard.dk/presse.html

If You click on "Turneringsnyt" You will see it is public and if You click on "Nyt fra ledelsen" You will see that You have to log in. You can categorize Your blog.

2. You can install the LuxCal calendar. In here You can create users with post-rights and there are a lot of possibilities in this. You can see an example on the billard club homepage, where matches are shown : http://www.bramming-billard.dk/index.php

The matches are from the calendar and they are shown in a display. This display is very flexible about setting up with selection, sorting and so. You can see some more about the display here : http://www.calendarforum.dk/displays.html

You can also use it in a more fancy way as I have done it here in a museum : http://www.calendarforum.dk/displays.html

You can make images clickable. You can have images floet left or right or both, and You can have images and "named"  links in the text

The display is put in an iframe, and then You can target it, as You see with "Visning1 - Visning2" - this shifts between 2 dispalys. You can see more examples here : http://www.calendarforum.dk/examples.html

Integrating in Website X5 is rather easy - You can see how here : http://www.calendarforum.dk/integrating-iframe-x5.html

If You do not have one.com as supplier, and don't want to shift, I will strongly recommend You to use the Luxcal calendar, and the display(s). The calendar is supported.

Kind regards

John S.

Lire plus
Posté le de John S.
Patrick S.
Patrick S.
User
Auteur

Thx,

I think for this specific problem the use of calendar is good enough.

I'll try it out and if it works i can get to my second problem... :) 

gr. Patrick

Lire plus
Posté le de Patrick S.
Patrick S.
Patrick S.
User
Auteur

Not solved.

The idea is to do everything with websiteX5...

LuxCal calendar is not an object from WebsiteX5

Lire plus
Posté le de Patrick S.
John S.
John S.
User

Hello patrick

The calendar is FREE. It is easy to use and it is loaded with funcionality - so I do not understand why You will not use it.

If You will use only WebsiteX5, You will be stuck in many problems.

You could use an online blog-platform and show this in a iframe, but this is also not X5 - and then You are locked to one more provider.

You can in the calendar have events with different categories, and You can set up a display only to display news, and another display to display coming matches and a third display to display played matches - all from the same calendar.

When You have an event where a team should play on xx.xx.xxxx, then You can have the calendar to automatic send a mail to the teammembers ( each event/match can have a mailing list attached ) x days before the event/match takes place.

If You have a display where You only want members to see this display, You can put it on a locked page in X5. This could be used if You want to have a display that shows who has birthday the next two months.

You can have members in the calendar that are allowed to create events with only the category "matches" and another user that care allowed to create events with category "news" and other users that can create events for all categories.

If You in the calendar choose the view "coming events" instead of the more nice-looking display, You can in the calendar specify who will have access to see the events. Then You only have to put the view in an iframe, and who can see what is defined in the calendar. Also here You can have different views. You can even have three views on the same page, and if user 1 is logged on he can see what is in view 1 and 2 but nothing in view 3, and another user maybe sees only view 1, and a public user sees nothing in the views. When using the views, You can even have the user select which category he wants to see in the view ( matches, news and so ). Which categories will be selectable depends on the user logged in.

But of course it is up to You - I just tried to tell about how You COULD solve Your problem.

I will now not try more to convince You, but if You choose to use the calendar I will answer Your questions, if You have some to the calendar.

Kind regards

John S.

Lire plus
Posté le de John S.
Serg Linds
Serg Linds
User

it may be interesting to you.

Lire plus
Posté le de Serg Linds
Patrick S.
Patrick S.
User
Auteur

Ok. I'll trui iT out. 

Bdw. 

When using the app. The app tells me 'no connection to database'

dunno what i did wrong though. ??

Lire plus
Posté le de Patrick S.
John S.
John S.
User

Hello Patrick

Exactly which app are we talking about ?

When does the error occur ?

Please some more information.

Kind regards

John S.

Lire plus
Posté le de John S.
Patrick S.
Patrick S.
User
Auteur

App:

'X5 manager'

Lire plus
Posté le de Patrick S.
Incomedia
Claudio D.
Incomedia

Hello Patrick,

When exactly do you get this message in the app?

Are you using an exported website made with WebSite X5?

If you go in the admin section of the website from the browser do you get the same error message?

Are the database connection data you used correct?

Many thanks!

Lire plus
Posté le de Claudio D.