Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Text Widget keeps dissapearing...


  #1  
Old Aug 17, 2009, 01:11 AM
russab
 
6 posts · Aug 2009
Sorry if this is a stupid Q..

I added several text widgets containgin html code (eg. the Google adsense code) to the left and right sidebar and all was well...then suddenly they all dissapear not only from the site bit even from the widget editor within the admin function .... having reinstated them all labriously several times I feel like I am going mad...

Any ideas what is happening?


Also are you meant to enclose any html code you put in these text widgets within <html> </html> or something likie that?
  #2  
Old Aug 17, 2009, 08:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of WP and Atahualpa?
What is the URL?
Have you checked your site's error.log for any errors?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 17, 2009, 11:12 AM
russab
 
6 posts · Aug 2009
I am using
WP 2.8.4
Atahualpa 3.4.1

URL = www.altendorff.co.uk

I have got widgets loaded - again - and running - but I am hesitant to add another because it is at this point that they all dissapear...

I have 5 text widgets in the right sidebar - is there a limit ?

Many thanks
  #4  
Old Aug 17, 2009, 04:08 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
No, the only limit is the page size.
Try adding the textwidget in with just some text ie no code or html. Does it showup?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Aug 19, 2009, 03:16 AM
russab
 
6 posts · Aug 2009
If I add a normal text widget (no code) all is fine.

Also as you can see at www.altendorff.co.uk I have 7 text widgets containgin code working fine.

The effect of deleting all text widgets on both sidebars - while leaving all other widgets working and the site itself working in all other respects can be created by adding the following code in a text widget.

----------------------------
<html>
<!-- Begin - Language -->

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cfr&amp;hl=en&amp;ie=UT F8" title="Français" rel="alternate">Français</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Ces&amp;hl=en&amp;ie=UT F8" title="Español" rel="alternate">Español</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cit&amp;hl=en&amp;ie=UT F8" title="Italiano" rel="alternate">Italiano</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cde&amp;hl=en&amp;ie=UT F8" title="Deutsch" rel="alternate">Deutsch</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cja&amp;hl=en&amp;ie=UT F8" title="日本語" rel="alternate">日本語</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Ccn&amp;hl=en&amp;ie=UT F8" title="简体��文" rel="alternate">简体中文</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cru&amp;hl=en&amp;ie=UT F8" title="Российская" rel="alternate">Российская</a>

<li>
<a target="_blank" title="Mitch Ratcliffe" href="http://blogs.zdnet.com/Ratcliffe/?p=223">
Engarble!?</a>
</li>
</html>
---------------------------------


Can you divine why this is happening?


I have a feeling I am heading for the idiot of the day award :-)
  #6  
Old Aug 19, 2009, 03:48 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
First off, remove the <html> </html> from each of the textwidgers. there should only be one <html> </html> in a document, you are only adding an HTML snippet to the text widget, not a whole page.

Second, your latest code is mostly <a.....>'s but then you throw in a <li> at the end, BUT this is not in a list! You need to ad an <ul> or <ol> arrount the <li>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Aug 20, 2009, 12:36 PM
russab
 
6 posts · Aug 2009
Oops quite right

I have removed <html> and </html> from all text widgets
I have added <ul> </ul> around bullet point list.

I then added the text widget code shown above *without the <html> etc) and voila

...all text widgets are deleted as if by magic....:-(
  #8  
Old Aug 20, 2009, 04:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
noticing that that code contains several foreign languages, what happens if you put this code in and remove one of the other text widgets. Does it work or not?

I wonder if some of the foreign characters is causing the problem. You could you try adding one or two lines and don't use any 'odd' characters and see what happens.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Aug 21, 2009, 11:16 AM
russab
 
6 posts · Aug 2009
Hello J

I have done as you suggested and taken out the Japanese etc characters...now look at the top of my right hand sidebar - it works! www.altendorff.co.uk

So, it is something to do with the special foreign characters...this is odd because I used this exact code on my blog with a previous theme and it worked fine for years...this behaviour has only started to happen with the Atahualpa theme...

Its not the end of the world....I can leave out the other translations...but it is a mystery n'est ce pas?

R
  #10  
Old Aug 21, 2009, 01:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you have an <li> with out the <ol> or <ul> again
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Aug 22, 2009, 01:56 AM
russab
 
6 posts · Aug 2009
Yep, your right:-(

Text widget that works is:
==========================================
<!-- Begin - Language -->

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cfr&amp;hl=en&amp;ie=UT F8" title="Français" rel="alternate">Français</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Ces&amp;hl=en&amp;ie=UT F8" title="Español" rel="alternate">Español</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cit&amp;hl=en&amp;ie=UT F8" title="Italiano" rel="alternate">Italiano</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cde&amp;hl=en&amp;ie=UT F8" title="Deutsch" rel="alternate">Deutsch</a>

<ul><li>
<a target="_blank" title="Mitch Ratcliffe" href="http://blogs.zdnet.com/Ratcliffe/?p=223">
Engarble!?</a>
</li></ul>
==========================================

But by adding the following all text widgets get deleted :

==========================================

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Ccn&amp;hl=en&amp;ie=UT F8" title="简体��文" rel="alternate">简体中文</a>

<a href="http://www.google.com/translate?u=http%3A%2F%2Fwww.altendorff.co.uk/index.php&amp;langpair=en%7Cru&amp;hl=en&amp;ie=UT F8" title="Российская" rel="alternate">Российская</a>

==========================================

Anyway, I am leaving it at that because I simple cant keep re-inserting 15 widgets... I need to actually spend time on content now :-)

Thank you very much for helping and guiding - I will be a donor:-)

Russab

Bookmarks

Tags
widgets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Text Widget - how can I highlight all text (ctl-A) for a fast delete? Leoni Plugins & Atahualpa 5 Jul 14, 2009 07:38 PM
Text Widget error gina31 Sidebars & Widgets 3 May 12, 2009 02:21 PM
Changing a widget display from block to inline (Twitter Text Widget) Flur Sidebars & Widgets 2 May 7, 2009 11:45 AM
text widget error LyndaM Sidebars & Widgets 1 May 6, 2009 09:09 AM
Editing Text within a Text Widget Nefeli Sidebars & Widgets 4 Mar 27, 2009 06:56 PM


All times are GMT -6. The time now is 07:08 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.