WordPress.org

Ready to get started?Download WordPress

Forums

WP Publication Archive
publication archive plugin modification (6 posts)

  1. kennethw
    Member
    Posted 2 years ago #

    Hi, Eric:
    I install your publication archive plugin in my website, it works fine, thank you,
    but I want ask you
    1. how to make a change, when click the download button to open the files not to save the file;
    2. how to add the author and jurnal name on it and both of them have link to them.
    thanks
    ken

    http://wordpress.org/extend/plugins/wp-publication-archive/

  2. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    1. The open versus save is handled by the browser, not by the plugin. All you can do from the server side is send the file to the browser, then it's up to the browser, its installed plugins, and the user to either save the file or open it.

    2. I'm not 100% sure what you're asking here. Do you just want to publish additional meta information with the publication?

    I don't have controllable templates for the output yet ... but they're coming in a later version. If you can describe exactly how you want to be able to output the information I'll be sure to include your input when I build out and release the feature.

  3. kennethw
    Member
    Posted 2 years ago #

    I mean the author name and the title of the article, Can link to the author profile page, or the article page, or the Journal name the article published.
    thanks
    ken

  4. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    You can't link to the author profile just yet. Authors, in the case of publications, are just tags. They don't have any other information set up. Your Author tags might match Authors in WordPress, though, so that might be the kind of profile page you want to link to.

    In the current version, though, you can't do this.

    Linking the title of the article will be possible when I release the customizable template version of the plugin in a bit. But right now, you'd have to hack the plugin itself and would lose your changes when you update to a new version.

    As for linking the Journal name ... that depends 100% on how you're adding the Journal name. If you're putting it in to the Summary field for a publication, you'd just create a regular <a href="...">Journal</a> link.

  5. kennethw
    Member
    Posted 2 years ago #

    what i like to see on file loading page are: article name, article summary , article author( this plugin not have) and where published( journal name etc )(not have in this plugin),is anywhere can modify and add on. in file loading table?
    Can you tell me where "download button" and "title name" in PHP file.

    thanks
    ken

  6. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    All of that additional meta information (article summary, where published, etc) is on my to-do list for a future release. At the moment, there's no functionality to add that to the system.

    The author, though, is a field you can use. But right now, the author field is meant to represent authors external to the site.

    For example, if one of your Publications was the play "Hamlet," you'd want to list William Shakespeare as the author. There's a box on the right-hand side of the Publication edit screen where you can add authors. Think of these for now as free-form tags (like tags/categories for a post). It's just a way to categorize your publications for now.

    As for the "download button" and "title name," all of the markup is located in /lib/class.publication-markup.php. I apologize that the strings aren't properly internationalized, but this markup file was meant to be a short-term fix while I re-built the templating engine and I got sideswiped by other projects.

    If you need to modify any of the markup in this file, feel free ... just keep in mind that much of this file will disappear in a future version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic