Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Article Manager 1 Add-ons:
[Add On] - PageBreak V 2.0 Automatic PageBreaks!

 

 


Mike4172
User

Sep 27, 2004, 4:04 PM

Post #1 of 18 (6229 views)
Shortcut
[Add On] - PageBreak V 2.0 Automatic PageBreaks! Can't Post

In this script we updated two notable things to make things easier as a webmaster of your respective site.

1) No longer must you manually enter pagebreaks. With this updated script the you simply set how many max characters you want on a page, and the min number of characters you require for page two. This is so you won't have a 2nd page with only 1 line on it. Also, we've biult in a function to where after a max number of characters are met for a page, it won't break until the nearest line break (ie. <BR><BR> or <p> ect). This is ultimately so you won't have a break in mid sentence.

2) The next change to script is to incorporate it into a search engine friendly script. Since search engines do not scan variables in scripts, under the previous version it never indexed the articles themselves. By adding a few lines, we've enabled search engine friendly outputs. By doing this, we've also enabled browsers with Javascript turned off, to still display your articles. We've tested this script successfully with Netscape, Internet Explorer, Mozilla, Firefox, and Konqueror.

Any bugs found reply to this message in the forum instead of emailing.

Enjoy!

http://www.amscripts.com/amaddons/#break


********* UPDATED *********

V 2.1 - counter fixed. Sometimes in IE 6.0 + the counter was confused when there were enough characters to make a last page, but not enough to make a full normal last page.

v 2.2 - link to blank page fixed. Some ending characters caused a blank page printout for page 2 or above.


Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

(This post was edited by Mike4172 on Mar 12, 2005, 4:28 AM)


elderban
User

Sep 29, 2004, 7:50 PM

Post #2 of 18 (6207 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

1. It apparently has an issue with pictures. I have several pictures on on one page, and the all appeared on the first page even though the text ended.

2. It is splitting the first page at the "var charlastpage" limit on the first page (also might have to do with the pictures again). The second page had the "var charperpage" limit, but my third page had nothing, even thought it was supposed to have at least the var charlastpage amount.

Bryan Gilchrist


Mike4172
User

Sep 29, 2004, 7:59 PM

Post #3 of 18 (6205 views)
Shortcut
Re: [elderban] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

I've tried reproducing your error but can't seem to do it. I've uploaded an image with caption and it still works fine.

Can you provide a link to where the problem exists? Also what browser are you using when the error comes up?

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

(This post was edited by Mike4172 on Sep 30, 2004, 12:28 AM)


elderban
User

Sep 30, 2004, 1:31 PM

Post #4 of 18 (6199 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

It might be because I have several pictures in a table that is right aligned.

Bryan Gilchrist


Mike4172
User

Sep 30, 2004, 2:25 PM

Post #5 of 18 (6198 views)
Shortcut
Re: [elderban] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

I was able to find a problem with some characters causing an extra page to print as blank, and I've updated the file to 2.2. Try that and see if it works.

Supply a link if a problem still exists after this update.

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

(This post was edited by Mike4172 on Oct 1, 2004, 4:20 AM)


elderban
User

Oct 2, 2004, 5:00 PM

Post #6 of 18 (6178 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

The problem I'm having is that if I put a table on the page, and the table happens to fall in where the page breaks, the table stays on the first page and the text goes to the next page.

I'll see if I can get an example up on my beta-testing site.

Bryan

Bryan Gilchrist


Mike4172
User

Oct 2, 2004, 5:03 PM

Post #7 of 18 (6177 views)
Shortcut
Re: [elderban] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Ok send link so I can take a look.

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts


MikeB
Staff / Moderator


Oct 14, 2004, 2:42 PM

Post #8 of 18 (6130 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Hi Mike4172,

Thanks for the add-on!

I downloaded pagebreak.js and tried it out to see how it works. It worked really well and didn't involve too much time to install/set-up.

Good work Mike!Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


Aidden
User

Dec 19, 2004, 8:37 AM

Post #9 of 18 (5855 views)
Shortcut
Re: [MikeB] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Quick Question...

I notice in the code block there is this variable:

Code
var PageMarker = '<!--page--\>';


Is itpossible to use this within the article tomanually override the Automatic page break settings?

If not is there a way to implement it?


MikeB
Staff / Moderator


Dec 19, 2004, 5:06 PM

Post #10 of 18 (5847 views)
Shortcut
Re: [Aidden] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Hi Aidden,

