A widget in SideBarOther shows up on the main article listing page, but when I select an article, the widget isn’t there. There are two items in SideBarOther, only one of them has this problem, the second one, below. If I remove the first one, the second one still shows up on the listing page, and still doesn’t show up on the article pages. I’m using an unmodified “News Magazine Theme 640” theme.
Here’s the code for the two items:
<a href="http://www.facebook.com/pages/[our-page]/[our number]" title="[our name]" target="_blank"><img src="../pics/fbook_button.jpg" boder="0" alt="[our name]"></a> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pages/[our name]/[our number]" layout="box_count" show_faces="false" width="50"></fb:like>
I’m guessing the first one doesn’t work?
is probably your problem
a relative link will change depending if you are on the home page or not
Use full link, or php call
The first one works on all pages (goes to our facebook page). The second one (<script src=…” – the Facebook Like button) only shows up on the articles listing page, but does not appear any more when you select an article.
I “viewed page source” in Firefox, and THE CODE IS THERE on the article page, and it’s IDENTICAL to the listing page. So why isn’t it displayed??? I tried the Opera browser, same results. I added another copy of the first widget, and two of them appear on the listing page, and also on the article page – the box automatically adjusted to accommodate them.
- The topic ‘Sidebar widget doesn't appear on all pages’ is closed to new replies.