DNN TTTGallery Modifications
I made some minor modifications to the TTTGallery today for my sites. Here they both are.
modified the TTTGallery's default file and folder titles. By default they appear as “Untitled”, this is rather annoying if you don't want to have to go through and modify the titles for a few hundred images.
If you do a search for
Return “Untitled“
replace with
Return
_nameThere should be two instances of that, I believe both in the Gallery Objects.vb file.
This modification replaces the “Untitled” with the filename of the image or folder.
Second Modification
made to better suit my needs on solo2.org.
On the TTT_Viewer.ascx.vb file I added the following line to the page load function, line ~98
CType(Me.Page.FindControl("Title"), HtmlGenericControl).InnerText += " > " + _request.CurrentItem.TitleThat adds the title of the current Image to the Page title of the browser, for hopefully better SEO optimization.