Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Badges

judgej · newb

About

Username
judgej
Joined
Visits
396
Last Active
Roles
Member, Community MVP
Points
23
Badges
4
  • Extending the "messages" positions

    In case this is useful to anyone else, this is what I added to a custom plugin (I have a plugin just for adding custom overrides):

    public function MessageController_AfterGetAssetData_Handler(&$Sender) {
    $Sender->EventArguments['AssetData']['Foot1'] = 'Footer column 1';
    $Sender->EventArguments['AssetData']['Foot2'] = 'Footer column 2';
    $Sender->EventArguments['AssetData']['Foot3'] = 'Footer column 3';
    $Sender->EventArguments['AssetData']['Foot4'] = 'Footer column 4';
    }


    That function then adds four new message positions to allow me to add content. These show up in the dashboard->messages->add popup.

    In my theme I have four columns defined, each of which pulls messages as content from one of the four message asset areas, e.g. in the theme views/default.master.php:


    <div id="Foot">
    <div class="column1"><?php $this->RenderAsset('Foot1'); ?></div>
    <div class="column2"><?php $this->RenderAsset('Foot2'); ?></div>
    ...etc
    </div>


    And that is it. Apart from styling, this now gives me four areas in the footer where I can add more information that can be be changed regularly through the admin screens.
    matt
  • No email to users if category is already established

    No sorry. Once the web service API has been expanded to handle updates as well as simply reading data, I'm sure there will be a proliferation of such plugins and services.
    DanielSchulzJackson
  • There is a half-way step too

    This is a nice feature, and I'm sure it would be useful.

    Once half-way house that I have found useful on some sites, is a "killfile" that each individual user can set up. It is basically a list of other users that the the user is not interested in. It is like having your own personalised list of banned users.#

    Sometimes, in some communities, there are some individuals that you really do not consider to have anything useful to offer, and so make them disappear from the threads you read, to save having to wade through all their posts.
    candyman