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:
Page break addon is broken

 

 


reviewportals
User

Jan 25, 2004, 6:10 PM

Post #1 of 13 (4901 views)
Shortcut
Page break addon is broken Can't Post

Hi there,

First off, I want to say that I truly enjoy the page break addon and even though it is not supported, I would like to see if there is a work around. (xss is turned off)

I am trying to do an inline article ad just like this - http://www.reviewportals.com/test.shtml - works great, simple java script.

however if I do the same article in a pagebreak template, I get this http://www.reviewportals.com/test-pagebreak.shtml (does not show article and it comes up with an error).

so then I tried saving the article-ad like this http://www.reviewportals.com/article-ad.htm and use this <!--#include virtual="/article-ad.htm"--> to include it in the article and I end up with this: http://www.reviewportals.com/pagebreak.shtml - it pukes flat out, does not even show the full article.

I would love for this to work - I love the pagebreak option - it looks great, and I would love an inline article ad - or I will need to drop the article ad all together and that would break my heart.

Thanks again for the great support,

--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.


Donna
Staff / Moderator


Jan 26, 2004, 5:12 PM

Post #2 of 13 (4883 views)
Shortcut
Re: [reviewportals] Page break addon is broken [In reply to] Can't Post

Hi Tone!

Good to hear from you. :)

The basic reason it won't work is because your ad is a javascript link. The way the pagebreak add-on works is to put your entire article into javascript output, which works great on almost everything... except more javascript.

So, essentially, it's trying to do Javascript inside of Javascript, and that's going to cause it to break -- as you've seen.

There isn't really any work around for that, other than to not use Javascript for your advertisement.

I hope this helps! Let me know if you have any other questions. :)

Donna


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.


reviewportals
User

Jan 26, 2004, 5:21 PM

Post #3 of 13 (4881 views)
Shortcut
Re: [Donna] Page break addon is broken [In reply to] Can't Post

Donna,

It would absolutely be the bomb if I could get this to work. I am currently talking to my ad software company if there is another way to call the ads or I will be forced to re-consider my layouts.

It is a great software called Adrevenue - made by the great guys at http://www.w3matter.com - if anyone is looking for a quality banner ad script, this is the one. Look for a review of it next week on www.phpreviews.com.

Thanks for the input and giving me a reason why,

--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.


elderban
User

Jan 27, 2004, 12:00 PM

Post #4 of 13 (4869 views)
Shortcut
Re: [reviewportals] Page break addon is broken [In reply to] Can't Post

RP:

You may want to look into phpadsnew (www.phpadsnew.com).

I currently use this on my site, and have tested it in AM 1.37 as well without any problems.

It gives you several options for outputting banners on your website including javascript, Iframes, and PHP.

Best part? It's free! Cool

Bryan Gilchrist


reviewportals
User

Jan 27, 2004, 12:29 PM

Post #5 of 13 (4864 views)
Shortcut
Re: [elderban] Page break addon is broken [In reply to] Can't Post

believe it or not that was my first look - but it is too complicated for both admin and clients, plus adrevenue accepts payments from advertisers with automatic set up. it's real slick and with the new version comming out it will be even better. They are adding php and/or SSI ad calling basically because of my request, you cannot fault such great customer service.

I highly recommend Adrevenue and at it's price you cannot go wrong.

--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.


reviewportals
User

Jan 28, 2004, 6:45 AM

Post #6 of 13 (4855 views)
Shortcut
Re: [reviewportals] Page break addon is broken [In reply to] Can't Post

ok... the guys at w3matter set up a raw mode so an ad can be called like this:

http://www.agencypoint.com/adrevenue/index.php?section=serve&action=6&raw=1

now - this is an external file obviously - so they wrote a small php program (did I mention they go completely out of their way to help their clients?) - that 'includes' the file and if I run it that php file externally it works great http://www.reviewportals.com/ad.php - but if I try to use SSI to include it, it STOPS the html file from loading http://www.reviewportals.com/pagebreak.shtml.

HELP! Unsure - is it because these are php files and that is why SSI won't work? what could possibly make this not work? It works just fine when I don't use the pagebreak option (inc. using the ad.php option).

