Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Detail Data View ONLY in front end

More
6 years 4 months ago #5635 by jch
My first Visform is one where registered users can introduce their family members. It is very simple with a file upload (for images) and textarea to introduce the person (and the usual textseparators, submit button etc).

When the form is completed and sent, I want the user to be directed to a detail view of all introductions in the front end.

I do NOT want the list view to appear anywhere in the front end, but it does. Worse still, the user must go through the list view to see the detail view, one introduction at a time.

What am I doing wrong? Please advise.

More
6 years 4 months ago #5637 by Administrator AV
Replied by Administrator AV on topic Detail Data View ONLY in front end
Hi,

in Visforms a detail view is the view of the details of exactly one record set (form submission). As far as I understand your description, actually each introduction would be a separate form submission so there is no detail view of all introductions but only a detail view for each introduction. Please correct me, if I misunderstood your description.

Nevertheless, I think there is a solution to your problem, if the users, who makes the introductions are logged in, when they make the submission.

There is the Content Plugin Data View, that comes with the Visforms Subscription. The major aim of this plugin is, to allow you more specificly to select which record sets are displayed. For example you can set it up in a way, that it will only display the record sets that where submitted by the currently logged in user. Further on this plugin comes with two different layouts and the layout which is called "list" there, could be used to display the details of all introductions of the logged in user in one (vertical) list. (The data of each record set are displayed as label/value pairs wis one label/value pair per row and the record sets are displayed one beneath another).

As it is a content plugin, you would create an article and display the selected introductions inside that article, using the plugin. Depending on who views the article, different record sets are displayed. And in the form configuration on the "Result" tab, you just set that article as redirect url.

As the plugin can only select logged in user by there name, username or email (from the Joomla! user data) you will maybe need one addtional field in the form with one of the three informations (if you do not already have an email field). You can set the field default value from the Joomla! user information by automatic action, in order to make sure, that it has the correct value and you can make it readonly, so that the user cannot change the value.

Please check out the Plugin Documentation for all the details.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
6 years 4 months ago #5638 by jch
Replied by jch on topic Detail Data View ONLY in front end
You understand what I am trying to do. Now, let me make sure I understand what you are proposing as a solution.

First, I think the confusion in my mind arose from the fact that a vertical "list" in the plugin is approximately equivalent to the "detail" view in the component. Is that correct?

There is a read-only field for the logged-in "Name" (from Joomla registration) already in the form.

This particular form needs to be very simple for the user. Later forms will be more complex and possibly not suited to the "detail" or "vertical list" presentation.

Now that I know it is what I need, I will take time to study the plugin and learn how to use it.

Thank you for your prompt and informative reply.

Cordially,
jch

More
6 years 4 months ago #5639 by Administrator AV
Replied by Administrator AV on topic Detail Data View ONLY in front end
Hi,

First, I think the confusion in my mind arose from the fact that a vertical "list" in the plugin is approximately equivalent to the "detail" view in the component. Is that correct?

YES

There is a read-only field for the logged-in "Name" (from Joomla registration) already in the form.

PERFECT, then you can use it in the plugin for the record set selection.

I'm sorry that the naming of the "views" is a bit confusing. In the context of the plugin, you have to use the plugin parameter "layout" with the value "list".

In the plugin documentation there is an article with examples: www.vi-solutions.de/en/documentations/vi...-vfdataview-examples
You want to make a mix from the second and third example. The second example show the proper use of the layout parameter. The third example how you set up the selection. But in order to learn how to set up the plugin properly it is important that you read the documentation from the beginning.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
6 years 4 months ago #5642 by jch
Replied by jch on topic Detail Data View ONLY in front end
The first thing I had to figure out was how to provide access to the article with the plugin parameters. Finally, I put the string in an uncatagorized article and used menu Item Article --> Single article. That seemed to work.

The output looks OK except for one thing - All the text is bright red! How can I change it to black?

More
6 years 4 months ago #5643 by Administrator AV
Replied by Administrator AV on topic Detail Data View ONLY in front end
Hi,

I must take a look at the website in order to figure, where this comes from.

Could you mail me a link to the article to contact@vi-solutions.de (and if necessary - in order to be able to view the article - login data for one of your "test" user).

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum