About how the link address of the [field: arcurl] tag in dedecms is generated .... there is always a problem that persists. in dedecms, there is a hyperlink label [field: arcurl/] label, which is generally [field: database field name/] in other labels. the [field: arcurl/] arcurl in this tag is not a field in the data table. how does this tag work...
Reply to discussion (solution)
Arcurl is a derived field whose values are calculated (because the values of dynamic and static pages are different)
Arcurl is a derived field whose values are calculated (because the values of dynamic and static pages are different)
The key is that I have a video topic page, as shown in:
This page shows the dedecms page. the template is the list_article_ms.htm page. to achieve this, click the following title to display the video on this topic page. the key to the problem is to use {dede: the [field: arcurl/] tag is used to overlink the arclist tag. Therefore, the calculated link addresses all point to the content page. after thinking about it, I still have no clue, how can this problem be achieved? click the title below to display the video on this topic page ....
In this case, you can create an article model that can publish a video and add a video address field in the same category page as calling the article address. for example, you add a field named ship.
{dede:list addfield='ship'}[field:ship/]{/dede:list}
In this way, you can call your custom field and use js to play the video you clicked.
In this case, you can create an article model that can publish a video and add a video address field in the same category page as calling the article address. for example, you add a field named ship.
{dede:list addfield='ship'}[field:ship/]{/dede:list}
In this way, you can call your custom field and use js to play the video you clicked.
In this way, I cannot call the value of the videourl field, but I can adjust it to the value in the body, which is a very strange problem. In addition, I found that only the value in the body field can be called in the additional table... other custom ones cannot be called ..
I wrote it in the following way:
{Dede: list addfields = 'videourl, aid 'channelid = '1' pagesize = '5 '}
[Field: title/]
{/Dede: list}
In addition, no matter whether channelid = '1' is added or not, it cannot be called ....
In addition, no matter whether channelid = '1' is added or not, it cannot be called ....
The channelid here is based on the ID number of your model, not all write 1
In addition, no matter whether channelid = '1' is added or not, it cannot be called ....
The channelid here is based on the ID number of your model, not all write 1
I want to find the value of the viewurl field in the dede_addonarticle table, and the channelid corresponding to this table is 1 !... Why can't I succeed ..
Arcurl is the result calculated by the GetOneArchive function of generic./include/helpers/archive. helper. php (V5.7 or later ).
In addition, no matter whether channelid = '1' is added or not, it cannot be called ....
The channelid here is based on the ID number of your model, not all write 1
I want to find the value of the viewurl field in the dede_addonarticle table, and the channelid corresponding to this table is 1 !... Why can't I succeed ..
Add the addfields parameter while adding the channelid, for example:
{dede:arclist channelid='1' addfields='viewurl'}[field:***/]{/dede:arclist}
In addition, no matter whether channelid = '1' is added or not, it cannot be called ....
The channelid here is based on the ID number of your model, not all write 1
I want to find the value of the viewurl field in the dede_addonarticle table, and the channelid corresponding to this table is 1 !... Why can't I succeed ..
Add the addfields parameter while adding the channelid, for example:
{dede:arclist channelid='1' addfields='viewurl'}[field:***/]{/dede:arclist}
Addfields = 'viewurl'. I also added this parameter ....
In addition, no matter whether channelid = '1' is added or not, it cannot be called ....
The channelid here is based on the ID number of your model, not all write 1
I want to find the value of the viewurl field in the dede_addonarticle table, and the channelid corresponding to this table is 1 !... Why can't I succeed ..
Add the addfields parameter while adding the channelid, for example:
{dede:arclist channelid='1' addfields='viewurl'}[field:***/]{/dede:arclist}
Addfields = 'viewurl'. I also added this parameter ....
No, unless you make a mistake.
In addition, you do not need to write addfields on the list page to call the additional table Field. you can set it in the content model.