COMMUNITY FORUM
Uber Pagebreak?
- Joshua
-
Topic Author
- Offline
- New Member
Here is a "rigged" version that works on some sites (not mine):
happyhippie.co.nz/UberPageBreak.zip
It seems to have much of the code converted to work with joomla 1.7, but seems incomplete.
Sorry if I sound impatient, but this is a very important extension. B)
Please Log in or Create an account to join the conversation.
- Joshua
-
Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- Casey Noland
-
- Offline
- New Member
- Posts: 2
Since we're a commercial site I am willing to pay to get this done quicker for ourselves and the community. What do you say JoomlaWorks???
Cheers,
Case
Please Log in or Create an account to join the conversation.
- Bethany Amborn
-
- Offline
- New Member
- Posts: 5
Please Log in or Create an account to join the conversation.
- riotmos
-
- Offline
- New Member
- Posts: 2
I decided to try my luck tinkering with it and finally just got it "99%" working for Joomla 1.7. Knowing how painful it is to not have UberPageBreak after porting my site to J1.7, I would like to share this solution.
Note 1: I'm not an expert, so please backup your site before attempting this. I also recommend trying this out first on a fresh install of J1.7, K2, JCE sandbox site.
Note 2: I used JCE "insert page break" button to insert my pagebreak.
Steps:
1 - Download Zip file from top post: Rigged version of UberPageBreak (Thank you very much Joshua).
2 - Open the Rigged Version Zip File and unzip the folder, UberPageBreak, on to your desktop.
3 - Open UberPageBreak.php
4 - Change line 27 to function onContentPrepare($content, &$row, &$params, $page=0 ) {
5 - Comment out line 72, $row->text = $row->introtext; (There's got to be a better way but If I don't do this, my {loadposition xyz} modules won't render in the article)
6 - Rezip the "UberPageBreak" folder and name it "UberPageBreak 1.7" (This zip file should have the UberPageBreak folder inside now)
7 - Install zip file onto site
8 - Go to plugin manager
9 - Turn OFF "Content - Pagebreak" plugin
10 - Turn ON "UberpageBreak" plugin
11 - Enter Uberpagebreak plugin in plugin manager and here, you can change the settings.
Notice that while the presentation styles isn't a dropdown like in 1.5 (due to 1.6/1.7 plugins requiring JForms), however, you can actually type in "List" or "Tabs" to select the style.
12 - Go to k2 item and create your pagebreak (Used JCE)
I think that's all to it. Good luck and let's hope an official UberPageBreak for J1.7 comes out soon.
Please Log in or Create an account to join the conversation.
- ENEAS DE SOUZA CORREA
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Massimo
-
- Offline
- New Member
- Posts: 1
I followed the guide posted above, and I thank you, but I have a problem and I do not know how to solve it, I have a display problem with the page numbers as you can see by the screen attached.
Thank you,
Massimo
Please Log in or Create an account to join the conversation.
- mike cartwright
-
- Offline
- Junior Member
- Posts: 20
No warranty. Works fine for me.
you can download here: barrington-living.com/UberPageBreak25.zip
It is also attached
Mike Cartwright
www.CartwrightandSon.com
Please Log in or Create an account to join the conversation.
- SkrivarSidan
-
- Offline
- New Member
- Posts: 5
It works fine, but I have a problem: Intro text appears on every page of text.
Please Log in or Create an account to join the conversation.
- Soft
-
- Offline
- New Member
- Posts: 11
How can I fix it?
Please Log in or Create an account to join the conversation.
- mike cartwright
-
- Offline
- Junior Member
- Posts: 20
You can go to line 255 of UberPageBreak.php which is now like this:
$row->text = $row->introtext.'{K2Splitter}'.$getTemplate;
comment it out, and add a new row underneath so it now looks like this:
//$row->text = $row->introtext.'{K2Splitter}'.$getTemplate;
$row->text = $row->{K2Splitter}.$getTemplate;
That should do it...
or just download and re-install
you can download here: barrington-living.com/UberPageBreak25v1.1.zip
It is also attached
Mike Cartwright
www.CartwrightandSon.com
Please Log in or Create an account to join the conversation.
- Soft
-
- Offline
- New Member
- Posts: 11
Thank you so much. It works now.
May I ask you another question. How can I show table of content in the popup window? Is there any way to do it?
Please Log in or Create an account to join the conversation.
- mike cartwright
-
- Offline
- Junior Member
- Posts: 20
Please Log in or Create an account to join the conversation.
- Soft
-
- Offline
- New Member
- Posts: 11
I managed to make it work by using extra field and ARI sexy lightbox plugin. First I had to change a little bit K2 core files to allow html in extra field then I just inserted lightbox code in the extra field and all works great now. But now, I have problem with inserting a large text in the extra field. Whenever text exceeds curtain length, K2 strips it.
What controls how much text you can insert in extra field in K2? Do you know?
Please Log in or Create an account to join the conversation.
- DINALVA ROMANCINI
-
- Offline
- Senior Member
- Posts: 41
Please Log in or Create an account to join the conversation.
- Albatros
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- DINALVA ROMANCINI
-
- Offline
- Senior Member
- Posts: 41
Please Log in or Create an account to join the conversation.
- mike cartwright
-
- Offline
- Junior Member
- Posts: 20
: barrington-living.com/UberPageBreak25v1.1.zip
It is also attached
Mike Cartwright
www.CartwrightandSon.com
Please Log in or Create an account to join the conversation.
- FlyingScot
-
- Offline
- New Member
- Posts: 17
totalhealthmagazine.com/special-reports/antioxidant-digest.html
I have played with the .css formatting to display the table of contents across the top of the article.
Here's the code I added to my k2-override.css file
div#pageBreakTOC ul li {
background:none;
list-style: none;
}
div#pageBreakTOC {
float:left;
background:none;
list-style: none;
width:485px;
}
Please Log in or Create an account to join the conversation.
- dewdrinker19
-
- Offline
- New Member
- Posts: 2
Other than that, it is working great!
Any ideas?
Thanks so much. Trying for so long to get this to work! This is the closest I have been!
Please Log in or Create an account to join the conversation.