Latest #layout Threads Top

ozymandias
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
ryanzidago
How can I set a specific layout for a specific LiveView? I have the following route: scope "/:locale", MyAppWeb do pipe_through :...
New
bluejack
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
joseratts
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
ekevu123
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
Sidi_Mohammed
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
kccarter
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
sodapopcan
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
D4no0
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
ajur58
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 Top

This Month's Trending Top

This Year's Trending Top

ozymandias
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 Top

D4no0
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
joseratts
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
Sidi_Mohammed
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
ryanzidago
How can I set a specific layout for a specific LiveView? I have the following route: scope "/:locale", MyAppWeb do pipe_through :...
New
sodapopcan
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
kccarter
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
ekevu123
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
bluejack
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 Top

ajur58
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
MatijaL
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
silverdr
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
silverdr
In 1.6 one could use something like pipeline :guest_layout do plug :put_layout, {PhxAppWeb.LayoutView, :guest} end inside router.ex an...
New
sergio
I have a very simple plug that sets the subdomain layout based on the Endpoint subdomain. defmodule MyApp.Plug.Subdomain do import Plu...
New
binarypaladin
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
cblavier
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
samrose
Looking for opinions. I am in discussion with someone who would like to restructure phoenix project file structure so that model, view, ...
New
Emil
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
mpope
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
Darim
How to set a layout for a certain action/page of a controller? Not for a whole controller.
New
starkeepers
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement