I am newbie to nopCommerce 2.2,which uses MVC framework. I am having the specification attribute for the category page which will filter only the products that comes under a particular category. I wanted to have the specification attributes globally in the search.cshtml file similar to the price range I get there. Can anyone suggest me the solution?
Its late to answer this question, but for anyone who is searching for the same solution. I have written anrticles on it which you can find it on my blog;
http://dotnetdreamer.com/post/2014/04/13/custom-attribute-searching-in-nopcommerce-3-3
Related
I have a custom content type built with dexterity and I have a datagrid on it. What I want to do is make the fields in the datagrid searchable with plone search engine. Please provide some sample if possible. im a noob.
thanks
Have you tried this?
https://pypi.python.org/pypi/collective.dexteritytextindexer
For best results I think you shold read the section "Registering a custom field converter".
In addition you may find interesting reading this similar SO question:
Extending SearchableText using collective.dexteritytextindexer
It's really well written and contains link to code examples in github.
Ciao
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
I am in the midst of setting up an internal wiki (Screwturn V3.0.5.600) for my department. I'm at the point of setting up the basic structure and I believe I will need both categories and sub-categories.
I've gone through the documentation and I have not found instructions on setting up sub-categories. Is it possible? Is there perhaps a plugin that makes it possible?
I gave setting up my major categories as namespaces and then my subcategories as categories in each namespace, but that just didn't feel right.
Thank you, in advance, for your assistance.
I don't believe there's currently any real way to harness subcategory functionality in STW. If you explained more what your structure is and why you need it set up that way, perhaps people could offer suggestions.
Offhand, you could try to set up semantic sub-categories by giving different categories related names. I.e., 'Development', 'Development-project1', 'Development-project2'.
Aside from that, what about using the keywords functionality?
My target is to create a custom Date field (which should work with Doctrine). The main difference with the basic Symfony's one is that it shouldn't be 3 dropdowns, but one <input type="date">.
I've tried several tutorials like Symfony's book and some helpful answers here.
However the more solutions I try to embed, the more problems I see.
Could anybody write or advise the tutorial for this task?
Thanks in advance.
The date field type supports that already. Just set the widget option to single_text and voila — you'll have what you want. No need to create a special type for that. :)
In Symfony >= 2.6 they introduced a html5 option which will generate a HTML5 input element.
You can see the documentation here: http://symfony.com/doc/current/reference/forms/types/date.html#html5
I would like to add a taglist in my webapplication. I have a list of tags with an integer indicating each tag's popularity.
Many web applications display the tags and their popularity using a different font-size.
Because it is so broadly used, I would think that their is a plugin out there that displays this.
An example of what I mean by a taglist can be found here:
http://www.flickr.com/photos/tags/
Does anyone of you know some kind of plugin that deals with this?
Thanks in advance!
What you are looking to create is called a "Tag Cloud".
There is a control/tutorial available on CodeProject that can be found at http://www.codeproject.com/KB/custom-controls/cloud.aspx
or Four Guys from Rolla has a tutorial that can be found at
https://web.archive.org/web/20210616112719/https://aspnet.4guysfromrolla.com/articles/102506-1.aspx