[ic] UI menu_editor

Josh Lavin josh at perusion.com
Wed Apr 30 22:27:47 UTC 2014


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

and so on.

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



More information about the interchange-users mailing list