In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
672 [In-Portal CMS] Template System feature request always 2010-03-28 19:03 2010-07-22 15:06
Dmitry  
alex  
normal  
closed  
fixed  
 
none 5.1.0-B1  
http://groups.google.com/group/in-portal-dev/browse_thread/thread/ea02c3610a0fd3c1
Added new "m_Redirect" tag
0
0000672: Create new m_Redirect tag
Create new <inp2:m_Redirect template="" pass="" [params]/> which would perform PHP redirect build end URL by passing all parameters to m_Link tag.

Tag will be useful in themes when need to redirect.
child of 0000626closed  (5.0.3)alex Current "Content Mode" is lost during language switching (when mod-rewrite is on) 
patch Redirect_tag-Dmitry-20100328-v1.patch (1,424) 2010-03-28 19:03
http://tracker.in-portal.org/file_download.php?file_id=422&type=bug
patch redirect_tag_v2.patch (850) 2010-05-12 07:26
http://tracker.in-portal.org/file_download.php?file_id=538&type=bug
Issue History
2010-07-22 15:06 alex Note Added: 0002530
2010-07-22 15:06 alex Status resolved => closed
2010-05-14 14:12 alex Note Added: 0002202
2010-05-14 14:12 alex Status reviewed and tested => resolved
2010-05-14 14:12 alex Fixed in Version => 5.1.0-B1
2010-05-14 14:12 alex Resolution open => fixed
2010-05-14 14:12 alex Assigned To !COMMUNITY => alex
2010-05-14 14:12 alex Changeset attached 5.1.x r13562
2010-05-12 10:45 Dmitry Note Added: 0002200
2010-05-12 10:45 Dmitry Status needs testing => reviewed and tested
2010-05-12 07:27 alex Assigned To alex => !COMMUNITY
2010-05-12 07:27 alex Developer Dmitry => alex
2010-05-12 07:27 alex Status needs feedback => needs testing
2010-05-12 07:26 alex File Added: redirect_tag_v2.patch
2010-04-28 11:02 alex Note Added: 0002025
2010-04-27 23:20 Dmitry Note Added: 0001999
2010-04-27 23:20 Dmitry Status needs testing => needs feedback
2010-04-27 16:42 Dmitry Change Log Message => Added new "m_Redirect" tag
2010-04-27 16:42 Dmitry Note Added: 0001990
2010-04-27 16:42 Dmitry Assigned To !COMMUNITY => alex
2010-04-27 16:42 Dmitry Status needs work => needs testing
2010-04-04 23:30 Dmitry Note Added: 0001796
2010-04-04 23:30 Dmitry Relationship added child of 0000626
2010-03-30 23:22 Dmitry Status needs testing => needs work
2010-03-28 19:04 Dmitry Note Added: 0001755
2010-03-28 19:04 Dmitry Assigned To => !COMMUNITY
2010-03-28 19:04 Dmitry Developer => Dmitry
2010-03-28 19:04 Dmitry Status active => needs testing
2010-03-28 19:03 Dmitry New Issue
2010-03-28 19:03 Dmitry File Added: Redirect_tag-Dmitry-20100328-v1.patch
2010-03-28 19:03 Dmitry Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/ea02c3610a0fd3c1

Notes
(0001755)
Dmitry   
2010-03-28 19:04   
Test scenario:

1. <inp2:m_Redirect template="external:http://www.google.com?_test=1" /> - external redirect

2. <inp2:m_Redirect template="my-account/login/user-registration" /> - "User Registration" virtual section

3. <inp2:m_Redirect template="platform/login/register" /> - "User Registration" physical template

4. <inp2:m_Redirect template="__default__" pass="m" m_cat_id="20"/> - "User Registration" virtual section by ID
(0001796)
Dmitry   
2010-04-04 23:30   
New tag should be created once this patch "unification_of_mLink_and_mT_tags.patch" is applied from the task 0000626
(0001990)
Dmitry   
2010-04-27 16:42   
Please test
(0001999)
Dmitry   
2010-04-27 23:20   
Please test and commit or wait for 5.0.3 merge?
(0002025)
alex   
2010-04-28 11:02   
We will wait with this task implementing, since required 0000626 task will only be available in 5.0.3 release.

Once 5.0.3 release is available, then I will merge it to 5.1.x and create new patch that will include:

1. copy of m_Link tag named m_Redirect
2. body of tag will call Redirect method instead of HREF method
(0002200)
Dmitry   
2010-05-12 10:45   
Patch tested good.
(0002202)
alex   
2010-05-14 14:12   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000672: Create new m_Redirect tag
(0002530)
alex   
2010-07-22 15:06   
Closing, since 5.1.0 release has been released.