Webmastersite.net
Register Log In

Recip Links for Public, but Admin not
Force public submissions to have recip but not adm

Comments on Recip Links for Public, but Admin not

scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 06, 2006 - 6:56 AM:

Hi

Is there a way to force all public link submissions to have a reciprocal in place BUT still allow admin to add links that do not have recips in place?

The idea is that any public submission would need our recip in place but that if admin wanted to add some cool sites like NASA or something, that he/she still could knowing that those sites would never offer a recip. The reason is that admin might still want to add interesting content to the directory even without the benefit of a recip link.

Many thanks smiling face
scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 06, 2006 - 2:55 PM:

Duh, like a dummy, I forgot I had already asked this question. Here's your reply, Paul:

You can set the options to appear only for the administrators
usergroup by conditionalizing it in the template:
<IF {THISMEMBERISADMIN}>
<tr>
<td class="labelscolumn"><span class="labels">Type of Link:</span></td>
<td class="optionscolumn"><select name="type">{TYPEOPTIONS}</select></td>
</tr>
<OTHERWISE>
<input type="hidden" name="type" value="recip">
</IF>
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.