Keyword

Uber Pagebreak?

  • Joshua
  • Joshua's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #57859 by Joshua
Uber Pagebreak? was created by Joshua
So is this extension still on the to do list for joomla 1.7? I figure that K2 2.5.1 is coming out first in a few days so it would be nice to have this extension once again.

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
  • Joshua's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #57860 by Joshua
Replied by Joshua on topic Re: Uber Pagebreak?
:huh: Is this extension still on the to do list?

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #57861 by Casey Noland
Replied by Casey Noland on topic Re: Uber Pagebreak?
I am also eagerly waiting for K2 to either work with the Joomla 1.7 pagebreak plugin or for an update to UberPageBreak to allow the same functionality (we have the "slides" presentation mode built into our template).

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.

More
13 years 6 months ago #57862 by Bethany Amborn
Replied by Bethany Amborn on topic Re: Uber Pagebreak?
Same here - I would be willing to pitch in some $$ as well. I am running 1.7 and desperately need a working pagebreak in K2

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago - 13 years 6 months ago #57863 by riotmos
Replied by riotmos on topic Re: Uber Pagebreak?
I have "kinda good" news.

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
  • ENEAS DE SOUZA CORREA's Avatar
  • Offline
  • New Member
More
13 years 5 months ago #57864 by ENEAS DE SOUZA CORREA
Replied by ENEAS DE SOUZA CORREA on topic Re: Uber Pagebreak?
I am Brazilian. I do not speak English. I'll wait: official UberPageBreak is J1.7. This already exists?

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #57865 by Massimo
Replied by Massimo on topic Re: Uber Pagebreak?
Hi,

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

File Attachment:

File Name: jw_disqus.zip
File Size:3 KB

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #57866 by mike cartwright
Replied by mike cartwright on topic Re: Uber Pagebreak?
I built on the work of riotmos and Joshua. The UberPageBreak now works in my installation of Joomla 2.5, with proper formatting and the ability to choose Tabs/List/Pagination in the plugin admin.

No warranty. Works fine for me.
you can download here: barrington-living.com/UberPageBreak25.zip
It is also attached

Mike Cartwright
www.CartwrightandSon.com
Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #57867 by SkrivarSidan
Replied by SkrivarSidan on topic Re: Uber Pagebreak?
Thank you for sharing! :)

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.

More
13 years 2 months ago #57868 by Soft
Replied by Soft on topic Re: Uber Pagebreak?
Thank you it works, but I have the same problem: Intro text is appearing on each page?

How can I fix it?

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago - 13 years 4 weeks ago #57869 by mike cartwright
Replied by mike cartwright on topic Re: Uber Pagebreak?
I don't use the "readmore" to define intro text. I display the introductory text using a different method so I was not aware of this.

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

Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #57870 by Soft
Replied by Soft on topic Re: Uber Pagebreak?
Mike,

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.

More
13 years 2 months ago #57871 by mike cartwright
Replied by mike cartwright on topic Re: Uber Pagebreak?
Well, anything is possible with enough time and desire. I just modified the Pagebreak so that I could use it on my site. You might have a go at it though and then post your results if you get it going...

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #57872 by Soft
Replied by Soft on topic Re: Uber Pagebreak?
Mike,

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
  • DINALVA ROMANCINI's Avatar
  • Offline
  • Senior Member
More
13 years 2 months ago #57873 by DINALVA ROMANCINI
Replied by DINALVA ROMANCINI on topic Re: Uber Pagebreak?
Excellent work... BTW at the end of the URL it repeat the article id and name...

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #57874 by Albatros
Replied by Albatros on topic Re: Uber Pagebreak?
Thanks, Mike! I spread many time for the find decision. All worked! Best regards!

Please Log in or Create an account to join the conversation.

  • DINALVA ROMANCINI
  • DINALVA ROMANCINI's Avatar
  • Offline
  • Senior Member
More
13 years 1 month ago #57875 by DINALVA ROMANCINI
Replied by DINALVA ROMANCINI on topic Re: Uber Pagebreak?
Any update on this K2 team, are you going to realease pagebreaks in K2 officially? Whit all the tools and bug fixes? Regards

Please Log in or Create an account to join the conversation.

More
13 years 4 weeks ago #57876 by mike cartwright
Replied by mike cartwright on topic Re: Uber Pagebreak?
For some reason, the link to the newer file no longer appears. You can download the correct Uberpagebreak at

: barrington-living.com/UberPageBreak25v1.1.zip
It is also attached

Mike Cartwright
www.CartwrightandSon.com
Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 4 days ago #57877 by FlyingScot
Replied by FlyingScot on topic Re: Uber Pagebreak?
Hi Mike. If I can get your version of Uber Pagebreak working it will be a godsend. I have installed it and when you visit an article where I have implemented it you do see the list and the page titles...see sample below. But...big but...all of the links are the same...all links point to Page1.html and not to the proper sections. Any help on this?

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.

More
12 years 11 months ago #57878 by dewdrinker19
Replied by dewdrinker19 on topic Re: Uber Pagebreak?
I have tried the newest version of the altered uberpagebreak in this thread and the problem I am getting is that the Table of Contents isn't appearing on the first page of the article.

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.


Powered by Kunena Forum