Jump to content
Sign in to follow this  
davron

Custome sidebars not visible in widget area

Recommended Posts

davron

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

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

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

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

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

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
davron

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
davron

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

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

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

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
languagedept

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×