solved How do I create the update form for polls and gallery?

boplive
@boplive
10 years ago
345 posts
Hi guys, when I go to the admin profile or a member profile to create a gallery item or poll item the following message is showing on the top each page.
Example
The following designer forms have not been setup yet for this module:
Poll/update
These forms will be initialized the first time they are viewed. It is recommended that you view all forms for this module before using the form designer.The same message I get when I go to the gallery page to create an item.
So how do create and update form for both polls and gallery
updated by @boplive: 10/19/14 02:31:50PM
michael
@michael
10 years ago
7,719 posts
After I explain it, would you mind re-writing the text above in a way that you would have understood please. That will help us make the wording clearer in that location.

Thanks.

It means that you have the 'polls' and the 'gallery' module installed. You have created a poll and a gallery item, or at least been to the /create screen. Thats where you clicked the Form Designer button and saw that message.

What it wants you to do is to create one of each of the items, then go to the update screen.

Doing that will initialize the form in the Form Designer and after that you can add your fields.
boplive
@boplive
10 years ago
345 posts
will do Michael....I'll re-write it...
I know what you mean about me trying to undertsnd it as well :)

I'll try the creating of each item nd see what happens...thanks a bunch!
Will get back to you if when I succeed :0)
boplive
@boplive
10 years ago
345 posts
Hola Michael. ., I follow your instructions and it initialized the update form with no problems..Thank you so much ..One less problem off my list...;)
michael
@michael
10 years ago
7,719 posts
Yeah, I knew it world work ;). What im interested in is what _instructions_ would have worked.

The instructions that are there are not clear enough to explain what needed to be done.

Do you have any ideas about what wording you that would have made you understand that what needed to be done was what you just did?

--edit--
Quote: The following designer forms have not been setup yet for this module:

Poll/update

These forms will be initialized the first time they are viewed. It is recommended that you view all forms for this module before using the form designer.

how to reword that ^^
updated by @michael: 08/27/14 05:55:57PM
boplive
@boplive
10 years ago
345 posts
Brian answer a similiar situation on another post
https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/13592/error-forms-setup#last

now how to word it out...:)
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
I think the text is clear enough, and it isn't much of a hassle to click the links.

But would it be possible to load the urls via curl or redirect the browser around the forms when the module is installed?

But that wouldn't really make sense either. So...

What is it about the forms that means you need to actually view them in order to set the module up to work with the form designer?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
10 years ago
10,148 posts
SteveX:
What is it about the forms that means you need to actually view them in order to set the module up to work with the form designer?

The form designer initialization is located in the form display functions - it basically checks to see if the form is "form designer enabled", and if it is, it gets any custom fields from the DB. If no fields are found, it knows it has not been initialized and so it initializes it.

Its done this way since ahead of time we don't "know" what fields are part of a view - that view function has to be run before the fields are registered. I did at one point look into loading the views "offline", but had some issues (it's been awhile and I can't remember now what those were), but I can revisit it to see if this can be made easier.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags