[ic] UI menu_editor

Josh Lavin josh at perusion.com
Thu May 1 16:06:26 UTC 2014


Quoting EA3KZ Salvador Caballé (scaballe at gmail.com):
> El 01/05/14 00:27, Josh Lavin ha escrit:
> >Quoting EA3KZ Salvador Caballé (scaballe at gmail.com):
> >>El 30/04/14 22:47, Josh Lavin ha escrit:
> >>>Quoting Salvador Caballe (scaballe at gmail.com):
> >>>>In IC version 5.8.1, the UI menu_editor, not update correctly the
> >>>>'TREE' table the '&' char is changed with '%26' when "publish" and
> >>>>then search links not longer work.
> >>>
> >>>Can you explain in which field you are trying to insert the ampersand
> >>>character? Is it in the "Page" field or are you inserting your CGI
> >>>params into the "Form values" field?
> >>>
> >>>It's not gonna work if you put it in the Page field... That's what "Form
> >>>values" is for:
> >>>
> >>>	Page: mypage
> >>>	Form values:
> >>>		foo=bar
> >>>		buz=baz
> >>>
> >>>Yields: mypage.html?foo=bar&buz=baz
> >>>
> >>
> >>Josh,
> >>
> >>The problem is in  the form field:
> >>
> >>example:
> >>
> >>fi=products&st=db&sp=results&co=1&sf=category&se=Hammer&op=rm&nu=0&ml=25&tf=price&to=nr
> >>
> >>is saved as:
> >>
> >>fi=products%26st=db%26sp=results%26co=1%26sf=category%26se=Hammer%26op=rm%26nu=0%26ml=25%26tf=price%26to=nr
> >
> >Instead of putting them all on one line, separated with ampersands, put
> >each name=value pair on separate lines:
> >
> >	fi=products
> >	st=db
> 
> The result is worse
> 
> is saved as:
> 
> fi=products[either]&[or]&[/either]st=db[either]&[or]&[/either]sp=results[either]&[or]&[/either]co=1[either]&[or]&[/either]sf=category[either]&[or]&[/either]se=Hammer[either]&[or]&[/either]op=rm[either]&[or]&[/either]nu=0[either]&[or]&[/either]ml=25[either]&[or]&[/either]tf=price[either]&[or]&[/either]to=nr

That's because you didn't get rid of the &.

It must look like:

fi=products
st=db

-- 
Josh Lavin
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
... ask me about job opportunities ...



More information about the interchange-users mailing list