RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 20, 2008, 08:06:35 am
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 in Joomla 1.5 (Moderators: Jonah, Daniel Tulp, Ronald Smit)
| | |-+  [SVN 791] SEF routing
Advanced search
  « previous next »
Pages 1
Author
Topic: [SVN 791] SEF routing  (Read 8315 times)
« on: May 30, 2008, 02:54:42 pm »
john Offline
Dev Team
Sr. Member
*
Posts: 458

View Profile Email

Hello ...

SVN 791 has a custom router for SEF URLs.

Please test for any errors.

All comments are welcome  Smiley

Thanks

 john
Logged
 
Reply #1
« on: June 04, 2008, 11:52:06 pm »
schlogo Offline
Jr. Member
**
Posts: 54

View Profile Email

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, 2008, 03:36:04 am »
john Offline
Dev Team
Sr. Member
*
Posts: 458

View Profile Email

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, 2008, 03:39:56 pm »
mirjam Offline
Dev Team
Newbie
*
Posts: 33

View Profile

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, 2008, 03:51:27 pm »
schlogo Offline
Jr. Member
**
Posts: 54

View Profile Email

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, 2008, 05:06:15 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1411

View Profile

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, 2008, 03:50:43 am »
mirjam Offline
Dev Team
Newbie
*
Posts: 33

View Profile

Sorry, no I didn't. I'll PM you.
Logged
 
Reply #7
« on: August 14, 2008, 09:48:19 am »
schlogo Offline
Jr. Member
**
Posts: 54

View Profile Email

any progress with the sef problems on rsgallery 2.0 ? Huh
Logged
 
Print  Pages 1
« previous next »
Jump to: