Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Mar 2003, 20:01
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
/me needs help ;)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When i put $boohoo[name] in the displayartists template it only calls the name of one artist and not all

Btw name is a field in the table artists

Any ideas?

Regards

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #2  
Old 28 Mar 2003, 20:59
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Mist hope this helps...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

you need the create a template "displayartistsbit" and put in there the info you want to repeat... then the "displayartists" template is the main template... in which you put the "$theartists" to echo the loop that you created...

hope that helps Mist...

regards,
g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea
--
My vb3 Hacks
--
[ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ]

Last edited by g-force2k2 : 28 Mar 2003 at 21:01.
Reply With Quote
  #3  
Old 29 Mar 2003, 12:43
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Ahhh thanks g-force...

I understand the concept now

Good to see you back btw

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #4  
Old 29 Mar 2003, 18:33
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Btw g-force that was the right idea but it didn't work. I had to add braces


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Regards

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #5  
Old 29 Mar 2003, 18:57
filburt1 filburt1 is offline
 
Join Date: Feb 2002
As you always should for multiple-line blocks to prevent problems that look fine but that are only the illusion of indenting.
Reply With Quote
  #6  
Old 31 Mar 2003, 15:37
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
hmm... you sure Mist?

because to my knowledge you don't need to add brackets for one line codes... unless you altered the code in anyway ( adding more info inside the while for instance )

because the example:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

is the same as:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

just if you don't have brackets it will only read one line to my knowledge if you added more code thats probably why you got an error...

regards,
g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea
--
My vb3 Hacks
--
[ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ]
Reply With Quote
  #7  
Old 31 Mar 2003, 17:51
filburt1 filburt1 is offline
 
Join Date: Feb 2002
It's extremely bad style to do that first example because it can very easily lead to screwups when editing the code.
Reply With Quote
  #8  
Old 31 Mar 2003, 17:53
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
100% sure - PPN helped me out with it and said put brackets and then it worked

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 22:43.

Layout Options | Width: Wide Color: