Composite Control/Flyout Menu Customization - crm

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.

Related

Possible to use tags/buttons as exposed filters?

I have a page that will be a grid of a dozen content types. I would like to have a tag-like button or text link above the grid of content to allow the user to toggle / filter between what content type they wish to see. I know that exposed filters allows you to use a dropdown or auto-complete, but is this possible with tags?
You can use Better Exposed Filters for converting your drop down exposed filter into links. Then you can styling your links as tags.
Have you tried by adding taxonomy as filter to the View page?
Here is an article I found that introduces the procedure, https://www.drupalgardens.com/documentation/taxonomy/views

Is there a drupal 7 module to change/filter content in a view via tabs that are not placed inside of the view?

I have a library page with some taxonomy topics(resource types) that are currently being filtered by some really hacky tabs that I would like to replace to do two things:
1) get new, more user friendly tabs, with the capability to be placed outside of the view yet change content inside the said view.
2) be able to have the tabs grouped together in a way I can manipulate them with css.
I am fairly new to the drupal world. What would you suggest? Thanks!
Do you use exposed filter options?
If so in the advanced tab of the view you have a option 'Exposed form in block' this way your exposed filters will be placed in a seperate block.
After saving the view you have to enable the block

Drupal 7 use custom layouts created by Panels module

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.

Wordpress Custom Content Types

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.

Creating content in a block in Drupal 6

By default for creating content a new page is opened. I want to do this inside a block. A block where there will be some fields like title body taxonomy terms and a create content button. How can I do this?
The form block module will do what you want.
You could you do the same thing in code, using hook_block to create a block. And using
drupal_get_form to render the form.
Try the Panels module.
http://drupal.org/project/panels
It will let you override and re-arrange the node add/edit form.
But, as Jeremy stated, to use this form on other pages of the site you will need to do something custom like hook_block and invoke drupal_get_form.
I agree with the answers from Jeremy and Kevin, but want to give another one.
You can use views to create the block! All you have to do is create a new view display with a block display. Add the fields you want to show, add a link field for the node/add/foo link and give it a node id filter or default argument. Here you have to choose the node id of the node to display in the block. Done!
What's nice with this solution? You can use almost every feature of views theming, drag and drop field ordering, adding new fields is cheap and no extra modules. ;)
Regards
Mike

Resources