View Full Version : if page = 2 do not show custom fields
BraindG
02-20-2007, 05:10 PM
is this possible, out of the box?
The Geek
02-20-2007, 06:25 PM
Not out of the box. I would think some simple template conditionals would do it though
BraindG
02-21-2007, 05:10 PM
:( - I cant seem it figure it out.
Any ideas what the conditional would read like?
Thanks :)
BraindG
02-21-2007, 09:17 PM
I can't figure out where the code is for it :eek:
2 things im looking to do.
1. Stop the customer content stuff showing on page 2 of the inline content pages.
2. Remove the "Click here to read the entire article" postbit on page two of showthread.
Any ideas?
The Geek
02-22-2007, 09:42 AM
Are you asking for page 2 of the article or page 2 of comments?
BraindG
02-22-2007, 04:15 PM
both :D
Page 2 of comments shows a postbit of the same design as the forum (outside articles) in the words of Andy "I don't like it".
The other question was how to remove custom fields from page 2 of the article. To give you a run down, i have created a bunch of custom fields that the author has to fill in, ie.. time taken for job, how hard the job is, what tools are required. These I have formatted into the article page itself, so they show at the top of the article, allowing each article to look and give the same feeling. However these custom fields are also show in the next pages..
its prolly something like, but for the life of me i cannea figure it out.
<if condition="$post['garpg=1']">
$post[GARS_modposition1]
</else>
nothing here
</if>
The Geek
02-23-2007, 08:21 AM
Youre not far off there. Try:
<if condition="$_REQUEST['garpg']>1">
To the other point... the previewing of the first post on subsequent comment pages is semi-hard coded. What I mean by that is that you can eliminate the first post preview by leaving the template sets 'first post preview' setting blank. However you cant change it to display the entire think if you know what I mean.
HTHs
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.