Support » Plugin: Frontier Post » Works well and query re p2

  • Resolved valuser

    (@valuser)


    Many Thanks for an awesome plugin.

    Just one tiny query.

    In a theme like p2 that already has basic front-end posting and editing the setting

    Frontier Edit (should) mean (s) that if a user selects the edit link on a post, Frontier will be used to edit instead of backend

    In the p2 theme the edit url is indeed changed to http://www.mysite.dev/frontier-post/?task=edit&postid=230 exactly as in the frontier page but p2 appears to intercept it as you still get the basic edit and not the frontier one.

    Any idea if this could be fixed ? Not a huge issue but it would be great.

    http://wordpress.org/extend/plugins/frontier-post/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author finnj

    (@finnj)

    Hi,

    Strange, I have no idea why.

    The redir option is designed so it will only execute if triggered from the front end – Are you clicking the edit link from the front end or from the backend ?

    if you want to be able to access frontier edit from the backend you need to change the following code in frontier-post.php (line 408)

    if ( is_admin()  ) // Administrator in admin dashboard, dont change url
    		{
    			return $url;
    		}
    	else
    
    Change first line to:
    if ( false && is_admin()  )

    but they might hook into the edit link using jquery, if that is the case, I am unable to do anything about it.

    Are you able to disable the frontend editing in P2 from a setting ?

    Plugin Author finnj

    (@finnj)

    Had a quick look at P2 theme (without installing it), at it seems like it is using a lot of js to manipulate output, so I expect this is why the edit_redir is overruled.

    You might try and ask in the P2 support forum if this is the case

    valuser

    (@valuser)

    Thank you. Will do. Have added the p2 tag to this query

    Plugin Author finnj

    (@finnj)

    I have marked this as resolved, please re-open if I can be of further assistance

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Works well and query re p2’ is closed to new replies.