I see this page http://forums.hotarucms.org/showthre...nother-Sidebar to position text widge in index but the text widget is not visible.
I would put the adsense code in home (between post) and in internal post page, how can I do?
Thanks a lot![]()
I see this page http://forums.hotarucms.org/showthre...nother-Sidebar to position text widge in index but the text widget is not visible.
I would put the adsense code in home (between post) and in internal post page, how can I do?
Thanks a lot![]()
That post is old. Here's the latest: http://docs.hotarucms.org/How_to_Add_Another_Sidebar
Search the Forums | Read the Documentation
Ok,
i have seen new link.
I created the adsense.php page with my code adsense and i have put in index.phpBut i I would like to insert directly the content of text_widget 0.6, how can I do?<?php $h->displayTemplate('adsense'); ?>
Thanks a lot
Make a text widget, select the PHP box and paste $h->displayTemplate('adsense'); into it. Then paste this wherever you want your second widget block:
Finally, in Admin -> Widgets, move your new text widget to the very bottom, and down once more so it pops off into your second widget block.PHP Code:<?php $h->pluginHook('widget_block', '', array(2)); ?>
Now it should show up wherever you pasted the above code.
Search the Forums | Read the Documentation
Yes,
or insert this code:
in favourite position of php page, am I right?Code:<?php Widgets::singleWidget($h, "text_widget_1"); ?>
Another question for this:
is it possible to put a variable in text_widget_1 (for example text_widget[$id]) to don't edit manually the code to insert adsense?
Thanks a lot
I wonder why I'm unable to add a second text widget. When I click "Add a new widget" on the Text Widget admin page, it says "Widget added" but I don't see the second widget at all.
Funnily, when I click "Widgets" on the main admin page, it show Text widget 2 and Text widget 3 (and turned On), which I believe implies that the 2nd and 3rd widgets have been added. But when I go to the "Text Widget" admin page I can only see the first text widget.
Cleared the cache and tried the following too, but no luck
EDIT: List of installed plugins
1. bookmarking v.0.5 (0.0) [enabled]
2. user_signin v.0.7 (0.0) [enabled]
3. users v.2.2 (0.0) [enabled]
4. submit v.3.2 (0.0) [enabled]
5. comments v.2.6 (0.0) [enabled]
6. category_manager v.1.0 (0.0) [enabled]
7. categories v.1.9 (0.0) [enabled]
8. search v.1.3 (0.0) [enabled]
9. tags v.1.8 (0.0) [enabled]
10. vote v.2.3 (0.0) [enabled]
11. post_manager v.1.0 (0.0) [enabled]
12. user_manager v.1.2 (0.0) [enabled]
13. comment_manager v.0.6 (0.0) [enabled]
14. activity v.1.1 (0.0) [enabled]
15. archive v.0.2 (0.0) [enabled]
16. comment_voting v.0.2 (0.0) [enabled]
17. comments_widget v.0.4 (0.0) [enabled]
18. contact_us v.0.3 (0.0) [enabled]
19. cron v.0.4 (0.0) [enabled]
20. facebook_open_graph v.0.5 (0.0) [enabled]
21. gravatar v.1.0 (0.0) [enabled]
22. journal v.0.6 (0.0) [enabled]
23. messaging v.0.7 (0.0) [enabled]
24. post_rss v.0.1 (0.0) [enabled]
25. post_views v.0.2 (0.0) [enabled]
26. posts_widget v.1.6 (0.0) [enabled]
27. save_post v.0.7 (0.0) [enabled]
28. smilies v.0.3 (0.0) [enabled]
29. stop_spam v.0.4 (0.0) [enabled]
30. post_views_widget v.0.1 (0.0) [enabled]
31. who_voted v.0.2 (0.0) [enabled]
32. whos_online v.0.2 (0.0) [enabled]
33. ckeditor v.0.1 (0.0) [enabled]
34. twitter_widget v.0.3 (0.0) [enabled]
35. post_images v.1.0 (0.0) [enabled]
36. facebook_share v.0.3 (0.0) [enabled]
37. tweet_this v.0.5 (0.0) [enabled]
38. mobile v.0.3 (0.0) [disabled]
39. ego_squasher v.0.2 (0.0) [enabled]
40. autocomplete v.0.3 (0.0) [enabled]
41. user_rankings v.0.2 (0.0) [enabled]
42. text_widget v.0.5 (0.0) [enabled]
43. widgets v.1.0 (0.0) [enabled]
Last edited by nothingman; 12-08-2010 at 07:17 AM.
*bump*...anyone?![]()
Last edited by Nick; 12-15-2010 at 11:41 AM. Reason: Removed unnecessary quote
What should i change in the code in order to make this plugin nest all the created text widgets under the same widget body? Currently it is like:
While i want it to be all in the same widget :HTML Code:<div class="widget"> <div class="widget_body" id="text_widget_1_body"></div> </div> <div class="widget"> <div class="widget_body" id="text_widget_2_body"></div> </div> <div class="widget"> <div class="widget_body" id="text_widget_3_body"></div> </div>
Thanks in advance!HTML Code:<div class="widget"> <div class="widget_body" id="text_widget_1_body"></div> <div class="widget_body" id="text_widget_2_body"></div> <div class="widget_body" id="text_widget_3_body"></div> </div>
EntrePlus - A community for entrepreneurs and business owners who want to network and stay updated with a summary of the latest news and tips from the business world.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks