Forum Discussion

ebroyles's avatar
11 years ago

How do you control the custom content that may appear on a custom page?

Lithium supports the ability to override core pages and also create custom pages (see http://lithosphere.lithium.com/t5/developers-knowledge-base/Creating-a-Custom-Page-in-Lithium-Studio/ta-p/6254).  Custom pages (aka custom page types) do not currently live within the community structure, which means that you cannot make use of Custom Content modules on the page (e.g. Custom Content 1, Custom Content 2, etc. as found in Studio).

 

I have a use case for doing just that.  What is the mechanism by which this can be done in Lithium?

  • SeanA's avatar
    SeanA
    Lithium Alumni (Retired)

    Hi,

     

    Can you clarify the problem you are running into? I just created a custom page and added custom content to it all via studio. Perhaps we are doing it differently?

    • ebroyles's avatar
      ebroyles
      Maven

      Hi Sean,

       

      Thanks for your response. I am able to add Custom Content components to the custom page type, however I do not know how to populate that custom content.  Since the custom content is controlled via the community structure, and the custom page type is outside of the community structure, I see no way to populate the Custom Content X components that are on the page.

       

      Eric

      • SeanA's avatar
        SeanA
        Lithium Alumni (Retired)

        Ah, those are defined in Admin. Do you have access?

         

        Admin->Content->Custom Content