Hi Martijn,
I corrected some bugs on the Forum and contact us modules.
Both are now 1.5.0 version compatible, I'm uploading them to Jira, could you update the svn sources?
When will the modules svn with write permissions be ready? It's not practical to work this way!
Thank you.
Patrick.
Hey - Can you post your 1.5 upgrade of the contact module? Thanks, Lev
You can find it on the 1.5 release, I always send the files to martjin and he adds these to the svn version.
Patrick.
I'm sorry, I thought you were talking about the forum, you can download the latest contactus module from Jira:
http://tijnthuus.demon.nl:8080/jira/browse/CUY-100
Patrick.
i tried to download the contact module but when ever i try the link it tells me it does not exest
thanks for the links
XscorX
Hi All,
Does anyone have any sql install scripts for this ContactUs module? I am sure I am missing something obvious, but I just cant seem to get it to work. I am using the 1.5 verison with MsSql 2000.
Cheers,
Lee
P.S It appears as thought the sql scripts are in the project but they have been removed from svn for some reason.
P.P.S It's OK I found them on the jira site.
Sorry about that,
I've added the scripts to svn, please check it agani.
Patrick.
Don't use the Jira sources, those are out of date!
Martjin, could you remove them and add a message pointing people to the new svn site?
Can you grant me priviledges to add the latest binary releases on the cuyahoga contrib sourceforge site?
Thanks.
Patrick.
Hi All,
Thanks patrick.
Just out of curiosity. In your ContactusModule.cs file, you dont appear to be able to read the section stuff. i.e
// this._contactAddress = base.Section.Settings["CONTACT_ADDRESS"].ToString(); // my custom setting
this._sortBy = (SortBy)Enum.Parse(typeof(SortBy), base.Section.Settings["SORT_BY"].ToString());
this._sortDirection = (SortDirection)Enum.Parse(typeof(SortDirection), base.Section.Settings["SORT_DIRECTION"].ToString());
Base.Section is always null. Why is this? I know that there is the right data in the module setting's and section settings table. Do I need to do something special to be able to read it?
Cheers,
Lee
For Future reference for other people, this is how I got it working:
I moved the read section stuff out of the constructor and moved it into public override void ReadSectionSettings().
public ContactUsModule(ISessionManager sessionManager)
{
_sessionManager = sessionManager;
}
public override void ReadSectionSettings() {
base.ReadSectionSettings();
try
{
this._contactAddress = base.Section.Settings["CONTACT_ADDRESS"].ToString();
this._sortBy = (SortBy)Enum.Parse(typeof(SortBy), base.Section.Settings["SORT_BY"].ToString());
this._sortDirection = (SortDirection)Enum.Parse(typeof(SortDirection), base.Section.Settings["SORT_DIRECTION"].ToString());
}
catch
{
// Only if the module settings are not in the database yet for some reason.
this._sortBy = SortBy.Title;
this._sortDirection = SortDirection.DESC;
// this._contactAddress = "monkey";
}
}
Thanks Lee,
I will check it out and add this to cuyahoga contrib as soon as possible.
Patrick.