Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [eupos] Help With Global

Quote Reply
Re: [eupos] Help With Global In reply to
Thanks!

Hmmm... I am still not getting it for some reason....

Here is what I put in the template:

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

The global which I called Eng_Title_1, looks like this:

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

When I run it, I get no output.... just:

English Title:

I pared it down to just this (in case I scrwed up the if..elses):

<%~if Eng_Title%>
<%set Eng_Title_loop = Eng_Title_1($Eng_Title)%>
<h4><b>English Title<%if Eng_Title_loop.length > 1%>s<%endif%></b>:
<%loop Eng_Title_loop%>
<%loop_value%>
<%endloop%>
</h4><br /><br />
<%~endif%>

Same... no data back...
dave

Big Cartoon DataBase
Big Comic Book DataBase

Last edited by:

carfac: May 14, 2008, 3:04 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 13415 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 4991 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