-
AuthorPosts
-
angie00 Friend
angie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
September 7, 2012 at 11:52 pm #180548Is there a way to recreate the slider styling from the page break to be used in category view?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 10, 2012 at 7:06 am #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 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
September 11, 2012 at 11:27 am #466750We 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.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 12, 2012 at 3:30 am #466787Hi 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 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
September 13, 2012 at 7:37 pm #466964I 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 14, 2012 at 3:03 am #466984Hi 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 Friendangie00
- Join date:
- November 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 80
- Thanked:
- 10 times in 1 posts
September 14, 2012 at 1:03 pm #467065Yes, 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 15, 2012 at 7:50 am #467096Hi 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]1 user says Thank You to Sherlock for this useful post
AuthorPostsViewing 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
Page Break
Viewing 8 posts - 1 through 8 (of 8 total)