Hi, all
This project is realy great. Although I have experience with drupal I am realy new to phonegap and to mobile apps generaly.
So I have a few questions for the experts.

First of all I have a drupal website with some custom content types except article and page. The latest mobile app and drupal module works great. The problem is that I have a content type that get the title field automatically using auto node titles. The question is how to remove the title for field for a specific content type.

The second question is about the multiple value fields and especially the image and the file field . Whenever the content type contains a multiple value image or file field I am getting WSOD on the mobile app. I tried to uncomment the code block inside the form.inc.js /*// Show the 'Add another item' button on unlimited value fields. line 782 with no result. Does anyone tried to implement multi value fields support for drupalgap ?

The third one is about the user image inside the mobile app user edit form. There is no field for user image .... I tried previous releases from git and the user image field was presented.

Finally I want to ask if there is any example for search content. My website contains many contents and by pressing the content button ( star graphic ) takes a lot of time to render the list. Also I want to provide filter values for cck fields and perform search with the given values instead of just listing contents.

Comments

tyler.frankenstein’s picture

Title: Need some help for custom content types » Automatic Node Titles, Multi Value Image Fields, User Profile Picture, Searching Content
Status: Active » Postponed

When dealing with Automatic Node Titles try this approach:

https://github.com/signalpoint/miativity/blob/master/app/modules/custom/...

Essentially you implement hook_form_alter() in your mobile app with a custom module. Then you make alterations to the node_edit form (which is used for all node content types), then limit it to your particular content type(s). In the example above, the custom content type has a machine name of 'art'.

Multi value fields are not supported yet: https://github.com/signalpoint/DrupalGap/issues/178 - However, it shouldn't WSOD, but if it does, that's a separate issue.

The default user profile picture has known issues: #1985014: Not Saving User Profile Photo - I typically turn off the default profile picture feature, and instead use an image field on the User Entity.

As for searching, this page contains some documentation, but it is incomplete: http://drupalgap.org/node/231

Please consider contributing to resolve the above issues.

tyler.frankenstein’s picture

I've completed the Search documentation: http://www.drupalgap.org/node/231

Grab the latest dev snapshot of the SDK (or wait until 7.x-1.0-rc2 is released) for the full feature set: www.drupalgap.org/download

aleada’s picture

Ok I will try the new release and your tips / documentation.

days4’s picture

hi,
i am working on project which has a multivalue text field
i want to ask is there support available for multivalue text field in drupalgap or not ?
if not then please can i get help in adding support for that

thankyou

tyler.frankenstein’s picture

tyler.frankenstein’s picture

Status: Postponed » Closed (works as designed)

Closing due to inactivity, please open a new separate issue for each if any problems persist.