Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [brewt] Help With Global

Quote Reply
Re: [brewt] Help With Global In reply to
Thanks Adrian.

I copied that EXACTLY... and I am NOT getting the results.

Here is my test page:

http://www.bcdb.com/...0489-Hakuja_Den.html

Look right under Cartoon Production Information...

The first "English Title" is your code...

The second is the Andy code (just so you can see it should show!)

Eng_Title_1 global is:

sub {
my $title = shift;
return $title ? [split(/\s+,\s+/, $title)] : [];
}


Template is:

<%~if Eng_Title%>
<%~set Eng_Title_loop = Eng_Title_1($Eng_Title)%>
English Title<%if Eng_Title_loop.length > 1%>s<%endif%>:
<%loop Eng_Title_loop%>
"<em><%loop_value%></em><%if Eng_Title_loop.length > 1%><%if not last%>,<%else%>.<%endif%><%endif%>"
<%set i = $Eng_Title_loop.length - 1%><%if Eng_Title_loop.length > 1 and $i == $row_num%> and<%endif%>
<%endloop%>
<%~endif%>

Sorry- I feel like an idiot for not seeing the problem. This is just abit above my level, though...
dave

Big Cartoon DataBase
Big Comic Book DataBase

Last edited by:

carfac: May 14, 2008, 3:48 PM
Subject Author Views Date
Thread; hot thread Help With Global carfac 14576 May 14, 2008, 9:11 AM
Thread; hot thread Re: [carfac] Help With Global
Andy 13443 May 14, 2008, 10:43 AM
Thread; hot thread Re: [Andy] Help With Global
carfac 13456 May 14, 2008, 11:02 AM
Thread; hot thread Re: [carfac] Help With Global
Andy 13463 May 14, 2008, 11:12 AM
Thread; hot thread Re: [Andy] Help With Global
eupos 13414 May 14, 2008, 11:26 AM
Post; hot thread Re: [eupos] Help With Global
Andy 13452 May 14, 2008, 11:49 AM
Thread; hot thread Re: [eupos] Help With Global
carfac 13431 May 14, 2008, 11:51 AM
Thread; hot thread Re: [carfac] Help With Global
Andy 13434 May 14, 2008, 11:54 AM
Thread; hot thread Re: [Andy] Help With Global
carfac 13420 May 14, 2008, 12:02 PM
Thread; hot thread Re: [carfac] Help With Global
Andy 13445 May 14, 2008, 12:09 PM
Thread; hot thread Re: [Andy] Help With Global
eupos 13433 May 14, 2008, 12:17 PM
Thread; hot thread Re: [eupos] Help With Global
Andy 13416 May 14, 2008, 12:19 PM
Thread; hot thread Re: [Andy] Help With Global
eupos 13469 May 14, 2008, 12:21 PM
Post; hot thread Re: [eupos] Help With Global
Andy 13456 May 14, 2008, 12:27 PM
Thread; hot thread Re: [eupos] Help With Global
carfac 13463 May 14, 2008, 12:27 PM
Thread; hot thread Re: [carfac] Help With Global
eupos 13412 May 14, 2008, 12:32 PM
Thread; hot thread Re: [eupos] Help With Global
carfac 13430 May 14, 2008, 12:52 PM
Thread; hot thread Re: [carfac] Help With Global
brewt 13395 May 14, 2008, 1:02 PM
Thread; hot thread Re: [brewt] Help With Global
carfac 13409 May 14, 2008, 1:04 PM
Thread; hot thread Re: [carfac] Help With Global
brewt 13438 May 14, 2008, 1:10 PM
Thread; hot thread Re: [brewt] Help With Global
carfac 13396 May 14, 2008, 1:22 PM
Thread; hot thread Re: [carfac] Help With Global
eupos 5085 May 14, 2008, 1:47 PM
Thread; hot thread Re: [eupos] Help With Global
carfac 4990 May 14, 2008, 2:39 PM
Thread; hot thread Re: [carfac] Help With Global
brewt 5044 May 14, 2008, 3:16 PM
Thread; hot thread Re: [brewt] Help With Global
carfac 4996 May 14, 2008, 3:40 PM
Thread; hot thread Re: [carfac] Help With Global
brewt 5034 May 14, 2008, 4:37 PM
Thread; hot thread Re: [brewt] Help With Global
carfac 5064 May 14, 2008, 5:21 PM
Thread; hot thread Re: [carfac] Help With Global
brewt 5017 May 14, 2008, 8:46 PM
Post; hot thread Re: [brewt] Help With Global
carfac 4999 May 14, 2008, 9:00 PM
Post; hot thread Re: [carfac] Help With Global
carfac 13415 May 14, 2008, 12:39 PM
Thread; hot thread Re: [carfac] Help With Global
carfac 13491 May 14, 2008, 11:15 AM
Post; hot thread Re: [carfac] Help With Global
carfac 13466 May 14, 2008, 11:16 AM
Post; hot thread Re: [carfac] Help With Global
brewt 13437 May 14, 2008, 11:55 AM