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.

Which file controls bigbutton please

422422 MVP
edited December 2011 in Vanilla 2.0 - 2.8

I am fiddling with BigButton ( start a new discussion )

Just wondered which file, I would need to edit to play with the button and its dependencies.

(file or files )

Looked in discussion and discussions folders... kind of bewildered lol

If its any help .. I am creating animated discussion button. Code is:

< a href="#" class="a-btn">
                        < span class="a-btn-text">Start a new< /span>
                        < span class="a-btn-slide-text">Thread< /span>
                        < span class="a-btn-icon-right">

There was an error rendering this rich post.

Best Answer

  • ToddTodd Vanilla Staff
    Answer ✓
    /applications/vanilla/views/modules/newdiscussion.php
    

Answers

  • ToddTodd Vanilla Staff
    Answer ✓
    /applications/vanilla/views/modules/newdiscussion.php
    
  • ToddTodd Vanilla Staff

    And if you start wrapping your multi-line code blocks in <pre><code> instead of just <code> you'll make my Christmas.

  • I normally do Todd apologies mate. Will start playing with bigbutton code, thanks :)

    There was an error rendering this rich post.

  • Ok Thats that done !!! Wow looks awesome...

    Now I need to find Start a New Conversation bugger ! lol ... I will hunt the blighter down

    There was an error rendering this rich post.

  • ToddTodd Vanilla Staff

    Hint: Very similar path to newdiscussion.php.

    The other thing I highly recommend if you are doing Vanilla or any development/theming really. Get an IDE that allows you to search through files. Tim and I use netbeans which is great. A lot of designers use coda. Basically anything beyond a simple text editor allows you to search through all the files in a folder.

    Once you've got that you can just search for the text you see in the application. (ex. "Start a New Conversation").

  • I will do that, i use editplus and to do file wide wildcard search, i have to open every file lol.

    There was an error rendering this rich post.

  • ToddTodd Vanilla Staff

    They should call that editminus amiright?

  • Ive used it for years , its just easy .. I should get a different ide. My lad recommends sublimetext will give it a go.

    There was an error rendering this rich post.

Sign In or Register to comment.