Jump to content

Recommended Posts

Posted

Doesn't your Admin Tools plugin allow modification of the nav? If the URL can't be external, couldn't the plugin perform a redirect?

 

The Portal plugin is intended to become a more feature rich CMS in time, and nav links to external resources would almost certainly be part of that.

Posted
  On 8/19/2015 at 5:30 PM, Paul said:

Doesn't your Admin Tools plugin allow modification of the nav? If the URL can't be external, couldn't the plugin perform a redirect?

 

The Portal plugin is intended to become a more feature rich CMS in time, and nav links to external resources would almost certainly be part of that.

 

the admin tools plugins allow modification , and it work as it should be , the probleme come from the navigation link that add the base_uri for every link .

so if we put http://www.blesta.com in link , in the client dashboard it become

http://your_blesta_domain.com/blesta_path/clien/thttp://www.blesta.com
Posted
  On 8/19/2015 at 8:03 PM, activa said:

 

the admin tools plugins allow modification , and it work as it should be , the probleme come from the navigation link that add the base_uri for every link .

so if we put http://www.blesta.com in link , in the client dashboard it become

http://your_blesta_domain.com/blesta_path/clien/thttp://www.blesta.com

 

If the plugin were modified to take that path, have it touch the plugin, and the plugin perform a redirect, that would work wouldn't it?

 

So instead, the link might look like http://your_blesta_domain.com/blesta_path/client/plugin/yourplugin?url=http://www.blesta.com

 

And, the URL is passed in as say a get parameter, and the plugin validates that it's a legitimate nav link and performs a redirect.

Posted
  On 8/19/2015 at 8:10 PM, Paul said:

If the plugin were modified to take that path, have it touch the plugin, and the plugin perform a redirect, that would work wouldn't it?

 

So instead, the link might look like http://your_blesta_domain.com/blesta_path/client/plugin/yourplugin?url=http://www.blesta.com

 

And, the URL is passed in as say a get parameter, and the plugin validates that it's a legitimate nav link and performs a redirect.

 

i have though about this idea when i have discovered that problem . but it need a regex when saving url in database to see if the link is internal or external .

 

if the navigation model will not updated soon i will add that function in the next release . but it will take some time until the next release .

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...