Thanks for the post!

I don't think that adding the javascript into the body of the article would provide the effect you're looking for. Although this is a free add-on and I'm not incredibly familiar with it I'm assuming that because it is designed to create automatic page breaks there wouldn't be an easy way to insert your own page breaks manually.

As this is a free add-on you can go ahead and experiment with it to see if you can come up with anything that might help you.

Let us know how it works out and if you have any other questions feel free to let me know! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


Mike4172
User

Dec 25, 2004, 11:16 PM

Post #11 of 18 (5800 views)
Shortcut
Re: [Aidden] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Hi Aidden,

When I redid the script it was intended just to be automatic since the site I worked on at the time posted so many articles we didn't have time to manually input a page break.

You realize you can customize it where the pagebreaks come at certain spots right?

Manually, we left in the PageMarker = '<!--page--/>' even though I don't think functions any longer. In the future we may add an override manual breaker in there.

Regards,

Michael



Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts


reviewportals
User

Jan 20, 2005, 1:48 PM

Post #12 of 18 (5618 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Could someone please post a link to an article that is actually long enough to utilize the pagebreak?

Thanks,

--Tone

http://www.reviewportals.com
ReviewPortals.com is the home portal of a review portal conglomeration dedicated to review php/perl software and web services.


Mike4172
User

Jan 20, 2005, 3:04 PM

Post #13 of 18 (5615 views)
Shortcut
Re: [reviewportals] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

http://www.bravesnews.com/articles/braves/6001159.shtml

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts


reviewportals
User

Jan 20, 2005, 3:12 PM

Post #14 of 18 (5614 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Michael,

Thank you so much for that link - that is indeed a nice addon.

Thanks again,

Tony Lindskog

http://www.reviewportals.com
ReviewPortals.com is the home portal of a review portal conglomeration dedicated to review php/perl software and web services.


Maurice
User

Feb 16, 2005, 4:41 AM

Post #15 of 18 (5231 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

this is great but when i use my summary on top of my page it shows up on all pages after number 1 how can i remove that.
also the title stay's but i don't want that either how can this be solfed?

http://www.nvzd.nl/vhmz/html/article_249.shtml?page=1 example



thanxs.



Maurice
-------------------------------------------
www.intraserve.nl

we buildt:

http://www.buitenhuis.nl
http://www.squerist.nl
http://www.movb.nl
http://www.lvsvo.aimfor.nl/
http://www.vanstraten.net
http://www.beukenrode.nl
http://www.kydonk.nl
http://www.geneeskundigevereniging.nl
http://www.nvzd.nl
http://www.geneeskundigevereniging.nl
http://www.vhmz.nl
http://www.generate-it.nl
http://www.florint.nl




Mike4172
User

Feb 16, 2005, 4:49 AM

Post #16 of 18 (5230 views)
Shortcut
Re: [Maurice] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

That's becasue in its design it basically just splits the $art_content$ variable w/o taking anything else into consideration. So on all ensuing pages it'll repeate the template with the exception of $art_content$. What you would need to do if you didn't want to repeat the title or summary on pages after page one is to add in some JS or a PHP script (depending on page ext's) that has an IF statement to prepend it from repeating itself more than once.

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

(This post was edited by Mike4172 on Feb 16, 2005, 4:50 AM)


joa1
User

Feb 23, 2005, 4:39 PM

Post #17 of 18 (5142 views)
Shortcut
Re: [Mike4172] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Hi Mike,

This is another one of your scripts I would be interested in using... have one question:

What happens with the print this article option if an article is too long and gets split into 5 pages by the script?... Does AM still create 1 single page for printing, or must each of the 5 sections the article gets cut into be printed separately, one-by-one!?

On your article/site it still comes up as one single page, so my question really is if you had to do something else to keep it that way, or if the script just leaves it alone as far as the printing function is concerned.

Thanks!

Joa1


(This post was edited by joa1 on Feb 23, 2005, 4:44 PM)


Mike4172
User

Feb 23, 2005, 4:45 PM

Post #18 of 18 (5140 views)
Shortcut
Re: [joa1] [Add On] - PageBreak V 2.0 Automatic PageBreaks! [In reply to] Can't Post

Its two different templates, so the pagebreak script is only on the regular article page. Here's one example:

http://www.bravesnews.com/nmonitto/6001057.shtml

http://www.bravesnews.com/nmonitto/printer_1057.shtml

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4