BBPress Jett : Replies Created

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Remove entry is not working #322974
    Jett
    Participant

    I updated to the latest versions and that fixed it. Evidently, I updated Connections and not the plugin.

    in reply to: edit entry #313591
    Jett
    Participant

    In the connections_link.php file and within the listActions function, I duplicated the code that generates the View My Directory Entry and added the word edit to the end of the link. see code below.

    I wasn’t able to get it to work in the widget so it just has another line under the View My Directory Entry

    preg_match( '/href="(.*?)"/', cnURL::permalink( array( 'slug' => $entry->slug, 'return' => TRUE ) ), $matches );
    $permalink = $matches[1];                   
    echo '
    '; printf( '%2$s',esc_url( $permalink ), _( 'Update My Directory Entry', 'connections_link' ));
    in reply to: edit entry #313588
    Jett
    Participant

    Thank you so much!
    I did purchase the Form extension.

    I was able to get it working, however, I was getting an error on getSlug() so I just appended /edit to the View My Directory Entry link.

    I look forward to the the widget!
    Thanks again to both of you.

    in reply to: edit entry #313548
    Jett
    Participant

    Do you know which file generates the directory list?
    I should be able to get the code that creates the View My Directory Entry link and then add the edit extension to it.

    Thanks for your help.

    in reply to: edit entry #313541
    Jett
    Participant

    Thanks Dom!
    I can see the edit show up when I select the name now.
    However, I was trying to get edit entry to show up when I view the entire directory to save the user the step of selecting their name.

    Any ideas?

    in reply to: edit entry #313539
    Jett
    Participant

    Hi!
    I’m trying to do the exact same thing:
    1) I created a PHP Code Widget
    2) Inserted the code above without the first and last line
    3) Added the widget to show on my directory page

    However get_query_var(‘cn-entry-slug’) returns false every time.
    If I force it to true, I get Fatal error: Cannot use object of type connectionsLoad

    I just want to move the link to a different location on the page.

    Any suggestions?

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)