RSGallery2 Support Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
News : December 08 03:26:47 pm
  RSGallery2 Support Forums
  Developers corner
  Nightly Builds for RSGallery2 in Joomla 1.5 (Moderators: Jonah, Daniel Tulp, Ronald Smit)
  [SVN 791] new SEF routing
  « previous next »
Pages 1
Author
Topic: [SVN 791] new SEF routing  (Read 9074 times)
« on: May 30 01:54:42 pm »
john
Dev Team
Sr. Member

Posts: 486



Hello ...

SVN 791 has a custom router for SEF URLs.

Please test for any errors.

All comments are welcome  Smiley

Thanks

 john
« Last Edit: November 23 06:02:37 am by john » Logged
 
Reply #1
« on: June 04 10:52:06 pm »
schlogo
Jr. Member

Posts: 55



hello

Just a question, what  does the sef router brings, I mean, user wise,  Does that mean that I can fully customize the urls within the component? If yes, is there any documentation?
Logged
 
Reply #2
« on: June 06 02:36:04 am »
john
Dev Team
Sr. Member

Posts: 486



Hello ..

no, for the user it does not change anything. it just allows the search engines(Google, etc.) so find your pictures and galleries easier (hence SearchEngineFriendly URL)

if you have a little PHP experience you can check out the router.php in the components font-side directory.

john
Logged
 
Reply #3
« on: July 23 02:39:56 pm »
mirjam
Dev Team
Newbie

Posts: 33



I would like to try your custom router, but I have the impression I don't know how to use it...

This is what I did
- installed Joomla 1.5.4 and RSGallery2 2.00 beta SVN 817 (okay, and sh404SEF 1.0.11 but that one is disabled for now)
- in the Back-end > Site > Global Configuration have the following SEO Settings
-- Search Enigne Friendly URLs: Yes
-- Use Apache mod_rewrite: Yes (and with the original Joomla 1.5.4 htaccess.txt renamed to .htaccess)
-- Add suffix to URLs: No
- then I visited my homepage (on a xampp webserver in dir /j-rs-sef/)

This is what I got (error and successes)
- for the RSGallery menu item called "Photos": http://localhost/j-rs-sef/index.php?Itemid=53&option= which results in a 404 -Component not found message
- when I change this URL to http://localhost/j-rs-sef/index.php?Itemid=53&option=com_rsgallery2 I get my view of galleries (and latest/random images)
- URL for my first gallery: http://localhost/j-rs-sef/component/rsgallery2/category/1 works
- URL for the third image in this gallery: http://localhost/j-rs-sef/component/rsgallery2/item/3/asInline works
- moving on from that one to the seventh one in this gallery: http://localhost/j-rs-sef/component/rsgallery2/category/1/asInline?limit=1&start=6 works

Now the questions are
- why doesn't the menu-item link work?
- how can I change the texts: component, rsgallery2, category, 1, asInline and get e.g. the image name?


I have a tiny bit of PHP experience which makes me ask: why is there a reference to com_contact in the router.php mentioned (on line 23)?
Logged
 
Reply #4
« on: July 24 02:51:27 pm »
schlogo
Jr. Member

Posts: 55



if someone from dev could help mirjam on this, I would be grateful, could even ship bottle of french wine around if it get fixed  Roll Eyes
Logged
 
Reply #5
« on: July 29 04:06:15 pm »
Jonah
Administrator
Hero Member

Posts: 1414



mirjam, did you get my email about joing the Dev Team?
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #6
« on: July 30 02:50:43 am »
mirjam
Dev Team
Newbie

Posts: 33



Sorry, no I didn't. I'll PM you.
Logged
 
Reply #7
« on: August 14 08:48:19 am »
schlogo
Jr. Member

Posts: 55



any progress with the sef problems on rsgallery 2.0 ? Huh
Logged
 
Reply #8
« on: November 23 06:02:04 am »
john
Dev Team
Sr. Member

Posts: 486



Hello ...

in the nightly build 917 the SEF problems have been sorted out.

if you find any problems, let me know :-)

john
Logged
 
  Pages 1
« previous next »
Jump to: