Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outputting valid code #2

Closed
StevenLangbroek opened this issue Jun 4, 2010 · 2 comments
Closed

Outputting valid code #2

StevenLangbroek opened this issue Jun 4, 2010 · 2 comments

Comments

@StevenLangbroek
Copy link

The ampersands in the source of my thumbs and in my image-links are being outputted in invalid format (ampersand hasn't been converted to &). Is this a possibility? Thanks!

@Nacnud
Copy link

Nacnud commented Jun 8, 2010

This is a more general problem as it applies to all Gallery URLs.
It can be worked around by editing pre-defined chunks galAlbumRowTpl and galItemThumb; and creating two custom chunks galItemAlbum and galItemTag. The purpose of these chunks is to swap '?' for '&'. I've added details into the Gallery 0.1.0 rc2 Support thread.
The '&' is needed if MODx is used in default configuration and '?' is needed is Search Engine Friendly URLs are being generated.
The fix is probably to create the URL's in the snippet; doing it in the chunk will be fairly verbose and prone to user error.

@splittingred
Copy link
Owner

Fixed in 0.1.1-pl

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants