Sitecore WeBlog Blog Feeds with Custom Entry templates - sitecore

I have implemented WeBlog for sitecore and created custom templates that inherit from Entry, Comment and Category. The RSS Feeds aren't displaying any data now. I did change the query in RSS-Feeds Data Items Field to use the CustomEntry's TemplateID.
I also verified that the query is correct by using XPath builder. Any idea what's wrong?
query:/sitecore/content/Home/Blog//*[##templateid = '{6CF60F32-967D-4CCE-9878-13E2B9B6B2D5}']

I figured this out. Had to go to Standard Values of the "Custom Blog Entry", go to Presentation and setup RSS Feed design under"Feeds".

Related

Display latest blog list using WeBlog Sitecore

I have installed WeBlog module in Sitecore. I have created sample blog, entry, category. Now i want to do 2 things.
Display latest blog in list format just like this
On right side category is displaying, now I want to display corresponding blog on click of category.
Essentially you have to create something custom using the tools WeBlog gives you - no different from Sitecore
There is a great video online showing you how to create a blog listing with WeBlog and I believe it covers displaying Categories and even Tag Clouds.
https://youtu.be/DGlyYP4PK28?t=15m17s
Definitely worth a watch as it'll give you want you require, however there doesn't seem to be any source code provided for the example he makes. However you'll know how to develop it from watching the video

Autocomplete field in Web Forms for Marketers and custom Field validator

I am using WFFM in Sitecore 7.1 , one of the requirement to have a field named Countries and want to use it as autocomplete field.
I have already loaded all the Countries in Sitecore as Sitecore Object.
I was following the Custom Credit card field , but it didn't help much.
I created custom autocomplete Field in WFFM and now i want to create custom validation for this field .
Any help..
Thanks
To keep it simple you might want to consider a custom control like credit card and use client side JS to call your countries via sitecore web API and then do all the auto complete stuff in the js leaving all logic there.
If server side code is a preference then u can write a web service to return you the JSON objects of matching countries making your JS more simpler.
Hope this can help with some ideas.

Sitecore Multilist with Search and Images

I'm using Sitecore 7.2 with MVC. I have a component that has a Multilist with Search field that points to media items. There can be multiple media items here.
Is there a way to make this list editable via the Page Editor?
Thanks
Yes, you will need to use Edit Frames.
These posts describe what they are and how to use them:
http://briancaos.wordpress.com/2011/11/28/using-sitecore-editframe-in-pageedit/
http://www.cmsbestpractices.com/how-to-properly-use-sitecore-edit-frames/

Sitecore query filter issue

I am new to Sitecore and have come across a situation for which I haven't been able to find any documentation.
I have two blogs, Blog A and Blog B. Each Blog has various Categories.
Now, I am trying to create a template, where the user can select a Blog and then select Categories. For Bog Selection, I have used a Droptree and for Categories Selection, I have used a Multilist. I can fetch all the Categories using the following query :
query:../../..//*[##templatename= 'Category']
But, this fetches all the categories belonging to both the Blogs. What I want to do is - when the user has selected the Blog in the DropTree, I want to populate the Multilist only with the categories belonging to that particular blog.
Any ideas? Thanks!
I don't think Sitecore Query supports what you're after (basically using a field value from another item as a variable in a query, if I understand correctly).
There's a guide to the whole of query on SDN: http://sdn.sitecore.net/reference/using%20sitecore%20query/sitecore%20query%20syntax.aspx
I think I'd look at creating a custom field type that inherited from multilist and overriding the logic that pulls items based on the data source - then you can filter it programmatically however you want. There are various blog posts available on that subject, such as http://gettingtoknowsitecore.blogspot.com/2010/03/custom-fields-part-1.html
You could also consider putting categories as subitems under each blog to drastically simplify the whole thing - then you could simply use a relative query or an ancestor-or-self query without anything custom.

What tool to use for searching by date and ranking in Sitecore?

I was wondering what could be the best solution for the following requirement:
On a CMS Web site, I need to research, based on Free text keyword, articles created in Sitecore. Those articles are Sitecore Items created in a specific folder structure.
Content
----- Newsletter
--------V 1
--------V 2
Is Lucene the best option to retrieve any article based on the Free Text?
The articles have to be appear on the screen based on two options: By Date or by ranking (Number of time the Free text keyword appear in the article)
Is there any other options?
Lucene is definitely your best option, since it is already used by Sitecore and makes integration much easier.
There is a very good article and walk-through on Lucene:
Lucene Query walk-through
But it would be better to use the Advanced Database Crawler:
Get latest news using Sitecore AdvancedDatabaseCrawler Lucene index
Using Advanced Database Crawler
Advanced Database Crawler and Dynamic Fields