How to use random links to browser field?

I wanna add random link to browser field. How to do that?
I
ifox39d ago
Hi @HealMan do you mean if the browser field is empty in the CMS, you want to render a random record in your frontend as a fallback?
H
HealMan38d ago
Hi, @ifox , I mean we only can use internal link or slug for browser field... How to add external links?
I
ifox38d ago
Ok, by random, you meant external. it wasn't obvious... a browser field is meant to attach a record that exists in your CMS, so I'm not sure how it would store an external URL. However, this is usually achieve with both a browser and a standard text input for external url. You can use a conditional field to let the CMS user choose between internal or external. Or you can create a dedicated model for your external links so that you can browse them in the CMS, but that's most likely overkill
H
HealMan38d ago
Thanks for your advice. I will think more about it and if I have more questions I will let you know.
Want results from more Discord servers?
Add your server
More Posts
DatePicker is not working.I have added DatePicker to form builder. And added column to table, field to model... But when I savSave images in multple sizes for responsive?Hi Support Team, I would like to ask if Twill can store the images in multiple size for desktop, mobHow to display image from InlineRepeaterI want to dispaly the image from InlineRepeater. Please help me how to do it.how to upgrade twil 1.2.1 to latest versionhow to upgrade twil 1.2.1 to latest version twill cmsMulti-Select from Dynamic ValuesI created Location Model. And each location has multiple tags. I want to share tags across differeHow should I migrate from Legacy Settings to V3 Settings?I am having trouble accessing the setting goroup I created. When do php artisan route:list, settingCannot use connectedTo: Cannot unpack array with string keysHi I am having issues getting connectedTo to work in my Block. I have Twill 3.1.0 installed, but whasynchronous request in selectGood afternoon, I have two select fields. The thing is that when selecting the first select field, IUpgraded from Twill 2.13 to 3.2, frontend error when saving a module that uses 'editInModal' => trueI upgraded from Twill 2.13 to 3.2. When saving a module that is created/edited via a modal (using $iUpgraded from Twill 2.13 to 3.2, raw HTML links visible in browserHi, I upgraded from Twill 2.13 to 3.2. I am now seeing raw HTML edit links in my "Projecttags" browHow to use Conditional Fields in ControllerI want to add a Author select fields when shared_by === user ` $form->add( Radios::maBlock editor preview Vite issue?Hey all, I'm getting this when I preview a page module block editor in the admin: