Forum Replies Created

Viewing 12 posts - 61 through 72 (of 72 total)
  • Author
    Posts
  • in reply to: Suggestion: Be able to add metaboxes field to a specific page #433
    kattagami
    Member

    Wow awsome, thanks James, it’s very cool of you.
    I will give your code a try.

    Hope your code would be intergated in futur version of Piklist 🙂

    in reply to: Suggestion: Be able to add metaboxes field to a specific page #424
    kattagami
    Member

    Thanks Steve for this improvement.

    In this thread, we spoke about the possibility to use the Template Page. Do you plan to implement this feature in the next Piklist update ?

    in reply to: Notice when create more than one CPT in a plugin #352
    kattagami
    Member

    This is a very simplified version of my plugin.

    My environnement:
    WordPress 3.4.2
    Piklist 0.6.6
    Empty Data base
    No other plugin activated apart from Piklist plugin.

    This is a simple plugin to use with 2010 theme of WP for example.

    This plugin just creates two CPTs (CPT1 and CPT2) and two Pages.

    When you activate this plugin, you must see this Notice:


    Notice: Undefined index: cpt2 in xxx/www/wordpress/wp-content/plugins/piklist/includes/class-piklist-cpt.php on line 122

    I hope this code could help you.

    in reply to: Notice when create more than one CPT in a plugin #351
    kattagami
    Member

    Ok I will come back with more code. I will try to reproduce the problem with a simplified version of my plugin. May be tomorrow otherwise in a week.

    Thank you

    in reply to: Notice when create more than one CPT in a plugin #349
    kattagami
    Member

    This is my code. These pieces of code are used in two different Classes. I just paste the CPT registration function.

    Gist code

    in reply to: Bug: Display icon menu #333
    kattagami
    Member

    Thank you @Steve, ICON_URL seems to be what I need for my icon menu.

    in reply to: Bug: Display icon menu #331
    kattagami
    Member

    I think I was wrong, this is not a Piklist bug but just how WordPress Works.

    If somebody know how to achieve this, I’m interesting 🙂

    in reply to: Suggestion: Be able to add metaboxes field to a specific page #295
    kattagami
    Member

    And instead of target an ID or a Slug in the file comment section, why not target a custom template ?


    /*
    Title: My Meta Box
    Post Type: page
    Template: my_custom_template
    */

    I set specific metaboxes for a custom template (custom template label not change) and then when I create a page (manualy or by code) I can choose the right template (manualy or by code) to set my specific metaboxes to my pages.

    in reply to: Suggestion: Be able to add metaboxes field to a specific page #290
    kattagami
    Member

    I’m agree with you, Slug can change but using the ID implie to know the ID in advance, right ?

    Now imagine this situation:

    When I activate my theme, I decide to automaticly create a new page. When I code this creation, I can decide the Slug but not the ID.
    If I want to set some specific metaboxes for this new page (at the same time, during the theme activation), how can I know wich ID indicate in the file comment section ?

    in reply to: What to expect for future release #187
    kattagami
    Member

    Yes i’m agree with @pdwouters, furthermore Github provides a RSS feed and it’s very handy to follow the commits so the diffrent new features.

    in reply to: What to expect for future release #179
    kattagami
    Member

    Are you planning to put the piklist code to Github ?

    in reply to: What to expect for future release #175
    kattagami
    Member

    Thank you Steve for your answer.

    English is not my native language so I probably wasn’t be clear in my first expectation.

    I think it’s very hepful to be able to re-order Custom Post Type in the backend.
    Plugins like “Simple page ordering” http://wordpress.org/extend/plugins/simple-page-ordering/ do that but the solution is not perfect yet. It could be nice to have the same thing in Picklist.

    Point 2 you said: “Field groups for CPT’s are standard meta boxes and are drag-n-drop.” In your démo, when I use add_more button to duplicate a Field group, I can’t, for example, drag and drop the last field group to put it above the first one. Do I miss something ?
    Look at this picture to see what I mean, this picture speak better than my English 😉

Viewing 12 posts - 61 through 72 (of 72 total)