franciccio-ITALIANO Posted January 29, 2018 Share Posted January 29, 2018 Hi, I read this: https://processwire.com/api/fieldtypes/repeaters/ I would like to put 3 same field link to same template, but in processwire I can put only 1. The modules repeaters can help me? I see the video and seem no, because I want add the SAME FIELD, not another o a group of another link. Someone can help me? Link to comment Share on other sites More sharing options...
zoeck Posted January 29, 2018 Share Posted January 29, 2018 I think you need "Multipliers": https://processwire.com/api/modules/profields/multiplier/ But this is a "ProFields" Module, it costs $129: Link to comment Share on other sites More sharing options...
kongondo Posted January 29, 2018 Share Posted January 29, 2018 34 minutes ago, franciccio-ITALIANO said: The modules repeaters can help me? Yes...unless am misunderstanding you. If you have a repeater with these 3 fields: Email (email) Phone (text) Address (text). When editing the page, you can have these repeated as many times as you want, e.g. Email (email) Phone (text) Address (text) Email (email) Phone (text) Address (text) Email (email) Phone (text) Address (text) Email (email) Phone (text) Address (text) Is that what you meant? Link to comment Share on other sites More sharing options...
zoeck Posted January 29, 2018 Share Posted January 29, 2018 8 minutes ago, kongondo said: Yes...unless am misunderstanding you. If you have a repeater with these 3 fields: Email (email) Phone (text) Address (text). When editing the page, you can have these repeated as many times as you want, e.g. Email (email) Phone (text) Address (text) Email (email) Phone (text) Address (text) Email (email) Phone (text) Address (text) Email (email) Phone (text) Address (text) Is that what you meant? Oh, i checked it, and it's also possible to set the repeater to "min. and max. 3 Values"... then it looks like this: And the config: Link to comment Share on other sites More sharing options...
franciccio-ITALIANO Posted January 29, 2018 Author Share Posted January 29, 2018 Hi Zoeck, I seen that modules but I haven't 129€. Hi, kongondo. I want repeat in a same template, 3 link-url-field, but this links changes page by page. For example, in a page I put: link A, link B, link C. In another page, with same first template, i put: link D, link G, link F. With Processwire I can put in a page only 1 space-field link-url. Or I wrong? Link to comment Share on other sites More sharing options...
zoeck Posted January 29, 2018 Share Posted January 29, 2018 Install the "Repeater" Module Create a new Field: Type - Repeater Change "Repeater item visibility in editor" to "Items always open" In this Field, Add one field (your url field) in the details tab and change the value of "minimum/maximum number of items" to 3 Add the repeater field to your template Now you have 3 identical fields in one template... this is the "free" version without the ProFields Module 1 Link to comment Share on other sites More sharing options...
kongondo Posted January 29, 2018 Share Posted January 29, 2018 53 minutes ago, franciccio-ITALIANO said: With Processwire I can put in a page only 1 space-field link-url. Or I wrong? That's not correct when it comes to repeaters. See @zoeck's step-by-step post above mine. Link to comment Share on other sites More sharing options...
dragan Posted January 29, 2018 Share Posted January 29, 2018 It depends how you want to use these 3 links in your template(s). You could just as well use a textarea field, and put each URL on a new line. Or you could store links as pages, and use a page references with multiselect. The latter approach would be wise if a link can be used more than once, and has the advantage that you only need to change the link in once place if you come across a broken link sometime in the future. 1 Link to comment Share on other sites More sharing options...
franciccio-ITALIANO Posted February 24, 2018 Author Share Posted February 24, 2018 mmm thank you Dragan for your suggests, but I understand the instructions of Zoeck and I do it. It work! Thank to all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now