There are only a few places where URL's are generated, so if you modify those you should be in good shape. I assume you are able to edit the source code.
Modify the two overloads of GetUrl in Website\CodeFiles\Util.cs to this:
Code:public static string GetUrl(PageId page)
{
return Util.UrlBuilder.BuildUrl(String.Concat("g=", page, "&m=gallery"));
}
public static string GetUrl(PageId page, string format, params object[] args)
{
if ((page == PageId.album) || (page == PageId.mediaobject))
{
// Don't use the "g" parameter for album or mediaobject pages, since we can deduce it by looking for the
// aid or moid query string parms. This results in a shorter, cleaner URL.
return Util.UrlBuilder.BuildUrl(String.Concat(string.Format(format, args), "&m=gallery"));
}
else
return Util.UrlBuilder.BuildUrl(String.Concat("g=", page, "&", string.Format(format, args, "&m=gallery")));
}
Modify the function buildMenuString in Website\gs\controls\albumenu.ascx so that each of the three <a ...> tags that are generated include your "m=gallery" query string. This will take care of the album breadcrumb menu.
Hope this helps.
Roger Martin
Creator and Lead Developer of Gallery Server Pro