In my current project, I am looking for a functionality where we can add a dropdown with a check box for each item listed in it. And wanna write it in Redux framework. Any suggestion how to do this ?
I am looking for a custom field
Related
App maker user picker field takes only one value. We want to add multiple names in the picker field. Do we need to configure in the picker field itself or do we need to write custom JavaScript code to achieve the functionality.
When using the User Picker widget in App Maker, you can only select one user at a time. You will need to use custom JavaScript in order to do multiple selections. You can find a great integration on how to easily select multiple users in the Training Hub template available here https://developers.google.com/appmaker/templates/training-hub/
If you open the above template and if you go to the "AssignCourses" page you will see a possible integration on how you can make multiple user selections. Note that you still need to add user by user to a Grid which will contain all the users that you selected.
Hope this helps!
I want to customize the Composite Control/Flyout Menu (Address Field) in crm 2013 form.Is there any way to add new fields to the control or remove fields from it?
Thanks in Advance.
Unfortunately any available Composite control has limited possibilities for customization. It's not possible to add fields inside or remove fields from it. What you really can do is to hide field inside using JavaScript or Business Rule - https://dipankarbhattacharya.com/2014/03/31/how-can-we-customize-the-address-composite-control/
Also it is possible to change requirement level of a field inside using again JavaScript or Business Rule.
I have created a views that showing various nodes in a ul list .. and for each node shows some field, such as a picture and the title of the node.
Now with a mouseover event I want to show other field of the same nodes in a small pop-up .. what is the best way to do this?
Is there something that the views module provides for doing so?
Thanks in advance for any suggestions.
I was unable to find a specfic module for your use case
but there are 3 ways you can do this
Create a PHP field in your view and code it in any way you want. For this you must enable a module called Views PHP.
Write a jQuery file (for OnHover functionality) and add it to your view using drupal_add_js()
in the header section (you can add a header to the view) of the view.
Write your own theme file. The theming info is provided in views->advanced->others->theme
You can do it with Popup Views integration. See the Demo in action.
It provides a Views global field that can reuse the other Views
fields. It will be output a link that will trigger a popup.
I have recently installed the Panels module. It allows me to create custom layouts for my contents. Now, what i wish to do is, choose these template layouts while creating/editing a certain type of component so that when viewed that content appears in the selected layout.
Hope I made myself clear. Please excuse me if this topic has already been discussed. If so, providing me the link of the post will be helpful enough. Actually I am sort of a newbie in Drupal and more so in the Panles module. So not really sure if my requirement is feasible in the first place.
Thanks in advance...
You can do this by adding a field in your Content type for example of type List (text) > Select list. Each list item will represent a Panels display.
Then create a Panel display variant to override the node template (/node/%node) where you have to add the Selection rules: "YOUR List(text) field". So each variant will display if user selects the connected list option.
If you want to see the selected display online without clicking the Save button you will need probably an ajax effect.
Understanding your question here I'll try to break it down. In order to use a panel layout for node add/edit you can chose to create the layout under /admin/structure/panels
Then you create a new variant. In the variant's [context] tab you'll add the context rule "Node add form", don't worry about the edit form aspect. The Node add form will cover the edit form and the additional contextual rule is to target a specific node. Then you can customize your layout and add in all the form fields in the content tab. Don't forget to add in the node submit button. Now after you've created more than one variant you can enable, disable and order them as you like which covers the specific layout for node type.
The panels layout will order it as you like. If you want control the theming from a non-administrative theme perspective you can disable general admin theme forms in /admin/appearance by unchecking "Use the administration theme when editing or creating content" at the bottom or targeting specific node types by creating a module and having:
<?php
/**
* #file
*/
/**
* Implements hook_admin_paths_alter().
*/
function disable_admin_theme_paths_alter(&$paths) {
$paths['/node/add/node-type-name-here'] = FALSE;
}
Assuming your module's name is disable_admin_theme.
After long research, no answer or hints about this question seems to be available.
I want to have multiple image custom content types. But how to add them with jQuery? I want an option that add dynamically multiple image custom content types when you are in the user interface to add new content.
You have the custom content type in front of you: My
You want add a new one
You give it a description, and want to add an image
Here comes my question: You add an image and you click a button to add another image input field (in the backend)
I hope you can help me with this.
Edit: To be more specific, where, in which file do I implement the jQuery functionality to dynamically add more image upload fields. I have no clue where to implement it.
Are you referring to the back-end user (using wp-admin) or a front-end user (using your actual wordpress ite)?
You can use gravity forms ( http://www.gravityforms.com/ ) in combination with this plugin http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/ to create a front-end form that will allow a user to create a new taxonomy term as well as submit an image.
On the backend there is a great plugin to create duplicate fields which would allow you to do what you're describing as "You add an image and you click a button to add another image input field (in the backend)"...It's called magic fields http://magicfields.org/
What about http://podsframework.org/ its nice framework for handaling custom content type.