PHP Classes

BUG {user notabs}

Recommend this page to a friend!

      PHP Classes blog  >  Site design contest i...  >  All threads  >  BUG {user notabs}  >  (Un) Subscribe thread alerts  
Subject:BUG {user notabs}
Summary:Edit theme file loose {user notabs}
Messages:7
Author:Tomasz Malewski
Date:2009-12-02 21:00:28
Update:2009-12-04 02:25:30
 

  1. BUG {user notabs}   Reply   Report abuse  
Picture of Tomasz Malewski Tomasz Malewski - 2009-12-02 21:02:30

There is some bug in edit theme file.
Every time after leave (to .css) and back to template string:
{user notabs}
changes into :
undefined

Also another parts gone in edit theme file like custom div style paramters:
background-color.

Plz fix it because is easy too lose result of job :(


  2. Re: BUG {user notabs}   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-12-02 21:06:34 - In reply to message 1 from Tomasz Malewski
I am not able to reproduce that problem. Can you tell me which browser type and version you are using?

Do you use the save and preview button before you leave the HTML editor?

If you do not save and just use the back to the files list button, nothing is changed.

  3. Re: BUG {user notabs}   Reply   Report abuse  
Picture of Tomasz Malewski Tomasz Malewski - 2009-12-03 01:49:03 - In reply to message 2 from Manuel Lemos
Dear Manuel,

1. Open Edit theme file
phpclasses.org/design.html?edit_fil ...

2. In visual mode i click "+" and choose
User account bar without tabs. So in HTML it change for this:
{user notabs}

3. I click "Save and Preview" ... waiting ... preview is updated code too so i click "Back to file list".

4. After that i see message:
"File editing was canceled." so i suspect that this is a reason of corrupting chang. If it was just "cancal" it should be leaved old page but.

5. Go again to edit Main page template and in place of {user ...} is only:
undefined


  4. Re: BUG {user notabs}   Reply   Report abuse  
Picture of Tomasz Malewski Tomasz Malewski - 2009-12-03 01:49:19 - In reply to message 2 from Manuel Lemos
And of course i use the best browser on the green planet - Firefox 3 ;)

  5. Re: BUG {user notabs}   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-12-03 02:34:41 - In reply to message 3 from Tomasz Malewski
I suspect that you are using an old version of the HTML editor Javascript class.

Can you please clear your browser cache and try doing it again?

  6. Re: BUG {user notabs}   Reply   Report abuse  
Picture of Tomasz Malewski Tomasz Malewski - 2009-12-03 22:26:07 - In reply to message 5 from Manuel Lemos
Dear Manuel,

I just checked it with stock IE 6.0 under XP SP3. And still this same problem:
"{user notabs}"
changed to "undefined" every time when user open "Edit theme file - Main page template" comes from
phpclasses.org/design.html "Design site themes ... Theme name ..." even "Save and preview" was clicked already before "Back to files list".

I also used "Reset to initial contents" and change {user notabs}:
[code]
<div style="margin-bottom: 8px;">
<div style="float: left;">{logo}</div>
<div style="float: right;">{companylogo}</div>
<div><h1 style="margin: 0px; text-align: center;">{title}</h1></div>
<div style="clear: both;"></div>
</div>
{ads}
{horizontalads}
{navigation}
{user notabs}
{recommendpage}
{body}
{endnavigation}
{endseparator}
{credits}
[/code]

And now it looks:
[code]
<div style="margin-bottom: 8px;">
<div style="float: left;">{logo}</div>
<div style="float: right;">{companylogo}</div>
<div><h1 style="margin: 0px; text-align: center;">{title}</h1></div>
<div style="clear: both;"></div>
</div>
{ads}
{horizontalads}
{navigation}
undefined
{recommendpage}
{body}
{endnavigation}
{endseparator}
{credits}
[/code]

  7. Re: BUG {user notabs}   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-12-04 02:25:30 - In reply to message 6 from Tomasz Malewski
Oh, it is during the loading of the editor.

I just fixed the bug. Just flush your browser cache and reload the editor.

Thank you for reporting.