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.

adding additional links along side tabs above content

2»

Answers

  • try class custom2ThemeHooks implements Gdn_IPlugin {

    There was an error rendering this rich post.

  • tried it with the code update insterting
    class custom2ThemeHooks implements Gdn_IPlugin {
    again nothing happens on the page.
    I have the file called class.custom2themehooks.php and its in my theme's (titled custom2) main folder.
  • there is another theme hook in the folder, is that a problem? This theme hook is called class.embedfriendlythemehooks.php
    If I remove it and keep in my custom theme hook it prints the customtheme hook code at the top of the page. If I remove class.embedfriendlythemehooks.php and my customethemehook the page displays correctly. I'm not sure what the class.embedfriendlythemehooks.php does...
  • sahotataransahotataran ✭✭✭
    Answer ✓
    i think you can only have one themehooks in one folder.
    paste the code i gave you into the other theme hook and keep only on themehook in your theme folder.
    also make sure you donot declare your hook
    public function DiscussionsController_AfterDiscussionTabs_Handler($Sender)
    twice in your themehooks.php

    There was an error rendering this rich post.

  • awesome, worked perfectly, thank you so much
  • you r welcome :)

    There was an error rendering this rich post.

Sign In or Register to comment.