Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Wichtig Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

Detail Data View ONLY in front end

Mehr
6 Jahre 4 Monate her #5635 von jch
Detail Data View ONLY in front end wurde erstellt von 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.

Mehr
6 Jahre 4 Monate her #5637 von Administrator AV
Administrator AV antwortete auf 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 :-).

Mehr
6 Jahre 4 Monate her #5638 von jch
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

Mehr
6 Jahre 4 Monate her #5639 von Administrator AV
Administrator AV antwortete auf 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 :-).

Mehr
6 Jahre 4 Monate her #5642 von jch
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?

Mehr
6 Jahre 4 Monate her #5643 von Administrator AV
Administrator AV antwortete auf 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 :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum