10 May 2005 - 22:31Mambo and Gallery SEF URLs With Fix
While using the Gallery project embedded in Mambo, it does not correctly respect the SEF URL parameter in the configuration file. Some of the URLs can’t be represented in the SEF URL syntax, because they point to the actual Gallery location. These are mostly the administration functions such as adding and removing pictures. The navigation and picture display, however, are controlled completely through the Mambo embedded component. After digging through the Mambo SEF code in a previous problem, I know that the SEF URL is converted correctly into the corresponding $_GET and $_REQUEST parameters, so therefore, they should not interfere with the operation of the gallery pages. This can be verified by manually converting the link. Fortunately I found a simple and elegant patch to fix the problem. Read on for the solution.
No Comments | Tags: Programming