Search found 7 matches

by gawarski
Mon Aug 16, 2010 4:16 pm
Forum: Developers Discussion
Topic: List and Detail View
Replies: 1
Views: 1514

List and Detail View

I am trying to set up a "list" and "detail" system for a module I'm writing, and I'm not sure how to handle this. I have a list of projects, and for each project, there should be a link to a details page for that project. The project list has code to generate a link: $list[$i]['i...
by gawarski
Thu Aug 12, 2010 8:12 pm
Forum: Developers Discussion
Topic: Development of Gallery - Header Content-type for BLOB
Replies: 12
Views: 5503

Re: Development of Gallery - Header Content-type for BLOB

Ok.  I figured that out - silly me, I replaced the $returnid with $return_id originally, and then tried replacing it with NULL thinking that some weird value must be getting passed in. So my last question is, does every single module need to be called from within a content page or template? In other...
by gawarski
Thu Aug 12, 2010 5:52 pm
Forum: Developers Discussion
Topic: Development of Gallery - Header Content-type for BLOB
Replies: 12
Views: 5503

Re: Development of Gallery - Header Content-type for BLOB

This particular part is for the front end. For the front end I only have (at this time) 2 files: action.default.php pulls data from MySQL for a project.  This includes project name, description and a few other data points, and a picture_id FK.  picture_id is the primary key of a record in a table of...
by gawarski
Thu Aug 12, 2010 5:36 pm
Forum: Developers Discussion
Topic: Development of Gallery - Header Content-type for BLOB
Replies: 12
Views: 5503

Re: Development of Gallery - Header Content-type for BLOB

If I do this: $this->CreateFrontendLink ($id, NULL, 'image', '', $params ,'', true, false, '', false); Then I end up with: http://{domainname}/admin/moduleinterface.php?mact=ProjectProfile,mf3dde,image,0&sp_=f91c9d4d&mf3ddeimage_id=5&mf3ddeshowtemplate=false&mf3ddedisable_theme=true
by gawarski
Thu Aug 12, 2010 4:54 pm
Forum: Developers Discussion
Topic: Development of Gallery - Header Content-type for BLOB
Replies: 12
Views: 5503

Re: Development of Gallery - Header Content-type for BLOB

That is a typo I made.... but the real issue is that using the function this way generates the following output: http://{domainname}/admin/moduleinterface.php?mact=ProjectProfile,mf3dde,image,0&sp_=f91c9d4d&mf3ddeimage_id=5&mf3ddeshowtemplate=false&mf3ddedisable_theme=true The output...
by gawarski
Thu Aug 12, 2010 4:32 pm
Forum: Developers Discussion
Topic: Development of Gallery - Header Content-type for BLOB
Replies: 12
Views: 5503

Re: Development of Gallery - Header Content-type for BLOB

Hi Nan, Thanks for the input.  I do have one other issue coming up with this now.  The admin side version is working great.  Displays my thumbnails no problem and I can do everything I need to. When I try to make a link on the front end though, it is giving me a few problems. One approach seems to g...
by gawarski
Wed Aug 11, 2010 8:46 pm
Forum: Developers Discussion
Topic: Development of Gallery - Header Content-type for BLOB
Replies: 12
Views: 5503

Development of Gallery - Header Content-type for BLOB

Hi anyone / everyone, I'm working on a module for my employer and I've hit a snag involving data coming from a BLOB field: I currently am storing images as a thumb and full-size image into a table set up as follows: id - record ID (integer) name - title for alt tag (varchar 64) caption - text thumb ...

Go to advanced search