Hi ,
I send you the first release of the simplegallery module.
This module is used to show photo galleries in a simple way.
No database , just drop pictures into a folder and that's (almost) done.
It is currently a very very simple module , but as i am learning the Cuyahoga framework , i wanted to begin with a simple sourcecode.
test it and don't hesitate to send comments and suggestions.
(nb: it is a VB.net code source)
28/12/2005 : updated to V 0.9.1 . I forgot to include the sources in the original release. it is done :-)
simplegalleryV0.9.1
Do you see my post about photo gallery?
I write a photo gallery try it and tell me something about....
Bye
Hi Alain,
I followed your installation procedure (copied dll into bin, other directory into Modules directory, installed via module installer) and I can add a section containing your module.
However, when I browse to it, I get the following error message :
Could not find module: Cuyahoga.Modules.simplegallery.simplegalleryModule, Cuyahoga.Modules.simplegallery
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Could not find module: Cuyahoga.Modules.simplegallery.simplegalleryModule, Cuyahoga.Modules.simplegallery
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Could not find module: Cuyahoga.Modules.simplegallery.simplegalleryModule, Cuyahoga.Modules.simplegallery]
Cuyahoga.Core.Domain.Section.CreateModule(String sectionUrl) +209
Cuyahoga.Web.UI.PageEngine.LoadContent() +673
Cuyahoga.Web.UI.PageEngine.OnInit(EventArgs e) +1190
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMain() +197
Any idea before I start digging in the code?
thanks
Hans
Check if the module dll is in the /Web/bin directory of Cuyahoga. If that is the case, there might be an error in one of the install scripts.
sorry for the delay, my day job took a little bit more of the day in the past few weeks.
The dll is in the /web/bin directory. The error was in the mysql script. The classname contained "simplegalleryModule" which should be "simplegallerymodule". The MSSQL script seems to be up to date whereas the mysql script still contains the modulesettings for the standard download module, so I changed that too.
Anyway, once I got past this point, I got another error : the simplegallery.asx referred to a type "Cuyahoga.Modules.gallery.web.simplegallery" whereas the assembly only contains a "Cuyahoga.Modules.simplegallery.web.simplegallery". I changed this in the ascx file and then my page finally loaded.
Now it doesn't create the thumbnails. I tried all possible directory locations, but cannot get any further. My next step was to inspect the source code, but I found out that that directory is empty in the download.
I'll send Alain an e-mail as mentioned in the readme.txt.
Hans