search

Home  >  Q&A  >  body text

DeDeCMS was modified to the absolute path method of the whole site. The list page is not called. Please guide me!

1. Setting method:

1.jpg

2. Home page dede:arclist call dynamic jump URL cannot be used, query Baidu, the following code can solve the problem. URL: https://www.wlzm369.com/index.html The homepage announcement can be displayed:

{dede:arclist row='6' titlelen='50' typeid='11 ' addfields='redirecturl' channelid='1' orderby ='pubdate'}

<div class="col-md-6">

" <img src="/ images/new.gif"> <a href="[field:array runphp='yes']if (@me['redirecturl']=='') @me=@me['arcurl'];else @me=@me['redirecturl'];[/field:array]" title="[field:title/]" target="_blank">[field:title/]</a> <img src ="/images/time.gif"> [field:pubdate function="MyDate('Y-m-d',@me)"/]

</div>

{ /dede:arclist}

3. The link to the list page has always been wrong (calling the dynamic jump URL). It can only be used with a relative address. Please help and guide the experts. Thank you very much!

My QQ: 172003226 Thank you!

A-王青召A-王青召2218 days ago1168

reply all(0)I'll reply

No reply
  • Cancelreply