Blog

Next.js build output folder

User react nex js productio build not generating output folder now Assistant Gotcha—quick sanity check first: **Next.js doesn’t create an “output” folder by default.** – `next build` → creates a **`.next/`** folder for server/runtime deployment. – If you want a static site folder (often named **`out/`**), you must **export**. Here are the common cases + […]

T4 xlarge aws price

User T4 xlarge aws monthly price Assistant You’re most likely referring to **AWS EC2** when mentioning "T4 xlarge"—specifically, the **t4g.xlarge** instance type, powered by AWS Graviton2 processors. Here's the current pricing breakdown based on reliable sources: — ## EC2 (t4g.xlarge) – On-Demand Pricing ### **US East (N. Virginia, us-east-1)** – **Hourly rate:** $0.1344/hour citeturn0search1turn0search5 – […]

Add Silverstripe DateField

User add Silverstripe 5 DateField Assistant In **Silverstripe 5**, you can add a `DateField` to your form by using the built-in form field class `SilverStripeFormsDateField`. Here’s a simple example: use SilverStripeFormsForm; use SilverStripeFormsFieldList; use SilverStripeFormsDateField; use SilverStripeFormsFormAction; use SilverStripeFormsRequiredFields; public function MyForm() { $fields = FieldList::create( DateField::create('StartDate', 'Start Date') ->setHTML5(true) // enables native browser date […]

Make logo dynamic

User in sliverstripe Header.ss make it dynamic by set url Assistant In SilverStripe you shouldn’t hardcode image paths inside your template. Instead, make it dynamic so editors can update it via the CMS. ### ✅ Steps 1. **Add a DB field / relation for Logo** in your `Page.php` or `SiteConfig`. Usually, logo is better in […]

Live site issue

User https://wmb.ddev.site/themes/template/css/custom.css 404 but on live site its working fine we are using sliverstripe ddev setup Assistant In SilverStripe 4+ on DDEV (public web root), theme assets are exposed under `/resources/…`, not `/themes/…`. That’s why `/themes/template/css/custom.css` 404s locally but works on your live box. ### Fix options (pick one) 1) **Use the correct public path** […]

WooCommerce export queue issue

User WooCommerce Customer/Order/Coupon Export plugin Export scherdule job not woeing always shows queueued Assistant Got it—when that export stays “Queued,” it’s almost always a cron/Action Scheduler issue, not the plugin itself. Do this quick, surgical checklist: # 1) Verify WP‑Cron is actually running – Open: `https://your-site.com/wp-cron.php?doing_wp_cron` – If it downloads/200s quickly, good. If it times out […]

Mini cart blank fix

User we have created custom woocommerce product type probo_configuraor but when open product page of this type then woocommerce default min cart icon block modal shoqwing blank for other roduct type it works fine Assistant Got it. The Mini Cart **(Blocks modal)** going blank on your custom product type usually means the Store API response […]

MR vs PR difference

User What is difference between mr and pr Assistant Here’s the simple difference: – **MR (Merge Request)** Term mainly used in **GitLab** (and some other systems). It’s a request to merge changes from one branch into another (usually feature branch → main). Same concept as PR, just different naming. – **PR (Pull Request)** Term mainly […]

Apartment controller update

User Assistant Great—let’s switch your flow to use a specific **ApartmentID** created in step 1, and pass it through the next steps (via query string). This avoids “first apartment of member” problems and cleanly supports multiple apartments. Here’s the minimal, safe set of changes: — # 1) Add a helper to resolve the apartment by […]

Create form field SilverStripe

User HOw to create new form field $Title in silver stripe cms Assistant Got you. In SilverStripe you don’t “echo inputs” directly—you define a field in PHP, then (optionally) give it a custom template. Your HTML snippet matches the variables exposed by `OptionsetField`, so the cleanest way is to use an `OptionsetField` and override its […]