Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1 Add-ons:
Page breaks altogether!

 

 


steve_e
User

Mar 22, 2004, 8:06 AM

Post #1 of 5 (3528 views)
Shortcut
Page breaks altogether! Can't Post

Hi -

I appreciate this is a free add-on and not supported, but I thought someone might be able to point me in the right direction with this problem:

If you go to http://www.foundation-stage.info/newfsf/articles/visitors/FSFArticle_5.php I've just put the pagebreak javascript into that template. The article is quite a long one (I hadn't actually put any page breaks in when it ended up like this (ie with title and other stuff but no content).

If you go to http://www.foundation-stage.info/newfsf/articles/members/FSFArticle_2.php, that's a different type of article with a more or less identical template, but without the javascript added.

If you look at the source, it seems to have found the content ok for the printer friendly page.



I've mucked about with the templates a fair bit, but as I say, the two pages above differ only in that one has the pagebreak script added to the template and one doesn't.

The only other thing that might be of interest is that there are two other javascript um scripts on the page. One works the navigation menu, and the other sizes the columns so the footer is displayed at the correct height. Don't know if they might conflict?

Regards, Steve.


steve_e
User

Mar 23, 2004, 12:39 AM

Post #2 of 5 (3515 views)
Shortcut
Re: [steve_e] Page breaks altogether! [In reply to] Can't Post

(Bump)
No ideas anyone? Frown


Donna
Staff / Moderator


Mar 23, 2004, 3:22 PM

Post #3 of 5 (3506 views)
Shortcut
Re: [steve_e] Page breaks altogether! [In reply to] Can't Post

Hi Steve!

One thing to make sure of is that the pagebreak javascript file is in all of your publish directories. Since you're publishing to multiple categories, you may need to copy the script into each of those categories, or hardcode it to look in one specific location. Currently, it just looks in the directory that the published file is in.

I hope this helps. :)

Donna

--
support@interactivetools.com


steve_e
User

Mar 23, 2004, 3:57 PM

Post #4 of 5 (3504 views)
Shortcut
Re: [Donna] Page breaks altogether! [In reply to] Can't Post

Many thanks Donna -

pagebreak.js needed to be in the directories I was publishing to, which are not in fact the 'publish' directory, for reasons which seemed good at the time.

It may be worth putting this point in the instructions file, for idiots like me? Currently it just says, 'upload the files into the /artman/publish/ directory, rather than to the directory which you're publishing to. Obvious point I'm sure, but never underestimate the ability of people like me to follow instructions blindly... Pirate



Thanks again!

Regards, Steve.


Donna
Staff / Moderator


Mar 23, 2004, 4:11 PM

Post #5 of 5 (3502 views)
Shortcut
Re: [steve_e] Page breaks altogether! [In reply to] Can't Post

Hi Steve! :)

You're right, that's something that needs to be added to the instructions. The current instructions date back to pre-Custom Directory Publishing, so they were valid until that feature came out. :)

Glad everything is working. :)

Donna

--
support@interactivetools.com