refresheduk Posted September 30, 2008 Share Posted September 30, 2008 I am trying to customize the program kubelance - below is the code I have used to display services / activities etc. horizontally across the page. However I am trying to display an exact amount per line so it looks more uniformed the link to the page i am talking about can be found here- http://www.refresheduk.com/eventflip/signup.php?type=provider <tr> <td>{LOOP: JOBTYPE} IF("{JOBTYPE.parent_id}"!="0"){ {:IF} IF("{JOBTYPE.catcount}"=="0"){<input type="checkbox" name="jobtype[{JOBTYPE.id}]" value="{JOBTYPE.id}" {JOBTYPE.selected} >{JOBTYPE.title}{:IF} IF("{JOBTYPE.catcount}"!="0"){<br><br><strong>{JOBTYPE.title}</strong><br>{:IF} {/LOOP: JOBTYPE}</td> </tr> Second part of the problem is this page where I am trying to achieve the same thing however the code is different. <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> {LOOP: JOBTYPES} IF("{JOBTYPES.ctype}"=="0"){<tr><td><input name="jobtype[{JOBTYPES.id}]" type="checkbox" value="{JOBTYPES.id}"></td><td> {JOBTYPES.title}</td></tr>{:IF} IF("{JOBTYPES.ctype}"=="2"){<td> <input name="jobtype[{JOBTYPES.id}]" type="checkbox" value="{JOBTYPES.id}"></td><td> {JOBTYPES.title}</td></tr>{:IF} IF("{JOBTYPES.ctype}"=="1"){<tr><td colspan="2"><strong>{JOBTYPES.title}</strong></td></tr>{:IF} {/LOOP: JOBTYPES} </table> </td> </tr> <tr> Again I am trying to display a certain amount of items per line. If anyone has a solution to this problem I would be greatful. Cheers Matt Innes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.