I did a slight bit of reworking of the buttons code in the last
release because it did produce some wrong output in certain
situations. Specifically the jump drop down menu. I suspect this may
have been the culprit, though I'm not sure.  At any rate, I have since
reworked the code a bit more and it seems to be working fine for me.
Let me know if it still doesn't work in 3.3.9 when it comes out.

What language file are you using? Are you using a local action.edit
page? Can anyone else can confirm this (that is, in the upcoming
3.3.9)?

Cheers,
Dan


On Sat, Mar 6, 2010 at 8:46 AM, Phoenix Wu <[email protected]> wrote:
> This bug is confirmed in v3.3.8  :(
> Preview function worked fine in v3.3.7, but after I upgraded to the
> latest version and I have the exactly the same problem here.
> It is no use even in a clean install of v3.3.8(without any
> translation).
>
> And I noticed the release note of v3.3.8:
> Patched a bug causing slashes to be dropped. This fix may cause
> possible problems in page displays. Please help with the testing and
> report any bugs.
>
> Maybe that's the reason.
>
>
> On Nov 19 2008, 6:55 am, "The Editor" <[email protected]> wrote:
>> Not sure exactly what is happening. Did just a little bit of testing,
>> and it seems perhaps it is caused by the fact you don't have the "set"
>> variable translated in the Spanish one. You have it set to blank.
>>
>> Try setting that to something and see if it doesn't fix things. Or try
>> deleting the entry, or something. I tried the italian translation and
>> thepreviewoption works fine.  If you can help me to reproduce the
>> error I can more easily debug it.
>>
>> Cheers,
>> Dan
>>
>>
>>
>> On Fri, Nov 14, 2008 at 2:28 PM, alinome.net <[email protected]> wrote:
>>
>> > Hi Dan, another interesting bug.
>>
>> > For a long time, thepreviewbutton of action.edit didn't work for me:
>> > it did the same than the save button. I keep a "clean" site, with no
>> > config changes, as a reference: it had no problem. But thepreview
>> > button of all my own sites didn't work. So I thought the cause was
>> > something wrong in my farm wide config.php.
>>
>> > Some days ago I explored carefully the action.edit's code and
>> > discovered the problem has to do with translations: when the button is
>> > translated, the condition to show thepreviewdoesn't work. I forgot
>> > the issue but today I had the same problem while editing the docs at
>> > boltwire.com with the Spanish translation activated.
>>
>> > Here you are an action.edit I'm using in one site. It is all hardcode
>> > translated into Spanish, what solved the problem, but I don't remember
>> > if I changed something more. I think it will be easy for you to see
>> > where the problem is in the original code, comparing it with mine
>> > (title markups are Creole's; and "vista preliminar" means "preview").
>>
>> > ---------------------------------------------------------------------------
>> >  ----------------------
>> > [if exists {p} && auth write]== {action.edit:title}
>>
>> > [if* set {?boltkey} && ! equal {p} action.edit]
>> > <div class="vistapreliminar">
>> > <p class="vistapreliminar">Vista preliminar de los cambios</p>
>> > [(previewboltcontent)]
>> > </div>
>> > [if*]
>>
>> > ===Formulario de edición
>>
>> > Aquí puedes modificar la página **{p}** (cuyo título es **{title}**):
>>
>> > [form]
>> > [box boltcontent cols={site.config::columnasDeContenido} rows=
>> > {site.config::filasDeContenido} gui=true][(source {p}
>> > replacetable=true post=boltcontent)][box]
>> > [if* ! equal {p} action.edit][submit name=boltsubmit[] value="Vista
>> > preliminar"][if*]
>> > [submit name=boltsubmit[] value="Guardar los cambios"]
>> > [if* ! equal {p} action.edit][session if "equal '{=boltsubmit}' 'Vista
>> > preliminar' ? warn=Modo de vista preliminar."][if*]
>> > [session warn]
>> > [session boltstamp {p}]
>> > [session author {member}]
>> > [session changesummary "Página modificada por {=author}."]
>> > [session boltsavedata author,changesummary]
>> > [session boltedit '{=boltcontent}']
>> > [form][if]
>> > [if ! exists {p}]<(forward {p}&action=missing)>[if]
>> > [if ! auth write][(include action.blocked)][if]
>> > ---------------------------------------------------------------------------
>> >  ----------------------
>>
>> > Buy the way, you see, I use some site.config variables to config the
>> > size of all admin and action forms. It's a simple idea I find useful.
>> > That helps usability a lot after changing the skin or the screen size.
>>
>> > Cheers,
>> > Marcos
>>
>> > --
>> >http://alinome.net
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to