Recent Topics

1 May 27, 2014 16:00    

I am using version 5.0.8. I have a blog set up and it had a bunch of widgets. I left the site for an hour or so to discover one of the widgets didn't seem to be appearing on the page. I check in the backend and the widget is still there (Free HTML), but the title and its contents have disappeared. I added a new widget, the info gets deleted as soon as it saves. The odd thing is that the info is contained in MySQL, it's just not showing up in b2evo backend or on the frontend... and it's not happening for any other widgets on that page or any other pages set up on b2evo. Deleting the cache doesn't help. Copying a widget using the Widget Manager plugin doesn't help...

On testing, I can create widgets fine on other pages, and even in other widget containers for that page. Just not that specific container on that specific page.

Anyone have any idea how to fix this?

Thanks!

2 May 27, 2014 16:28

Can you post the code the widget is inserting?

Did you "View source code" of the rendered page and see if perhaps it's breaking a div or something like that? Firefox is good with source code view.. missing tags or extra tags will show up in bold red. (Maybe chrome does this also)

jj.

3 May 27, 2014 16:48

Hmm... that is weird. I had manually added the code to the template files instead of the widget, and noticed that there was a question mark appearing from somewhere (quite literally couldn't even see it on the page, it was where a dash was and the font I was using shows dashes as dashes, not question marks). I managed to delete the extraneous question mark by retyping the text... then when I saw your post it occurred to me to try again with the widget but this time make sure I used the non-question-mark version ... and now the whole thing saves properly.

I have no idea what's going on as this widget had been in place for months and hadn't changed once since. I even copied the code into Notepad before adding it to the template file.

This is the code (your basic testimonial):
<div>"Text removed for client's privacy - Text removed for client's privacy."<br /><br />- Text removed for client's privacy, Text removed for client's privacy</div>

And yes, viewing source showed that the widget was not working as none of the inserted code was appearing. I honestly have no idea what happened...


Form is loading...