I think the solution is just to make showing the page content of the calling page above the full size version of the pictures optional. I think I will add this as a preference to Album which can be turned off.tonyg wrote: I think I see the problem. In action.default.php on Line 29, Elijah usesto parse the cms module tag, which is fine. But he does not look for or parse any other CMS tags in the page. So if a page with a CMS album tag also has a CMS selflink tag, that tag is not parsed and is then printed to the page as text by Album. It would be a bit limiting if we cannot use other CMS tags on album pages.Code: Select all
preg_replace('/\{cms_module module=.*?\}/'
Check out the "Pats-ImageGallery" and "Popup-Tables" (SVN version of Album only) templates. They show the full size photo in an auto-sized popup window.tonyg wrote: Actually, I believe you are trying too hard in some ways, Elijah. I don't know about other people, but I don't really need image paging or integrated photo display. I am happy just to display thumbnails and have a self-configuring stripped popup window display the full photo.
You're right, I've removed all that "hackish" code and replaced it with a SQL query in the latest SVN version of Album.tonyg wrote: Also, I suspect the crazy URLs I am seeing are caused by Line 14 where Elijah usesI think it's picking up too much of the string (i.e, it is replicating "/cms/index.php" when it doesn't need to.Code: Select all
$page_alias = substr(substr($_SERVER['REQUEST_URI'], 1), 0, strlen($_SERVER['REQUEST_URI']) - 2);