Keyword

Uber Pagebreak?

More
12 years 6 months ago - 12 years 4 months 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
12 years 6 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
12 years 6 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
12 years 6 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
12 years 6 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
12 years 6 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
12 years 5 months 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
12 years 4 months 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
12 years 3 months 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 3 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