Month: August 2025

Form field labels request

User https://marvelapp.com/prototype/33i88g76/screen/97377914 give all form field label Assistant I couldn’t open that Marvel link directly (their prototype viewer is blocked here). To get all the **form field labels**, can you do one of these: – Share a **screenshot** of the form screen, or – Copy/paste the form fields you see into chat. Then I’ll list […]

Add radio options

User OptionsetField::create('QualitatDerWohnung', 'Qualität der Wohnung', [ 'option1' => 'option1', 'option2' => 'option2', 'option3' => 'option3', ])->setTitle('Qualität der Wohnung') read all radio options and add in above with value and lable will same Assistant Got it ✅ From your screenshot, the **"Qualität der Wohnung"** section has the following radio options: – Neubau – Einfach – Gehobene […]

Form for add/edit apartment

User public function addapartment(HTTPRequest $request){ $member = Security::getCurrentUser(); $apartment = Apartment::get()->filter('MemberID', $member->ID)->first(); $form=$this->step1Form(); if ($member) { return $this->customise([ 'Form' => $form, 'Title' => 'Inserat erstellen zu Vermietung einer Wohnung', 'ObjectNumber'=>$form->Fields()->dataFieldByName('ObjectNumber')->setValue($apartment->ObjectNumber), 'GroupNumber'=>$form->Fields()->dataFieldByName('GroupNumber')->setValue($apartment->GroupNumber), 'WohnungType'=>$form->Fields()->dataFieldByName('WohnungType')->setValue($apartment->WohnungType), ])->renderWith(['Layout/Apartment/step1', 'Page']); }else{ return $this->redirect('/login'); } } public function step1Form(){ $fields = FieldList::create( TextField::create('ObjectNumber', 'Objektnummer')->setTitle('Objektnummer'), TextField::create('GroupNumber', 'Gruppennummer')->setTitle('Gruppennummer'), OptionsetField::create('WohnungType', 'Wohnung Type*', [ 'Wohnung' => […]

Fix addapartment error

User Assistant You’re getting “The requested page could not be found” because SilverStripe doesn’t know any route for `/appartment/addappartment`. You have two clean ways to wire this up. Pick one. — ## Option A — Stand‑alone route (no CMS page) Use this if you just want a controller endpoint. 1) **Controller:** (extend `Controller`, not `ContentController`) […]

Multiple files in Apartment

User namespace AppModel; use SilverStripeORMDataObject; use SilverStripeSecurityMember; class Apartment extends DataObject { private static $table_name = 'Apartment'; private static $db = [ 'ObjectNumber' => 'Varchar', 'GroupNumber' => 'Varchar', 'WohnungType' => 'Varchar', 'Uberschrift' => 'HTMLText', 'Mietwohnung' => 'HTMLText', 'Dieumgebung' => 'HTMLText', 'BilderId' => 'Int', 'VideoId' => 'Int', 'DocumentId'=>'Int' 'GrundId' => 'Int', 'ContactId'=>'Int', 'MemberID' => 'Int' ]; […]

Ticket WEBFL-330 details

User This is the ticket assigned to me Assistant I see that the ticket **WEBFL-330 – Bell HUG Dynatrace data-dtname** is asking you to: – Add a `data-dtname` attribute to specific “ and “ HTML elements in the **HUG flow**. – Follow the attached **data-dtname requirements** document for exact specifications. – This work was already […]

List ddev projects

User List ddev project Assistant To list all **DDEV projects** you currently have, you can use these commands depending on your context: ### 1. From anywhere on your system ddev list This will show all projects that DDEV knows about (with their name, status, and project directory). ### 2. From inside a project folder If […]

Remove public from URL

User # Start: Block all search engine bots from accessing the site – (Do not Edit) RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (googlebot|bingbot|baiduspider|yandex|duckduckbot) [NC] RewriteRule .* – [F,L] Header set X-Robots-Tag "noindex, nofollow" # New rule to override robots.txt RewriteEngine On RewriteRule ^robots.txt$ robots.txt [L] # End: Block all search engine bots from accessing the site – […]

Iframe error explanation

User explain me error in attached image iframe Assistant Short version: the 3-D Secure (SCA) challenge that should load inside the checkout iframe isn’t loading. The iframe is trying to open: `https://www.rsa3dsauth.co.uk/3ds2/cReqWebBased?issuer=fis` (An issuer/ACS page used for 3DS2.) Chrome can’t reach it, so it shows “The web page … might be temporarily down or moved.” […]

Explain $getWorkerInformationByMember

User please explain the code Hallo $Name Zur Übersicht Selbstauskunft hinzufügen $FormError $FormSuccess $FirstName $LastName Mietinteressent:in $FirstName $LastName Standaard contact $PositionUnterneehmen E-mail: $Email Zusätizlche E-mail: $ZusaEmail Tel: $CountryCode $Telefon Mobiel: $Mobile Fax: $Fax $Description um zu sehen hinzufügen <script> const accordions = document.querySelectorAll('.accordion'); accordions.forEach(acc => { acc.querySelector('.accordion-header').addEventListener('click', () => { // Optional: Close others before […]