How difficult would it be to add/display an additional user attribute?

Plugin Development

Suggested Topics


  • 0 Votes
    11 Posts
    846 Views

    @dogs
    Not sure if this is still relevant to you, but I followed your code and was getting the same results. The code wasn't firing despite having a console log in the theme.js file.

    Then I decided to click on the 'Clone widgets from...' and selected 'Categories'. After that all of the .tpl names showed up in the drop down. After that any changes to the theme.js file are firing as should.

    Make sure you build and restart. I am using the included GRUNT to make development faster. Cheers!

  • 0 Votes
    8 Posts
    2k Views

    @PitaJ Perfect, thanks a ton!

  • Users skins

    Plugin Development
    0 Votes
    2 Posts
    1k Views

    You might be able to use config.bootswatchSkin

  • 0 Votes
    2 Posts
    1k Views

    @Thadeusz-Lay don't think there are hooks to do that. You can accomplish it by adding some js and css in ACP -> Appearance -> Custom HTML & CSS.

    Here is an example. You will need to add code to handle what needs to happen on clicking the button.

    Custom Header:

    <script type="text/javascript"> $(document).ready(function() { $(window).on('action:ajaxify.end', function(ev, data) { $('[component="account/cover"] .avatar-wrapper').append('<button class="btn-new"><i class="fa fa-plus"></i></button>'); }); }); </script>

    Custom CSS:

    .avatar-wrapper .btn-new { height: 2em; width: 2em; line-height: 2em; border-radius: 50%; border: none; background: #F44336; color: #fff; overflow: hidden; top: 93px; left: 4px; position: absolute; }
  • User Permissions

    Plugin Development
    0 Votes
    4 Posts
    2k Views

    Thanks a lot @baris.

    I'll investigate this route.