The method of inputting numbers on the dream list page to jump to the specified paging
Dream list page input number to jump to the specified paging method? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
Dream list page input numbers how to jump to the specified paging code?
Dream weaving DEDECMS list page enter a number to jump to the specified paging code
Recommended study: dream weaving cms
Edit the open list page template, the default path is
Insert the following code between, and you can also make a JS call.
/ / 100) {beginPage = 100;} if (beginPage > 1) {document.beginPagefrm.action = "list_ {dede:field name='typeid'/} _" + beginPage + ".html";} else {document.beginPagefrm.action = "{dede:type typeid='0' row=1} [field:typelink /] {/ dede:type}";} return true;}
The following is the paging code of the list page, replacing the original paging code, has been tested to be effective, and the specific display style is adjusted by itself.