Quote:
Originally Posted by DislexiK
The GeeK,
Brilliant work you have done here *installed*.
I am having a problem however, I have used the mod_rewrite hack and it seems to be causing a problem for the multipage feature of GAS. Here is the code that is doing it within the pagenav_pagelink template:
Code:
<if condition="THIS_SCRIPT==forumdisplay OR THIS_SCRIPT==showthread">
<td class="alt1"><a class="smallfont" href="$address-$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>
<else />
<td class="alt1"><a class="smallfont" href="$address&page=$curpage$address2" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>
</if>
I can see away around this and that is being able to use something like:
Code:
<if condition="$Geek_article">Article Mod_Rewrite<else />Do normal mod_rewrite</if>
Is this possible to have the if condition here? IF not how would I go about making it possible?
Thanks.
|
This has been brought up before. Sadly - I cant help. You need to look at the mod rewrite hack to see how to deal with the extra conly variable.