Comment to 'How to create a page like the 'Start' (Pricing Plans) page?'
  • The main block of the Pro plans page is the part of our own custom module where we are placing the similar non-standard things.

    • Thanks for your reply @LeonidS. Would you mind being more specifc for my use case? I don't need to create a custom module. I am just trying to create a custom page that should look like the Pro plans page. I've mentioned the Pro plans page just as an example.

      I am wondering:

      - whether to use a raw, html or lang block,

      - whether to use a single block for the whole page and place all the html/php codes inside or use many blocks and place each page section in its own block,

      - whether to use a lang block for translation or use a raw or html block, then use language keys inside,

      - whether to place the FAQ question in a language key and FAQ answer in the another one or to place both question and answer (text) directly inside the html/php code without the use of a language key.

      Hope It all makes sense now. Thanks

      • Let's review your questions:

        - whether to use a raw, html or lang block,

        The RAW block is the most universal solution. You may use there the lnaguage kye too as the code like this one:

        <bx_text:_bx_contact_menu_item_title_system_contact />
        

        It will be inserted as the translated part too.

        - whether to use a single block for the whole page and place all the html/php codes inside or use many blocks and place each page section in its own block

        It depends from the task and design. If you consider that there is no need to connect the page parts then it would be good to have several blocks.

        The last 2 questions - as I answered above, you may use the langauge keyes directly in the RAW code.

        • Thanks a lot for reviewing my question. I appreciate it. I was trying to run away from using language keys as I will have to create many of them. Anyway, I think that I don't have any better option. Thanks a lot for your advise and tips.