Memorial Day
Support will be closed on Monday, May 28th, 2012 to enjoy Memorial Day with our friends and families.
   
 
Problem with Pagination and ad support
Posted: 20 August 2010 01:24 PM   [ Ignore ]  
Summer Student
Total Posts:  1
Joined  08-20-2010

We’re trying to get ads to show up on articles with a certain work in [segment3]. Three out of four of the possibilities work. Pagination without sponsorship breaks the page and the content is not loaded.

site.com/article/articlename/sponsor/P2 |works - http://i.imgur.com/pxpfH.jpg

site.com/article/articlename/sponsor |works - http://i.imgur.com/TcqaL.jpg

site.com/article/articlename/ | works - http://i.imgur.com/FJDgF.jpg

site.com/article/articlename/P1 |does not work - http://i.imgur.com/BVEpQ.png

{if segment_4 !=""}
{embed
="includes/mod_header" adcall="{exp:replace find="_" replace="+"}{segment_3}{/exp:replace}" }
{if
:else}
{if segment_3 
!= ""}
{embed
="includes/mod_header" {if '{exp:is_page}' == TRUE} adcall="<?php print "$cat_url_title"; ?>" adcategory="<?php print "$sect_url_title"; ?>" {if:else} adcall="{exp:replace find="_" replace="+"}{segment_3}{/exp:replace}" }{/if}
{
/if}
{if segment_3
==""}
{embed
="includes/mod_header" adcall="<?php print "$cat_url_title"; ?>" adcategory="<?php print "$sect_url_title"; ?>" }
{
/if} 
Profile
 
 
   
 
 
‹‹ 1.x -> 2.x      403 forbidden ››