Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

how to change AuthorTimeView position

ChanuxChanux Admin of Geek.lk ✭✭
edited June 2012 in Vanilla 2.0 - 2.8

how to change AuthorTimeView position

now : view(s)328 .. 2 Likes .. answered .. 22comments .. Most recent by Chanux

i want : 2 Likes .. answered .. 22comments .. Most recent by Chanux .. view(s)328

Best Answer

  • peregrineperegrine MVP
    edited June 2012 Answer ✓

    I'll give you one way to change the position, if you don't like the possible change - modify helper_functions.php (not in the plugin) in to do whatever you want - which will be unrelated to the plugin.
    Unfortunately there is no event to place it where you want exactly, and its not worth a javascript rewrite of all the elements,

    here's a change to move it further right.

    change references on line 42 and line 76 in default.php

        from
         DiscussionsController_BeforeDiscussionMeta_Handler(&$Sender)
    
         to
       DiscussionsController_DiscussionMeta_Handler(&$Sender)
    
    
    that's the best I will do for you at this time.
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Answers

  • peregrineperegrine MVP
    edited June 2012 Answer ✓

    I'll give you one way to change the position, if you don't like the possible change - modify helper_functions.php (not in the plugin) in to do whatever you want - which will be unrelated to the plugin.
    Unfortunately there is no event to place it where you want exactly, and its not worth a javascript rewrite of all the elements,

    here's a change to move it further right.

    change references on line 42 and line 76 in default.php

        from
         DiscussionsController_BeforeDiscussionMeta_Handler(&$Sender)
    
         to
       DiscussionsController_DiscussionMeta_Handler(&$Sender)
    
    
    that's the best I will do for you at this time.
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • ChanuxChanux Admin of Geek.lk ✭✭

    yes.. its working. thanx

  • 422422 Developer MVP

    Fgs put some clothes on !

    There was an error rendering this rich post.

  • Chanux said:
    yes.. its working. thanx

    :) The gif made it worth the effort.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.