test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • angie00 Friend
    #180548

    Is there a way to recreate the slider styling from the page break to be used in category view?

    Sherlock Friend
    #466591

    <em>@angie00 337446 wrote:</em><blockquote>Is there a way to recreate the slider styling from the page break to be used in category view?</blockquote>

    Can you please explain more the ideal ?

    angie00 Friend
    #466750

    We like the styling of the slider with the page break (see attached) because it keeps the page from being so long with information. End user can click on each title and it will give them the information under that section. However, from what we understand, because it is a page break styling it will not work with a category menu. Is there a way to recreate styling and function to be an option with categories? It’s not ideal to create an article, because we still need the category blog to “house” this sections articles. If someone searches for section it brings up both the article and category and they get confused on which page they are on because they look different due to page break styling.


    1. Screen-Shot-2012-09-11-at-6.20.20-AM
    Sherlock Friend
    #466787

    Hi angie00,

    I am still not much sure what is this page break you mentioned, can you share with me an url where this is seen ? are you saying about the Ja accordion module ?

    angie00 Friend
    #466964

    I sent those to you Sherlock. I am very interested in your comments on this as it seems to just based on which view you have. If I view the article under the category it shows just the line breaks, but if I view the article by searching the site and just pulling up the article, it shows the page break slider.

    Sherlock Friend
    #466984

    Hi angie00,

    How did you insert a page break like that into your article contents ? Did you get it via an extension ? if that I think you should contact the extension author to get a hand on the issue.

    angie00 Friend
    #467065

    Yes, the page break is there in the article. I created the article and used the system page break, set the system page break plug-in to sliders. It not not an extra extension. The article you are seeing is the same article, the view is just different.

    Sherlock Friend
    #467096

    Hi angie0,

    To achieve that you would need to modify into the content pagebreak plugin, you can open the file of pluginscontentpagebreakpagebreak.php looking for this
    [PHP]
    $canProceed = $context == ‘com_content.article’ ;
    if (!$canProceed) {
    return;
    }
    [/PHP]
    Change it to
    [PHP]
    $canProceed = $context == ‘com_content.article’ || $context == ‘com_content.category’;
    if (!$canProceed) {
    return;
    }
    [/PHP]

    Then look for and remove this snap of code
    [PHP]
    if ($params->get(‘intro_only’) || $params->get(‘popup’) || $full || $view != ‘article’) {
    $row->text = preg_replace($regex, ”, $row->text);
    return;
    }
    [/PHP]

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  Sherlock 12 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum