We have a metadata schema that has 3 fields in it - 2 text fields (title & summary), one component link field.
Its being used by our keywords and the taxonomy published to the broker.
However when we assign values and publish, in the broker's [CUSTOM_META] table for the keyword, we only see the 2 rows for the two text field entries and nothing for the component link field. I was hoping to see a third row for the component link showing a TCM ID or something to represent the component linked to.
In fact, when you look at the database table design for [CUSTOM_META], it only seems to support KEY_DATE_VALUE, KEY_STRING_VALUE & KEY_FLOAT_VALUE.
Does this mean that the value in a component link field can't be published to the broker?
We where going to use this TCM to generate a link to a published page, so I guess we can change the field type to text and just ask editors to type url in or use Bart's Item Selector to pick the page itself.
This is in a Tridion 2011 SP1 env. - everything configured to be published to the broker by default, (apart from binaries and a couple of specific page types).
This is fixed in 2011 SP1 with hotfix CD_2011.1.0.79212, downloadable from:
https://www.sdltridionworld.com/Login.aspx?ReturnUrl=/downloads/hotfixes/SDL_Tridion_2011_SP1/index.aspx
(login required)
Related
I am using Barn2 document library pro and I want to use gravity forms to allow users to submit documents (basically doc,xls and pdf)
1- a dropdown or checkbox forms to select the document category, subcategory, tag and whatever taxonomy which shall be fetched from the actual document library.
2- The document is automatically assigned to the selected category and tags.
3- must verified by an admin first (I think this is a native feature of WordPress)
is this possible to implement? maybe a custom code? or should I purchase another 3rd party addon like gravitywiz populate anything?
btw I still didn't purchase any plugin since there's no single answer to my questions.
I am looking to hide/show some fields depending upon user selection on another field. So a user can select among four wheeler/two wheeler. If user selects four wheeler from a dropdown he is shown different set of fields and for two wheeler different set of fields . As there are many common fields I am looking to use same content type for both content type
What I have tried so far is
Theme_name_form_alter hook in theme_name.theme file
As well as hook_form_FORM_ID_alter
None seems to be working for me
while Conditional Field module still is in development on Drupal 8 So
Field Formatter Condition Module could be a good choice.
Simple conditions and actions
Hide source field when target field is empty. Hide source field when
target field is not empty. Hide source field when the current user has
specific roles. Hide source field on specific pages. Hide source field
when target field contains a specific string. Hide source field when
target field doesn't contain a specific string. Hide link field if
title is empty. Hide date field if smaller/greater then today/custom
date. Hide if content from author Hide if checkbox is checked (in
current dev version)
Module conditional fields is still dev for Drupal 8 but should work:
https://www.drupal.org/project/conditional_fields
And in case "Conditional fields" is not working for you maybe "Paragraphs" can jump in as replacement. It's stable at least.
https://www.drupal.org/project/paragraphs
Not exactly what you were asking for, but can do the job.
I'd like to use an old style collection (topic) in Plone, to show only a specific item type of a third party addon, but the collection remains empty.
Basically I use Products.Reflecto and would like to list all items of type "Reflecto file". I'm able to select the item type in the criteria tab of the collection, but the result doesn't show anything.
Are there some settings where I can define the indexing options of a collection, or something similar to get it?
Interestingly it's working with a new style collection, but I'm limited to the old one at the moment unfortunately.
Plone 4.3.1, Zope 2.13.20, Reflecto 3.0.6
I have a field called "fruit_type" which is a node reference to a "fruit" content type and an auto-complete field.
By default drupal provides title of node and nodeId in auto-complete field like:
mango [nid:9]
My requirement is to show the field from "fruit" content type called "fruit_species". So it should look something like this:
mango [spec:mangifera indica]
But the further functionality of node reference should remain the same, i.e. on content page I should be able to get the values entered in this field as a reference to a node of type "fruit" and redirect me to the content page of this fruit.
Is it possible to achieve? If yes how can I achieve this?
Edit: FYI: I am using a Drupal 6
Your best bet would be to use Nodereference Explorer as it's what I use when I need more than what autocompelte offers. It doesn't do what you want but maybe is what you need.
Other than that, you could implement your own autocomplete module. Using one of the many widgets available online.
For the results, you'll need to set up a hook_menu to build your results (and link them to the widget) and then using hook_form to process them before creating the node reference.
I'm using the References module in Drupal 7 to do the following: I have projects and clients (content types), so that a project can belong to many clients, and a client can have many projects. I set this up using a Node reference field on the Project content type, which accepts unlimited values. What I need is a view (Views module) that shows a list of clients, and inside each one the projects that belong to it, like this:
Client 1
- project 1
- project 2
Client 2
(no projects)
Client 3
- project 45
- project 2
With links to the projects' pages.
I don't know how the view should be set up. I tried using the User aggregation option in the Advanced section of the view editor, with no luck whatsoever.
Add a contextual filter of client field in project view page. Go to client view and add Content: Nid and a Global: Custom text field. In Custom text field go to custom text rewrite results -> and select Output this field as a link. In Link path give value as page_to_list_projects/[nid].
Basically we are passing client nid as argument to the project list page and filtering projects with client nid.