Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# pmgahan 2/6/2007 12:12 AM
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.
# martijnb 2/6/2007 2:16 PM
pmgahanI 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?

Thanks!
When will the modules svn with write permissions be ready? It's not practical to work this way!

After the 1.5 release.
# lmtsypin 2/20/2007 4:12 PM
Hey - Can you post your 1.5 upgrade of the contact module? Thanks, Lev
# pmgahan 2/24/2007 8:19 PM
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.
# pmgahan 2/24/2007 8:29 PM
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.
# droren 2/26/2007 6:06 AM
thanx! patric
# XscorX 2/28/2007 7:46 AM
i tried to download the contact module but when ever i try the link it tells me it does not exest
# pmgahan 2/28/2007 9:08 PM
You can now find the ContactUs and Forum modules for Cuyahoga 1.5 on http://sourceforge.net/projects/cuyahogacontrib/Cuyahoga.Modules.ContactUs/trunk/
http://sourceforge.net/projects/cuyahogacontrib/Cuyahoga.Modules.Forum/trunk/

Patrick.
# XscorX 3/1/2007 6:40 AM
thanks for the links
XscorX
# leecook 4/4/2007 5:26 PM (edited 4/4/2007 6:05 PM)
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.
# pmgahan 4/4/2007 9:56 PM
Sorry about that,
I've added the scripts to svn, please check it agani.

Patrick.
# pmgahan 4/4/2007 10:00 PM (edited 4/5/2007 5:05 AM)
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.
# leecook 4/5/2007 5:22 AM
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
# leecook 4/5/2007 6:03 AM
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";
}
}
# pmgahan 4/6/2007 4:50 AM
Thanks Lee,

I will check it out and add this to cuyahoga contrib as soon as possible.

Patrick.