Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

Forums OroCommerce New logo for customer portal

This topic contains 7 replies, has 3 voices, and was last updated by  zhex900 7 months, 3 weeks ago.

  • Creator
    Topic
  • #15148

    zhex900
    Participant

    Hi,
    I am trying to change the frontend logo. My code is here https://github.com/zhex900/OT

    I have run this commands to install the new bundle. However the logo did not change. What am I doing wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #15150
    Michael
    Michael
    Participant

    Are you trying to create your own theme or just change something in the default one?
    If your own theme (the recommended approach) – make sure all your layout files and the theme definition file (theme.yml) are in Resources/views/layouts/yourthemename folder (and not in Resources/views/layouts/default).

    #15151

    zhex900
    Participant

    I have rename default to ot.

    app/console oro:theme:list did not show my theme. Should I follow this https://www.atwix.com/oro/theme-customization?

    #15152

    mmiasnikov
    Moderator

    Hi, zhex900.

    Yes, you can follow the atwix article, but also (it’s preferable) you can follow the official Oro documentation Create reusable themes.

    Anyway, to get your theme available, you have to do the following:
    1) declare your theme in ‘oro_theme:’ section in ‘app/config.yml’ file
    2) OR create the ‘settings.yml’ file (in ‘Resources/public/themes/ot/’ folder) with your theme settings

    Please, see detailed information on Create reusable themes page.

    #15153

    zhex900
    Participant

    I have added ot-theme to app/config.yml
    oro_theme:
    active_theme: ot_theme

    After cache clear. I have this error.

    php app/console oro:theme:list

    [Oro\Bundle\ThemeBundle\Exception\ThemeNotFoundException]
    Theme “ot_theme” not found.

    Here is the new repo
    https://github.com/zhex900/ot-theme

    #15154

    mmiasnikov
    Moderator

    Hello, zhex900.

    If you’ve preferred adding theme settings to app/config.yml (not to ‘Resources/public/themes/ot/settings.yml’), you should follow instructions in Application specific Themes section, namely – declare your theme also in ‘themes’ subsection of ‘oro_theme’ section, for example:

    #15155

    zhex900
    Participant

    T

    #15157

    zhex900
    Participant

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossosso