In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
150 [In-Portal CMS] Optimization feature request N/A 2009-07-28 03:58 2010-07-22 15:06
alex  
!COMMUNITY  
normal  
closed 5.0.0  
fixed  
 
none 5.1.0-B1  
0
0000150: External url support when building urls
Currently we have special "external:" keyword witch can be used in "kApplication::Redirect" method only. When target template name for that method is prefixed with that keyword, then it's assumed, that full url to other website is given and redirect should made to it ("external:http://other-web-site.com/some_page.html").

I propose to move such keyword processing directly to "kApplication::HREF" method, which is called later from "kApplication::Redirect" method. This will allow us to build links to other sites using "m_Link" tag and in particular will help to simplify code of "st_CachedMenu" tag.
Issue History
2010-07-22 15:06 alex Note Added: 0002555
2010-07-22 15:06 alex Status resolved => closed
2010-04-27 05:22 alex Status reviewed and tested => resolved
2010-04-27 05:22 alex Fixed in Version => 5.1.0-B1
2010-04-27 05:22 alex Resolution open => fixed
2010-04-25 20:12 Dmitry Note Added: 0001944
2010-04-25 20:12 Dmitry Status needs testing => reviewed and tested
2010-03-10 05:39 alex Time Estimate Removed 1 =>
2010-03-10 05:39 alex Note Added: 0001536
2010-03-10 05:39 alex Assigned To alex => !COMMUNITY
2010-03-10 05:39 alex Developer => alex
2010-03-10 05:39 alex Status needs work => needs testing
2010-03-10 05:37 alex Note Edited: 0000207 bug_revision_view_page.php?bugnote_id=0000207#r399
2010-01-12 11:30 alex Time Estimate Added 1
2010-01-12 11:30 alex Status active => needs work
2009-10-03 07:54 administrator Status reviewed and tested => active
2009-09-20 15:18 alex Type bug report => feature request
2009-09-20 15:18 alex Reproducibility always => N/A
2009-07-31 15:33 Dmitry Note Added: 0000207
2009-07-31 15:33 Dmitry Assigned To => alex
2009-07-31 15:33 Dmitry Status active => reviewed and tested
2009-07-28 03:59 alex Target Version => 5.1.0
2009-07-28 03:58 alex New Issue

Notes
(0000207)
Dmitry   
2009-07-31 15:33   
(edited on: 2010-03-10 05:37)
Once completed this needs to be thoroughly tested in multiple places - changes affect kApplication::HREF

(0001536)
alex   
2010-03-10 05:39   
This was done already in task about "st_CachedMenu" task refactoring. It's pretty obvious how to test:

set next_template to login operation to "external:your_absolute_url" to see, that after login redirect is made to your url and not template with same name. Also this should work for menu items with external urls.
(0001944)
Dmitry   
2010-04-25 20:12   
Tested good!
(0002555)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.