How do I change the permalink structure for the gallery plugin?
What's currently coming up:
http://lucassian.com/index.php?serendip ... ext_Level/
what I'd like to have instead:
http://lucassian.com/index.php?/gallery ... Level.html
OR
http://lucassian.com/index.php?/gallery ... Level.html
OR
http://lucassian.com/index.php?/Portfol ... Level.html
Most importantly, I'd like to get rid of the "=" and the "&" from the link.
When I run my mainpage through an xhtml validator, it flags those links!
Gallery plugin help with permalinks
Gallery plugin help with permalinks
~John
That Photographer guy in Michigan
That Photographer guy in Michigan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Gallery plugin help with permalinks
Hi!
The current gallery plugin does not support customization of the permalink structure, so you'd need to manually edit the serendipity_event_usergallery.php file, change the permalinks, and add the rewrite rules to your .htaccess.
The HTML code of your portfolio is actually okay, what exactly do you validate that gives you errors? As long as '&' is encoded as '&' in the HTML, everything should be okay and perfectly valid...
Regards,
Garvin
The current gallery plugin does not support customization of the permalink structure, so you'd need to manually edit the serendipity_event_usergallery.php file, change the permalinks, and add the rewrite rules to your .htaccess.
The HTML code of your portfolio is actually okay, what exactly do you validate that gives you errors? As long as '&' is encoded as '&' in the HTML, everything should be okay and perfectly valid...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Gallery plugin help with permalinks
It's the links from the homepage that create havoc with the w3c xhtml validator. It chokes on the '&' and the '=' in the href links.
Re: Gallery plugin help with permalinks
~John
That Photographer guy in Michigan
That Photographer guy in Michigan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Gallery plugin help with permalinks
Hi!
"=" is valid in URLs. Please tell me the exact validator and URL. The W3C validator does not complain about "="...
Regards,
Garvin
"=" is valid in URLs. Please tell me the exact validator and URL. The W3C validator does not complain about "="...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Gallery plugin help with permalinks
It was the W3c validator, but it was only complaining about the '&'s - It was identifying the missing ';' when it hit the = and I misinterpreted that as another issue. 
~John
That Photographer guy in Michigan
That Photographer guy in Michigan