The mobile system provides a powerful custom list tag ([articlelist (parameter list)] list content [/articlelist]), allowing us to design our own pages more freely and individually.
At the same time, the custom segments provided provide us with powerful expansion space.
Today, a friend asked me that the custom field cannot be parsed when I call the custom list tag on the homepage. The field name is displayed on the page.
In the past, I seldom used custom fields, and I used a custom list on the homepage to call custom fields.
Test it temporarily. The modification is made so that it can be parsed on the home page. The following describes the modification method:
ToArticleModule as an example, modifyInclude/powereasy. Article. aspFile:
Search first:
CodeFragment
Private function getcustomfromlabel (strtemp, strlist)
Then look:
Code snippet
Row 2,524th,
Set rsfield = conn. Execute ("select fieldname, labelname from pe_field where channelid =-1 or channelid =" & channelid &"")
Changed:
Code snippet
Set rsfield = conn. Execute ("select fieldname, labelname from pe_field where channelid =-1 or channelid = "&
IChannelid &"")
What have you seen? In fact, a field I is added. Because the channelid is resolved to the current channel ID when the tag is parsed, And the ichannelid is resolved to the channel Id set in the tag.