Latest #layout Threads 
Hi everyone. I’m pretty new to Elixir and Phoenix, and I chose it to build a web app mainly to learn a new ecosystem. It has been a lonel...
New
How can I set a specific layout for a specific LiveView?
I have the following route:
scope "/:locale", MyAppWeb do
pipe_through :...
New
What is defeating me today:
I want a component, included from a layout template, to have access to conn and/or assigns
What I am doing:...
New
I’m trying to configure a new layout for the home page (/) so the only way I have found so far is to configure a new pipeline replacing t...
New
What is the correct way of defining master layouts using Phoenix 1.7?
I want to define different master layouts that then render the inn...
New
Hello,
I have a custom layout for use in a pipeline as
pipeline :admin_required do
plug MyAppWeb.Plugs.AuthAdmin
plug :put_root_layo...
New
Is there a way for an HTML module to render some content that can be hoisted up into one of the parent layouts?
Our goal is to mimic the...
New
I apologize if this has been discussed before, and I’m sure it probably has been, but it’s very hard to search for. I’ve been putting of...
New
I haven’t used phoenix for some time and the new layouts confuse me:
/layouts
app.html.heex
root.html.heex
From what I remember bef...
New
Hey everyone,
I’m trying to do something fairly simple and for some reason I just can’t figure out the answer.
I have the standard layo...
New
This Week's Trending
This Month's Trending
This Year's Trending
Hi everyone. I’m pretty new to Elixir and Phoenix, and I chose it to build a web app mainly to learn a new ecosystem. It has been a lonel...
New
Last Three Year's Trending
I haven’t used phoenix for some time and the new layouts confuse me:
/layouts
app.html.heex
root.html.heex
From what I remember bef...
New
I’m trying to configure a new layout for the home page (/) so the only way I have found so far is to configure a new pipeline replacing t...
New
Hello,
I have a custom layout for use in a pipeline as
pipeline :admin_required do
plug MyAppWeb.Plugs.AuthAdmin
plug :put_root_layo...
New
How can I set a specific layout for a specific LiveView?
I have the following route:
scope "/:locale", MyAppWeb do
pipe_through :...
New
I apologize if this has been discussed before, and I’m sure it probably has been, but it’s very hard to search for. I’ve been putting of...
New
Is there a way for an HTML module to render some content that can be hoisted up into one of the parent layouts?
Our goal is to mimic the...
New
What is the correct way of defining master layouts using Phoenix 1.7?
I want to define different master layouts that then render the inn...
New
What is defeating me today:
I want a component, included from a layout template, to have access to conn and/or assigns
What I am doing:...
New
Trending Over Three Years
Hey everyone,
I’m trying to do something fairly simple and for some reason I just can’t figure out the answer.
I have the standard layo...
New
Hello,
I have a plug which adds a layout to some controller functions.
With Phoenix 1.6, I wrote it like this and it worked fine.
plug...
New
Phoenix 1.6.6 phx.new puts some new plugs on top of router.ex these days. Those are:
plug :fetch_live_flash
plug :put_root_layout, {Phx...
New
In 1.6 one could use something like
pipeline :guest_layout do
plug :put_layout, {PhxAppWeb.LayoutView, :guest}
end
inside router.ex an...
New
I have a very simple plug that sets the subdomain layout based on the Endpoint subdomain.
defmodule MyApp.Plug.Subdomain do
import Plu...
New
I’ve been working on a project that started as 1.16 as a REST API. We’re in the process of adding UIs and with all the changes to in 1.7,...
New
I’m using the latest Phoenix 1.7 RC with layouts based on Phoenix.Component.
Is it possible to define optional slots in Live layouts?
(...
New
Looking for opinions.
I am in discussion with someone who would like to restructure phoenix project file structure so that model, view, ...
New
ColourHash
The idea is to be able to assign a colour to a user or concept that is inline with your current key colours
A port of https:/...
New
I am trying to cache static web pages in ETS, and using render_to_iodata does not seem to include the layout. I was wondering the proper...
New
How to set a layout for a certain action/page of a controller? Not for a whole controller.
New
The documentation for 1.7 rc0 mentions a LayoutView module in a number of places, but that module doesn’t exist in my generated 1.7 apps....
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







