I'm using the new collections implementation that was introduced with Plone 4.2. The problem is that pages are not paginated. In the edition form there is a field to put a number of items to be showed, but it is ignored.
In the buildout I'm using this:
http://dist.plone.org/release/4.2/versions.cfg
I remember that pagination works in the old collections. How can I paginate using the new?
Seems you found a bug, I can confirm that "Limit Search Results" is ignored, would you mind to report it?
You could use the old-style-collections still in P42 by enabling them in the types-controlpanel, but they are deprecated and porting old-style to new-style is not supported either, afaik.
Related
Working on the 3.1.14 version of OroCRM, I don't have access to the "related entities" on the "Columns" part of the segment or report designer (see image 1 on the 3.1.14 version)
It was working on the 3.1.x-dev as you can see on the picture 2.
Please note that he related entities are still available on the filter part. (see picture 3 on the 3.1.14 version)
Can you help me to resolve this ?
Thanks.
This functionality was disabled intentionally as there are some issues related to UI performance and complexity, so it would not be supported officially anymore.
However, you can enable it back, at your own risk, with the simple form type extension for Oro\Bundle\MarketingListBundle\Form\Type\MarketingListType to override column_column_field_choice_options option. But in this case, you should handle the performance issues on your own.
Im looking how to make a search app for 2sxc but with multiple exclusive filter.
If you add more filters results have to be reduced, and if you dont have any filter I need to show all items.
Im looking something similar to https://2sxc.org/en/Apps module
Any Idea on how to do it ?
This is fairly easy to do - there are many versions. One option is to use the Fallback stream (requires a newer 2sxc version) or the fallbackdatasource. I believe you'll find a good example in the blog app - see https://2sxc.org/en/apps/app/dnn-blog-app-for-dnn-dotnetnuke
Have anyone tried to have a form with MultiValueField in Magnolia having Composite fields with i18n enabled and is working properly?
Currently, I'm encountering some weird behaviour when adding items to English then switching to other language and adding items again then switch back to English with items all gone. In one JIRA post it said it was already fixed but I still encounter this issue. Also encountered issues in sorting which apparently not supported by the DelegatingMultiValueTransformer.
If so, can you please show me the configuration you use to make this work properly? If needed customisation, can you give me ideas on how to do it?
Would really appreciate any help on this.
Btw, I'm using the latest release 5.4.6 now.
Maybe you don't want to put two questions in one request in the future ;)
Re language issue:
did you check that you have i18n enabled also on the subfields, since you are using deletage transformer? AFAIK with delegate you need to have them enabled on all fields in the hierarchy.
Re transformer & ordering:
IMO the only way out is to write custom transformer. Look at source code of MultiValueTransformer and in the part of the code where it goes just two levels down when checking child values, you need to go deeper.
You would also need to define different structure storage for your values there since one used by the MultiValueTransformer would not suffice for multiple levels.
Perhaps you can extend one of the more specialized MultiValue*Transformer or perhaps you try MultiValueJSONTransformer if storing all values in json array is enough for you (you would still need to extend it and to repopulate values back into dialog when opening dialog for editing).
HTH,
Jan
I'm looking for a way of displaying two select fields A and B, where B depends on the selection made in A. For example: Assuming A is a select widget for displaying countries in the world, then B should only list those cities that are found in the country selected in the A field.
I intend to use this in a custom content type and hopefully create a search filter in my view template as well.
Does Plone has such a feature? I've taken a look at Products.MasterSelectWidget but it is very old and it is not compatible with Plone 4.2.
I'm thinking I may have to do this manually using ajax.
Any ideas?
If you are using Archetypes framework, MasterSelectWidget is still the answer for you needs.
You say that it's not working with Plone 4.2 (I never tested) but probably it needs only few fix to back working. Don't be scared from the fact that the product is old... Archetypes framewrork didn't change much in last years!
Just in case, if someone is looking for such widget with Dexterity framework. There is plone.formwidget.masterselect : https://github.com/collective/plone.formwidget.masterselect
How to edit and save back the default tridion template building blocks say for Ex(Default Finish Actions) provided by SDL?
Where can i found the soucre of default TBB's? After locating and editing the TBB's, how to save back in TCM?
Editing default templates provided by SDL is not supported. They are stored in DLL and there's no way you can customize it. Maximum you can do is to disable some of the templates from being created. Alternatively you can can create your own set of default templates.
You can use the Template Builder to assemble and (test) run Compound Templates (Page and Component Templates). You can access the Template Builder from the Tools tab in the Ribbon.
The default TBBs should not be changed.
.NET TBBs are either C# fragments with the code directly accessible, or classes that implement the ITemplate interface.
Please see the following blog post to get you started:
http://www.createandbreak.net/2011/11/template-building-blocks-via-net.html
The code for (an older version of) most of the Default Template Building Blocks can be found on the Tridion forum (http://forum.sdltridion.com).
(I don't have access anymore, but maybe somebody can edit my answer and provide the link)
As others have said though, you risk getting into support trouble if you simply modify and replace them. It might be better to:
take the code from the forum as a starting point
create your own variant, making the modifications you need
compile this into a new TBB
replace the standard TBB in the Default Finish Actions with your own variant
That way you can accomplish most things, without risking support problems. When they doubt whether you broke is, you can just swap out your own variant for the original and prove them wrong.