Any insight would be appreciated,

--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.


Cliff
Staff


Jan 28, 2004, 3:48 PM

Post #7 of 13 (4847 views)
Shortcut
Re: [reviewportals] Page break addon is broken [In reply to] Can't Post

Hi Tone

Thanks for the additional detials. I've taken a look at your published file, http://www.reviewportals.com/pagebreak.shtml but I think that the JavaScript may need a little tweak. Also, I'd like to see how you are trying to include the ad into the template.

Would it be possible to send me a copy of your template so I can see how you hav things set up? You can either attach it to a forum post, or send it directly to me at cliff@interactivetools.com

I think that would be the fastest way for us to get a solution for you Smile
Regards,
Cliff Stefanuk - Customer Service Manager
support@interactivetools.com


reviewportals
User

Jan 28, 2004, 4:16 PM

Post #8 of 13 (4845 views)
Shortcut
Re: [Cliff] Page break addon is broken [In reply to] Can't Post

Cliff,

thank you - this has been driving me bonkers and almost made me go either pagebreak less or article ad less....

I sent you the files with a refresher, I really would love it if you could help me out. Awesome to see a company doing so much for their clients.

--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.


reviewportals
User

Jan 29, 2004, 5:23 PM

Post #9 of 13 (4830 views)
Shortcut
Re: [Cliff] Page break addon is broken [In reply to] Can't Post

Cliff,

Hey guy - any luck with this or am I SOL?

Thanks again for looking into this - really means a lot.

--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.


Cliff
Staff


Jan 30, 2004, 10:05 AM

Post #10 of 13 (4761 views)
Shortcut
Re: [reviewportals] Page break addon is broken [In reply to] Can't Post

Hi Tony,

Thanks for your patience, and thanks for sending in your details.

As great as the page break feature is, the only way that I could get that ad to properly appear on the page was to move it either to the top of the article, or to the bottom of the article. My preference was at the top. So this is a sample of what worked for me:


Code
   <script language="javascript" src="$url_publish$pagebreak.js"></script> 
<!--#include virtual="/ad.php"-->
<script language="javascript"><!--
var showPageNavTop = 1;
var showPageNavBot = 1;
var showPageNavAll = 0;
var PageMarker = '<!--page--\>';
var PageContent= '$art_content_je$';
PrintArticle();
// -->
</script>

If the include is inside the content, or in the JavaScript it's going to get picky. I don't know if that is exactly what you had in mind for your design, but you may want to give it a try and see how it looks. Keep me posted, I'd love to see the final result that you use Smile
Regards,
Cliff Stefanuk - Customer Service Manager
support@interactivetools.com


elderban
User

Jan 30, 2004, 6:21 PM

Post #11 of 13 (4752 views)
Shortcut
Re: [reviewportals] Page break addon is broken [In reply to] Can't Post


In Reply To
I highly recommend Adrevenue and at it's price you cannot go wrong.

--Tone



Tone:

I've purchased AdRevenue because I like the features of potential advertisers being able to pay for and put up their own ads, but after playing with it for a while, it still needs a lot of work. I've already hit their forums with suggestions and bugs... Angelic

I'll wait and see what their reaction is.

PS - Sorry for going off-topic.

Bryan Gilchrist


reviewportals
User

Jan 30, 2004, 7:07 PM

Post #12 of 13 (4749 views)
Shortcut
Re: [Cliff] Page break addon is broken [In reply to] Can't Post

Cliff - I will give that a whirl - thats not any different per se than just adding the ad to the template itself.

Is there anyway to do an automatic inclusion like you did after 10 lines of article text? or would that be the same as having it in the article itself?

Thanks for giving it a whirl - I greatly appreciate your time and energy into this.

--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.


reviewportals
User

Jan 30, 2004, 7:09 PM

Post #13 of 13 (4748 views)
Shortcut
Re: [elderban] Page break addon is broken [In reply to] Can't Post

Bryan,

believe me, the product is well worth the money and from what the lead programmer told me, a lot of the features that I asked for plus many others will be in the next release which is scheduled mid-february.

These guys will bend backwards to help you out, really great set of guys... a lot like the IT guys here.

--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.

 
 
 


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