split long entry doesn't split long entry

Creating and modifying plugins.
Post Reply
gaw
Regular
Posts: 12
Joined: Tue Feb 08, 2005 10:35 am

split long entry doesn't split long entry

Post by gaw »

Downloaded and installed the "Split Long Entries" plugin, inserted the <!--nextpage--> tag in both the extended and body text. The entry is still displayed at full length.

I'm using version .8, the entry I'm trying to split is at
http://unitelater.com/s9y/index.php?/ar ... ensed.html

What am I doing wrong?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: split long entry doesn't split long entry

Post by garvinhicking »

The plugin works here at my latest CVS installation.

Are you using the latest version of it, together with the latest version of 0.8-alpha11?

There were changes to the plugin about a week ago which were needed to make the plugin properly work if the extended entry properties plugin is enabled. If you have the extended entry properties plugin enabled, then that's the reason why it doesn't work for you and you either need to disable the plugin or upgrade to latest CVS versions of serendipity and the plugin...

I'm sorry for your inconvenience...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gaw
Regular
Posts: 12
Joined: Tue Feb 08, 2005 10:35 am

Post by gaw »

I'm using the latest cvs (v1.4, datedt 2/9/05) of the plugin as well as the today's snapshot of s9y.

Still no sub-pages.

I've got a bunch of plugins enabled, but none of them are called "extended properties". Could it be one of the others I'm running?

EVENT PLUGINS-
Markup BBCode
Markup Emoticate
Markup NL2BR
Spam Protector
Fix Common XHTML Errors
Statistics
Highlight Search Queries
Browser Compatibility
Markup Track Exits
Template Chooser
Content Rewriter
Links to next/previous
Split Long Entries
Layout: Quote-Markup
gaw
Regular
Posts: 12
Joined: Tue Feb 08, 2005 10:35 am

Post by gaw »

OK, now this is different... I uninstalled the quote markup and the next/previous plugins. Now when the page split plugin is installed I get this message:

Fatal error: Call to undefined function: getfieldreference() in /mypath/s9y/plugins/serendipity_event_entrysplit/serendipity_event_entrysplit.php on line 106
gaw
Regular
Posts: 12
Joined: Tue Feb 08, 2005 10:35 am

Post by gaw »

I'm such a doofus... :oops: I had reinstalled the old CVS, not today's. Splitting long entry plugin thingy works perfectly now. :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hehe - so sorry for all the confusion, but great to hear that it's working now. :)

Have fun,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Trench
Regular
Posts: 85
Joined: Fri Nov 05, 2004 11:38 am

Post by Trench »

When using the split page plugin with 0.8-beta4 when I click on the second page it takes me back to the main blog page.

http://test.thetrenchcoat.com/archives/ ... -page.html
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Trench:

It seems either your Apache or PHP is broken. Look at the link to your page 4:

Code: Select all

http://test.thetrenchcoat.com/index.php?archives1234-Testing-split-page.html&serendipity[entrypage]=2
but obiously this should read:

Code: Select all

http://test.thetrenchcoat.com/index.php?/archives/1234-Testing-split-page.html&serendipity[entrypage]=2
(note the two extra slashes). Serendipity gets the URL via 'serendipity_currentURL' in include/functions.inc.php. There we use the PHP function parseURL() which should return the correct statement. I have no single clue why it strips the '/' for you.

Please tell me your webserver/OS/PHP setup, which event+sidebar plugins you are using, which template you are using and if you made any modifications to any of the files.

Also make sure you're using CVS revision '1.5' of the entrysplit plugin.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I'm having the same problem as the original poster. It's just not splitting the entries.

I got v. 1.6 of the plug-in from the CVS, and I'm using 8.0 (the latest stable download). My installed plug-in list is:

Markup: Serendipity
Markup: Emoticate
Markup: NL2BR
Browser Compatibility
Spam Protector
Announce entries
Custom Permalinks for Entries
Spartacus
Amazon Media Button
e-Mail Entry
Typeset Buttons
Split long entries
Link List
HTML Validator
Extended properties for entries
Links to next/previous entry
Static Page (Blog Stuff - Cool Tools)
Static Page (prsearch)
Static Page (futurepr)
Fix common XHTML errors
Creative Commons License
Highlight search queries
Tagging of entries
HTML Link Metatags
e-Mail Entry
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hathor: The "Entry Properties" or "Links to next/previous entry" plugins may interfer in your installation. Put the "split entries" plugin as last plugin in the queue?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Oh, wait. I just realized that if I click to the entry itself, it IS split. It's just on the front page that it doesn't split. Is that how it's supposed to work?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hathor, yes that's right. The entrypsplit function only works on the extended entry area.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Gotcha. All is well, then. :)
Post Reply