Modify Sidebar on a Virtual Page

Posted in: Newspaper
Post count: 62

Hi,

I know I should be able to figure this one out, so apologies in advance for bothering you…

We’re using an Events Calendar plugin that creates a “virtual page” of all our event listings in a subdirectory of /events. Visiting that page (http://www.venturaclassifieds.com/events/) displays the events and a sidebar but I can’t figure out how to change the sidebar. Looked in Theme Panel > Template Settings, tried finding the actual page but no luck. The plugin allows us to “Choose a page template to control the appearance of your calendar and event content.” When we use the “Default template” from Newspaper, it displays with the Newspaper Default sidebar. How would I change it to use a different sidebar if the page doesn’t actually exist?

I can also choose to associate it with a different template page like “Homepage – blank” or “Page builder – with title” but still can’t find the page to “edit.”

Would really appreciate any guidance on this.

Ray

Post count: 7909

Hi,

I tested this and unfortunately you will need custom modification to implement this. You can try to create a new template like the default, create a custom sidebar and add it directly in the code. We would have gladly made it for you, but for the moment we cannot offer custom work, sorry! I suggest to hire a profesional developer to do this for you, if you don’t know how to do it.
Another solution is to use the default sidebar only for this plugin template, just use custom sidebars for different pages, posts, categories.

Thanks!

Post count: 62

Thanks for the suggestion, I just modified the default sidebar with generic content so it will work with this and maybe other areas where we run into the same challenge.

Prior to that, I noticed that the “Photo” view isn’t displaying anymore on the events page:
http://www.venturaclassifieds.com/events/photo/# The images/events are there (their links become visible when they’re hovered over) but all text is white and images are invisible.

Other views, like list and calendar still seem to work fine. Wondering if you have seen this before, perhaps it relates to the default template?

With regard to custom modification, can you provide any direction so that we have a better sense of what type of work we’re asking developer to complete? Not really sure how to explain the task.

Thanks!

Post count: 7909

Hi,

I have checked your page and did not found any issue when View as Photo is set – http://screencast.com/t/f3MKDlXs0PL please clear cache.
Regarding custom modifications, you will have to create a new page template to be used on events page, please check how default page templates are created(and create something similar in the root of the theme use something like page-yourtext.php) – http://screencast.com/t/LvbeNI7Hj3Q register a new sidebar in(like Footer columns) for example – http://screencast.com/t/9lJHWa38rF5

register_sidebar(array(
        'name'=> 'extra',
        'id' => 'extra-widget', //the id is used by the importer
        'before_widget' => '<aside class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<div class="block-title"><span>',
        'after_title' => '</span></div>'
    ));

It will appear in the Widgets section so you can drag widgets to it – http://screencast.com/t/aJZ6TTz7 And use it in your custom page template, instead of <?php get_sidebar(); ?> use dynamic sidebar code:

<?php dynamic_sidebar('extra'); ?>

You can do this if you have basic experience.

Hope this helps!

Post count: 62

Thanks for the reply, will look into the Custom Page Template process. Doesn’t sound too difficult.

Photo grid in events section is displaying properly for now since we deactivated an offending plugin (Huge-IT Video Gallery). Wondering if you are aware of any other video gallery options that seem reliable and work well with Newspaper?

Much appreciated!

Post count: 7909

Hi,

Unfortunately I cannot make any suggestions as we did not any plugins like this.

Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.