Small Tweaks

7 views
Skip to first unread message

Steve Walker

unread,
Jul 16, 2006, 10:46:08 AM7/16/06
to CFSSP
This groups seems to be a little quiet and I hope that others will
begin to share their minor adjustments.

I have made 3:

1. Added Application.Paths.Gallery to Application.cfm and replaced all
the referential paths in Album.cfm and albumsAction.cfm- This allows
me to put the gallery any where I want.

2. Modified line 89 of Albums.cfm to read:

<cfif len(GetAlbumsRet.arAlbums[iAlbum][5])>
<img src="#GetAlbumsRet.arAlbums[iAlbum][5]#"
alt="#GetAlbumsRet.arAlbums[iAlbum][1]#" border="0" class="alThumb"/>
<cfelse>&nbsp;
</cfif>

This allows for the absence of a graphic

3. Lastly, I auto populate the Album ID field with a UUID. I am using
this as the directory name of my albums as well. I am still having a
problem loading images into the new directory (it is still looking for
"Title") and will post my fix once I figure it out.

Steve Walker

unread,
Jul 21, 2006, 10:40:00 PM7/21/06
to CFSSP
Update to #3:

For all file manipulation and album management I have changed the
references to [form.iAlbum][1], to [form.iAlbum][8]. [form.iAlbum][1]
is still used for display purposes (e.g. Album Title, breadcrumbs,
etc). Files modified include albumAction, imageEdit, and albumEdit.

I also had to change Form.Title to Form.AlbumXMLID in albumAction.cfm
(lines 46,47,61,62,66,108,109,113,124, and125) .

I hope to have a link to a working version live within the next week.

Steve Walker

unread,
Jul 23, 2006, 10:35:19 AM7/23/06
to CFSSP
Just a follow on. I merged SSP with Flex2 and have CFSSP in the
background (www.sphereproject.net). This is very much a work in
progress and requires a pretty high screen resolution (1024x768
minimum). If I get the time I may try to move the manager inside of
Flex. I took a look at SSP Director and if your using MySQL and php it
does almost everything.
Reply all
Reply to author
Forward
0 new messages