demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

Moving pages in CMS navigation fails #1706

Open demianturner opened 11 years ago

demianturner commented 11 years ago

You cannot use the arrows in CMS -> Manage Navigation as the url is misconstructed. It says http://localhost/cms/page/action/reorder/frmPageId/23/targetId/images%5BmoveUpTarget%5D/move/up/ where instead of the "images%5BmoveUpTarget%5D" an integer of the next/previous position should be.

PS: There is no "Component" "module - cms", yet.

demianturner commented 11 years ago

[petert] It seems that makeUrl() does not work properly when used in conjunction with Horde_Routes. Same problem in the Navigation module with: {{{ {makeUrl(#reorder#,#section#,#navigation#,results,#frmSectionId|section_id||targetId|images[moveUpTarget]||move|up#,key)} }}} in the admin_sectionList.html template.

Workaround:

Copy template to /themes/default_admin/ and change to: {{{ {makeUrl(#reorder#,#section#,#navigation#)}frmSectionId/{section[section_id]}/targetId/{section[images][moveDownTarget]}/move/down/{key} }}}

(same for moveUp)