davron 0 Report post Posted August 22, 2012 I've created three custom sidebars. All three are visible in the Pagelines "drag & drop" dashboard but not visible in the widgets area. Also, when viewing a page, the un-populated custom sidebar is visible but with the message "ADD WIDGETS(CUSTOM1) This is your Cusom1 Sidebar but it needs some widgets! Easy! Just add some content to it in your widgets panel." But when I click the link to populate, they aren't there in the widget are as described above. Anyone else having this issue? I've using WordPress 3.4.1 and Frameworks 2.2.5 P.S. I also deactivate all the plugins to see if there was a conflict but that didn't solve the issue. Share this post Link to post Share on other sites
Rob 547 Report post Posted August 22, 2012 Well, I think creating sidebars is really more a WordPress function than thematic. Have you checked at WordPress.org to see what they discuss on this? Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites
davron 0 Report post Posted August 22, 2012 I'm referring to duplicating the primary sidebar section (sb_primary). Was able to do this without an issue in previous versions of framework without issue. Share this post Link to post Share on other sites
Danny+ 1,327 Report post Posted August 22, 2012 Hi Davron, Can you add the code you have used to http://paste.pagelines.com please so we can take a closer look. Please search our forums, before posting! Share this post Link to post Share on other sites
davron 0 Report post Posted August 22, 2012 I just duplicated the sb_primary folder from within the sections folder of the pagelines theme, changed the duplicated folder name to "sb_custom1" and then changed all references of "Primary" to "Custom1" in the section.php file: <?php /* Section: Custom1 Sidebar Author: PageLines Author URI: http://www.pagelines.com Description: A 3rd widgetized sidebar for the theme that can be used in standard sidebar templates. Class Name: Custom1Sidebar Workswith: sidebar1, sidebar2, sidebar_wrap Persistant: true */ /** * Custom1 Sidebar Section * * @package PageLines Framework * @author PageLines */ class Custom1Sidebar extends PageLinesSection { /** * Section template. */ function section_template() { pagelines_draw_sidebar($this->id, $this->name); } } Share this post Link to post Share on other sites
zephyr11+ 2 Report post Posted August 22, 2012 I just added two custom sidebars also and am experiencing the exact same issue as davron. No widgets are showing. I'm using Base child theme. Share this post Link to post Share on other sites
catrina 103 Report post Posted August 23, 2012 @zephyr Have you also tried deactivating your active plugins? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
davron 0 Report post Posted August 24, 2012 Is anyone else having this issue with custom sidebars not showing up in the widget dashboard? Share this post Link to post Share on other sites
Simon 248 Report post Posted August 24, 2012 Your code will not work, you have not registered a sidebar. http://codex.wordpress.org/Function_Reference/register_sidebar Share this post Link to post Share on other sites
davron 0 Report post Posted August 24, 2012 Is this a new requirement for Pagelines 2.2.5? I've made custom sidebars (custom sections) in previous versions of Pagelines Framework without issue. I wonder if the problem is that I am not using the Base theme. If I activate the Base theme will all my custom CSS entered using the Pagelines Customize plugin be lost? Share this post Link to post Share on other sites
Rob 547 Report post Posted August 25, 2012 Davron, You may simply not recall registering the sidebars in previous iterations. However, that's not new with 2.2.5. It has been the basis for every theme, platform and framework. Just as I said earlier, this answer was to be found at WordPress.org. Since the PageLines Customize plugin provides its content to the Framework, and that's the basis for the child Base Theme, your customizations will carry over. The same will apply to CSS set in Custom Code > CSS Rules. Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites
davron 0 Report post Posted August 25, 2012 I can see that i would have to register a sidebar if i was wanting to create a third sidebar ie SB3, but if i wanted to make a duplicate of the tertiary sidebar or the universal sidebar and rename it custom1 (as per the code i pasted earlier) would i still need to register it? And if so, how and where would i need to add code. Share this post Link to post Share on other sites
Simon 248 Report post Posted August 26, 2012 add a function called section_persistant() We register the sidebars in the core now, not in the sections. So if you want to add a new sidebar, you will have to also register it. Share this post Link to post Share on other sites
davron 0 Report post Posted August 28, 2012 Thank you everyone for your help. Registering the sidebar did the trick. It took me a while to figure out how to actually go about registering the sidebar but this Pagelines document was gold: http://www.pagelines.com/wiki/index.php?title=Pagelines_register_sidebar&diff=5011&oldid=prev Share this post Link to post Share on other sites
languagedept 0 Report post Posted April 16, 2013 Does anyone have more information on how to register a sidebar. My PHP knowledge is basic and nothing that I am doing seems to be working. Thanks, Share this post Link to post Share on other sites
James B 436 Report post Posted April 16, 2013 Hi LanguageDept, we haven't got any new documents on registering custom sidebars yet, but check out this link which will guide you through the process- http://designparc.com/2012/01/30/how-to-create-custom-sidebar-in-pagelines-framework-20/ Kindly search the forum and read the documentation before posting. It will help you resolve many issues. For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting. James B Share this post Link to post Share on other sites