• Register or
  • Sign In
    • Forgot your password?
    • Forgot your username?
    Or sign in with your account on:
    Facebook
    Twitter
    Google
    LinkedIn

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
The 'de facto' content solution for Joomla! professionals!
  • Index
  • Recent Topics
  • Search
Welcome, Guest

To post messages, you need to login first.
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!

Uber Pagebreak?
(1 viewing) (1) Guest
Reply Topic
New Topic
  • Page:
  • 1
  • 2

TOPIC: Uber Pagebreak?

Re: Uber Pagebreak? 11 months, 3 weeks ago #14136

  • Niels Nübel
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi OriginalID,

i had the same Problem, i have eliminated it with these changes.

Go into the Plugin File UberPageBreak.php on Line 69
// For K2
if($option=='com_k2'){
if(!empty($row->fulltext)){
// $row->text = $row->fulltext;
} else {
$row->text = $row->introtext;
}
}

and change in
// For K2
if($option=='com_k2'){
if(!empty($row->fulltext)){
$row->text = $row->fulltext;
} else {
$row->text = $row->introtext;
}
}


EDIT: Forget this reply. It will overwrite all changes from the ohter Plugin.
Reply Quote

Re: Uber Pagebreak? 11 months, 3 weeks ago #14190

  • OriginalD
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Thanks!

I tried this and it worked. The only thing it broke was the {loadposition blah}...

I installed Modules Anywhere and told it to handle the command and it works perfectly now!

THANK YOU SO MUCH!
Reply Quote

Re: Uber Pagebreak? 11 months, 1 week ago #158892

  • White Tiger
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
I've modified the file
en-GB.plg_content_UberPageBreak.ini

in
it-IT.plg_content_UberPageBreak.ini

and uploaded it in
/administrator/language/it-IT

but i see always the plugin in English.
Last Edit: 11 months, 1 week ago by White Tiger.
Reply Quote

Re: Uber Pagebreak? 11 months, 1 week ago #159089

  • Kamilis
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
White Tiger wrote:
I've modified the file
en-GB.plg_content_UberPageBreak.ini

in
it-IT.plg_content_UberPageBreak.ini

and uploaded it in
/administrator/language/it-IT

but i see always the plugin in English.


Because the language file is not valid in joomla 2.5. Turn on Debug System and you will see errors.
Reply Quote

Re: Uber Pagebreak? 11 months, 1 week ago #159172

  • White Tiger
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
There are no errors and however I've modified only 4 words in the frontend section.
In attach there is my file

====
Are you sure about this?
I've modified the English language file and I see always the original text.
I've modified the file tmpl/list/default.php and I see my text
Attachments:
  • Attachment it-IT.plg_....ini.zip (2KB)
Last Edit: 11 months, 1 week ago by White Tiger.
Reply Quote

Re: Uber Pagebreak? 10 months, 2 weeks ago #159930

  • Kamilis
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi, I fixed some bugs and fixed a translation for Joomla 2.5
Attachments:
  • Attachment UberPageBr...8-04.zip (37KB)
Reply Quote

Re: Uber Pagebreak? 9 months, 4 weeks ago #160665

  • J-M
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Encountered a small issue with the table of contents when on the main article page. All articles links were pointing to [article]/Page-1.
Tracked it down to missing &limit=1 in url (to limit the display of items to one)

So by modifying line 165 of UberPageBreak.php from
$output->links[$key]->pagelink = JRoute::_('&showall=&limitstart='.($i-1));
to
$output->links[$key]->pagelink = JRoute::_('&showall=&limit=1&limitstart='.($i-1));

the issue was resolved! :)
Hope it helps others that encounter this problem.
Thanks for the great plugin
Reply Quote

Re: Uber Pagebreak? 9 months, 3 weeks ago #160890

  • Jake Knight
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
I really appreciate this, but the problem I am having is that the plugin is not connecting with the language file and displaying

UBERPAGEBREAK_TABLE_OF_CONTENTS
Page1
Page 2
« UBERPAGEBREAK_PREV UBERPAGEBREAK_ALL_PAGES UBERPAGEBREAK_NEXT »


Any suggestions on this?
Reply Quote

Re: Uber Pagebreak? 8 months, 3 weeks ago #162729

  • Marco Saluzzo
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Thanks to everyone for getting this going.

to Jake: I had the same problem. Joomla does not like the capital letters in the language file name. If you change en-GB.plg_content_UberPageBreak.ini to en-GB.plg_content_uberpagebreak.ini it will work as expected.
Reply Quote

Re: Uber Pagebreak? 8 months, 1 week ago #163593

  • mathematicssite
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Thank you very much!!!!!! Its work!!!
Reply Quote

Re: Uber Pagebreak? 6 months, 2 weeks ago #166377

  • Amelia Choon
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I have installed the zip file and now page break works in my Joomla 2.5 with K2. However, in K2 I have a default image for my article which appears on my homepage. Now the problem is that this image appears on every page as well and I want to only have it appear for the first page which is the latest news. For the older news, I have other pictures related to them.

I am not very good with php coding. Does anyone know how to make it so? Thank you.

See: www.kibsociety.org/index.php/item/7-karm...karmapa-news?start=1
Reply Quote

Re: Uber Pagebreak? 2 months, 1 week ago #171449

  • James
  • ( User )
  • OFFLINE
  • Junior Boarder
  • Posts: 26
It certainly doesn't work with Joomla 3.0 and latest K2.

I gave it try but it doesn't work at all.

too bad
Reply Quote
Reply Topic
New Topic
  • Page:
  • 1
  • 2
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!
Find this topic helpful? Why not share it with others?
Tweet
Powered by Kunena
Time to create page: 0.52 seconds
Advertisement
  • Contact us
  • Join the K2 Expert Companies list
  • Privacy Policy
back to top
Copyright © 2006 - 2013 JoomlaWorks Ltd.. All rights reserved. K2 is a joint project by JoomlaWorks Ltd. & Nuevvo Webware Ltd., released under the GNU/GPL v2 license.
Joomla! is a registered trademark of Open Source Matters, Inc. JoomlaWorks/Nuevvo are not affiliated with or endorsed by Open Source Matters or the Joomla! Project.
designed by Nuevvo