• Resolved laptophobo

    (@laptophobo)


    Within my Custom Content Type Manager I’m trying to add the ability to add/select a pdf file from my library. I’m unable to get it to work like I was able to get text fields to work. (Is there a video tutorial just for this kind of field?) Anyway, here’s what I got…

    Custom Fields Settings:

    Label is: Trip Preparation Guide
    Name: trip_preparation_guide
    Field Type: Media Field

    Then when I go to create a new custom post I see a selector (and it appears that I can add the pdf item), but when I click it, it does not allow me to save the page. And, the link does not show in View Post.

    In my custom post template I’m using this tag:
    <?php print_custom_field(‘trip_preparation_guide’); ?>

    Thinking that I must be doing something wrong here, I’ve looked at the Wiki site and tried this tag on the template:
    “>Download PDF

    However, that isn’t working either.

    https://www.ads-software.com/plugins/custom-content-type-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter laptophobo

    (@laptophobo)

    I did go back to the “View Sample Templates” to pick up the correct code, which is supposed to be this:
    <img src=”<?php print_custom_field(‘trip_preparation_guide:to_image_src’); ?>” />

    But I’m still unable to get the filed to save in my Custom Post.

    Thread Starter laptophobo

    (@laptophobo)

    I was able to figure out the some of the problem after all. The Custom Field was position low on the Content Types template. And when you select either a Media or an Image, the right sidebar disappears, making it impossible to click the Publish or Update button on the top. I re-positioned the Custom Field to be closer to the top of the page, so now I can reach the Publish/Update button, which then activates the Custom Field. HOWEVER, this really isn’t a great solution. I’m wondering if anyone has had the disappearing scroll bars using said Custom Fields?

    Thread Starter laptophobo

    (@laptophobo)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF file link as Custom Content Type field’ is closed to new replies.