Bookmark URI problem

0 views
Skip to first unread message

Florian

unread,
Jul 17, 2008, 9:53:57 AM7/17/08
to Steer CMS Developers
Hello,

I have noticed a problem with bookmark registration in backend :

this ticket relates the problem ( http://www.steercms-project.org/trac/steercms/ticket/24
).

I'm running symfony 1.0.17 and i haven't tested on older releases, but
I successfully corrected the problem

by replacing this code in apps/backend/templates/_bookmarks.php :

[code]
'url' => 'steerCMSBookmark/new?
location='.urlencode($_SERVER['REQUEST_URI'])
[/code]

with

[code]
'url' => 'steerCMSBookmark/new',
'with' => array(
'location' => urlencode($_SERVER['REQUEST_URI'])
),
[/code]


Hope it helps.


Florian.

Piers Warmers

unread,
Jul 20, 2008, 8:49:37 AM7/20/08
to steercms-...@googlegroups.com
Hi Florian,

Thanks for sending that through.

I applied the 'with' parameter and all is now fixed.


The only issue I had was setting 'with' as an array.

Setting it to this seemed to do the trick:

'with'     => "'location=" . urlencode($_SERVER['REQUEST_URI']) . "'",

Thanks for the help.

- Piers

Florian

unread,
Jul 21, 2008, 3:28:38 AM7/21/08
to Steer CMS Developers
I'm really happy to participate !

On 20 juil, 14:49, Piers Warmers <pi...@wranglers.com.au> wrote:
> Hi Florian,
>
> Thanks for sending that through.
>
> I applied the 'with' parameter and all is now fixed.
>
> http://www.steercms-project.org/trac/steercms/ticket/24#comment:1
>
> The only issue I had was setting 'with' as an array.
>
> Setting it to this seemed to do the trick:
>
> 'with'     => "'location=" . urlencode($_SERVER['REQUEST_URI']) . "'",
>
> Thanks for the help.
>
> - Piers
>
> On 17/07/2008, at 11:53 PM, Florian wrote:
>
>
>
> > Hello,
>
> > I have noticed a problem with bookmark registration in backend :
>
> > this ticket relates the problem (http://www.steercms-project.org/trac/steercms/ticket/24
Reply all
Reply to author
Forward
0 new messages