SnippetMaster Support Forums
Return to main website
 
April 17, 2009, 03:53:43 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 17, 2009, 03:53:43 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: [SM Pro 2.2.2] SM Produces Incorrect URL Paths « previous next »
Pages: [1] Print
Author Topic: [SM Pro 2.2.2] SM Produces Incorrect URL Paths  (Read 504 times)
ChrisRM

Posts: 2


[-] [SM Pro 2.2.2] SM Produces Incorrect URL Paths
« on: October 01, 2008, 02:10:52 PM »

I have a regular user account whose Starting Folder is a subfolder from the site root. When that user logs in the Current Folder specifies the site root, not Starting Folder. In the Starting Folder there is 1 snippet to which this user has access to. When editing this snippet and inserting/editing a link, the hrefbrowser displays. It properly displays the content of the specified Starting Folder (though folders are not alphabetized properly), but when you select a file to link to it does NOT account for the starting sub folder the user is assigned. The link is in the form: http://www.mysiteroot.com/selectedFile.html, but should be http://www.mysiteroot.com/(starting folder path)/selectedFile.html.

Thanks.
Report to moderator   Logged
ChrisRM

Posts: 2


[-] Re: [SM Pro 2.2.2] SM Produces Incorrect URL Paths
« Reply #1 on: October 01, 2008, 03:25:23 PM »

Well, this was overlooked by me. The Starting Folder was set but the Starting URL was not and left at the site root. Maybe a suggestion would be to have the Site URL automatically fill out if you add a sub-folder to the Starting Folder.
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2560

SnippetMaster Author


WWW
[-] Re: [SM Pro 2.2.2] SM Produces Incorrect URL Paths
« Reply #2 on: October 02, 2008, 09:49:22 AM »

This is a good suggestion.  I am actually working on a way to not require the starting folder at all, as it's a bit confusing for folks who don't know anything about "paths" and stuff like that.

It is much easier to just enter the URL and have the path automatically "figured out". 

(However, this is a bit of a programming nightmare, so it's more difficult then I expected... but I will get this done eventually.)

Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: [SM Pro 2.2.2] SM Produces Incorrect URL Paths « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!