Skip to content

front_end_layout setting does not utilize RequestHandler #42

@ReplicaObscura

Description

@ReplicaObscura

When front_end_layout is set, it overrides RequestHandler's setting of the layout to 'ajax' if it is loaded via an Ajax request.

I could not figure out why all of my /users/ pages had the default layout, even when loaded via an ajax overlay. I turned out it was because I set the front_end_layout setting to 'default'.

How can I utilize the 'default' layout for normal requests, and the 'ajax' layout for ajax requests, without modifying Spark Plug's internal code? That is how the rest of my site works, but I can't figure out how to use the same thing for Spark Plug.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions