Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Blog months to year View modes: 
User avatar
Member
Member
jp.principio.mail-gmail - 11/9/2011 3:22:53 AM
   
Blog months to year
Hi,

Is it possible to have a Post Archive like this?
2011 (200)
2010 (129)
2009 (100)

Thanks,

JP

User avatar
Member
Member
kentico_michal - 11/10/2011 2:40:54 AM
   
RE:Blog months to year
Hello,

Regrettably, this way of displaying post archives is currently not available.

You will need to create a custom web part to accomplish it: Developing web parts.

If you need more information about blog related API, please take a look at API reference: Kentico CMS API.

Best regards,
Michal Legen

User avatar
Member
Member
jp.principio.mail-gmail - 11/21/2011 4:19:53 AM
   
RE:Blog months to year
Hi,

I'm creating my own web parts for this. I'm kinda lost. Can you tell me how/where should I put the queries on my transformation? I created the queries on Site Manager and I don't know how to put it on my transformation file/ ascx file.


Thanks

User avatar
Member
Member
kentico_michal - 11/21/2011 4:58:10 AM
   
RE:Blog months to year
Hello,

If you need execute a custom query in the transformation, I would recommend create a custom transformation method as it is described here: Adding custom functions to transformations and within this transformation method use the SqlHelperClass.ExecuteQuery method to execute this custom query.

Best regards,
Michal Legen