Jump to content

Recommended Posts

Posted

I know this has been mentioned in a couple cases through the forum, so I wanted to open a formal request on this.

It would be great if Blesta used shorter/ prettier URLs. Some like /ticket/23 instead of /plugin/support_manager/23 (may be longer than even that).

It would be great if there was an easy way in the system settings somewhere to shorten these URLs and set custom values.

Posted

It's a nice idea and you can do it via routes, however for it to be standard it would take a lot of time to re-write some of the core and I believe personally it will conflict overall. Hopefully there's a way but I dowt it.

Posted

A URL is supposed to be a logical resource, which is how they're built in Blesta. It's sometimes nice to have sort URLs, but that usually requires removing information about a particular resource, making it less logical.

Logic aside, as-is, I think they are quite pretty. Much prettier than say, "cart.php?template=foo&package=12".

Posted

A URL is supposed to be a logical resource, which is how they're built in Blesta. It's sometimes nice to have sort URLs, but that usually requires removing information about a particular resource, making it less logical.

Logic aside, as-is, I think they are quite pretty. Much prettier than say, "cart.php?template=foo&package=12".

I agree with you. After posting this, I'm now beginning to rethink the entire idea.

Posted

Question for stuff , is the routes system can be overrided by other class ? if yes , the door is open to use plugins to ovveride the routes/urls without changing the core files .

 

No, because the route must be processed before any other code is executed. You could, of course, use a plugin to modify /config/routes.php when installed, though probably best to just give user instructions to do so.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...