Separation : messages and form

Phoca Guestbook - creating guestbooks in Joomla! CMS
ASFV
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Oct 2008, 21:25

Separation : messages and form

Post by ASFV »

Hi,

I would like to separate form and messages. In a specific page, i just want to see messages. Is it possible ?

Thanks a lot
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Separation : messages and form

Post by Jan »

Hi, there is no such option yet, :(
If you find Phoca extensions useful, please support the project
pcguru
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Oct 2008, 10:28

Re: Separation : messages and form

Post by pcguru »

I agree it would be nicer, most people just reed the guestbook I have so a specific page for the form would be nice.

I have actually created two new layouts, one that displays the form, and one that displays the entries only. :twisted:

I will just add some more stuff like a thank you note when you have submitted your entry for example and then make the files available here per GPL requirements.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Separation : messages and form

Post by Jan »

ok,

I thought about javascript solution... the form will be dispalyed as hidden and if user click on the link, it will be open ... the problem to do is my time yet ... :-(
If you find Phoca extensions useful, please support the project
pcguru
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Oct 2008, 10:28

Re: Separation : messages and form

Post by pcguru »

This is a quick and dirty fix for you out there who want separated views.

Don't expect it to be perfect, it isn't. My time is limited as well. It does work for the site it is used on. :)

Download from http://www.drombolaget.se/file_area/com ... stbook.zip

In the menu editor, you select the view you want, either display_entries or form. The default view is untouched.

Note I will not answer any questions about this, I release the source code because of GPL. Jan you can use the changes if you want to.

Hope it helps someone out there. 8)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Separation : messages and form

Post by Jan »

Ok, thank you I will take a look at it, Jan
If you find Phoca extensions useful, please support the project
Post Reply