php - Question about an array in gallery2 -
I am working on an amendment from a topic in the "gallery2" open source project.
Here is the code that I am looking for:
for anyone familiar with this, in the SearchShowAll.tpl file in the search module in the module section of your download
<. Code> & lt; Ul class = "giInfo" & gt; {Result from $$ result.fields item = area}
This is a clever foreach loop and it grabs this data
Title: BB 08 PR 6-340
Summary:
Keywords: a hillbilly cat; Gavin Jordan; Margo Hazell
Description:
Owner: Gallery Administrator
However, I want to get it title: and display it, none of the other stuff. I do not know how the array looks and how to get a special value in the smart feature and also unsure about this gallery.
I used the section tag to exclude it. I was also referring to Array Value as wrong.
{section name = field loop = $ result.fields max = 1} & lt; Li & gt; & Lt; Span class = "ResultData" & gt; {$ Result.fields [field] .Value | Default: "& amp; nbsp;" | Markup} & lt; / Span & gt; & Lt; / Li & gt; {/ Section}
Comments
Post a Comment