Best Practices
General > Best Practices > Custom keywords and calendar View modes: 
User avatar
Member
Member
marik - 11/15/2006 8:37:03 AM
   
Custom keywords and calendar
Hello,
I would like to ask you for some suggestions.
1) I have master page model and I would like to define custom editable meta keywords for each single page. I know helper methods like GetPageMetaKeyWordsTag but suppose them to be suitable only in single page template (not included into master page). Or am I wrong?

2) I should develope calendar that shows beside events also name-days. Events and name-days are saved in different db tables (Events [ID, title, description, date], Name-days [ID, title, DayOrder]). DayOrder is integer value representing DayOfYear for particular name-day (e.g. Silvestr is 366th day of year). Is there any way to have one sql query in document template or have I to modify CMSCalendar control.

I thank you for your advice.

User avatar
Guest
admin - 11/16/2006 10:04:18 AM
   
Re: Custom keywords and calendar
Hello,

1) You can specify either global meta keywords, description and page title in your web.config (version 1.9) or you can specify them through the user interface in CMS Desk for every single page .

2) You would have to modify the CMSCalendar control or write your own calendar control in this case.

Best Regards,

User avatar
Member
Member
marik - 11/20/2006 5:54:31 PM
   
Re: Custom keywords and calendar
Thank you very much for the response. Much appreciated.