Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Constructor 2/5/2009 9:46 PM
I am using the latest trunk version. Is there a quick fix to get around this issue. I am merging a logal copy of Cuyahoga with the trunk to get NHibernate 2 with Cuyahoga 1.5.2 functionality (or better).

Everything else is fine so far except duplicate templates being listed.

It seems that in the 'cuyahoga_template' table the templates are listed with a 'siteid' and with a null entry for 'siteid' and therefore list twice.

A hack or fix anyone? :)
# Constructor 2/5/2009 11:27 PM
It is ok, fixed it.

I changed the dropdown population from the corerepository to:

Cuyahoga.Core.Domain.Site CurrentSite = this.SiteService.GetSiteById(this.ActiveSite.Id);
templates = this.TemplateService.GetAllTemplatesBySite(CurrentSite) as IList;

It works fine. Also changed the way new templates are added by providing the option to register them against a site.

Cuyahoga is great to look around and simple to customise. :)