https://www.screencast.com/t/wiI6zXpTjP13 is the button. The generator then pops up and has several tabs and then sections inside the tabs, some of them with options to select.
The shortcode generator isn’t available in anything but the classic builder. You can generate the shortcode in a classic editor page and then paste it into your builder.
Since it wasn’t working as I wanted and my efforts to shift the date format based on earlier replies I changed the fields in the editor to text and input them as mm-dd-yyyy as I wanted for temporary purposes until I could get it worked out on the display side to be a date field. I wanted to use a the date field with date picker to reduce input user error as well as eventually I want to build some internal processes off of these fields based on date. I’ve changed the fields back to date type in the editor.
okay, so you are saying the Advanced Custom Fields Add on and the file meta fields are not related in the least. They just seem to be because I used the same names, ect, when I used the wpdm_attached_file custom code…. because I thought they were related.
When I first asked you about attached files meta fields, nearly 2 weeks ago now, it would have been super helpful to know then that attached file meta fields would not be available for display on the front end without custom coding. This clarifying information could also go on your wpdm_attached_file documentation page.
So, you logged in and took a look at what we have so far, and I included screenshots of what I would like to have happen. Can you give me a quote based off that?
Is there any options for using folders? I see the “Add Folder” option in the currently beta Amazon S3 Manager.
I’ve tried to create a folder in a bucket that was created in the plugin by logging into S3 to try and manage it there and it doesn’t seem to be an option. With 4000 documents just managing them using buckets alone is going to be tough.
The custom fields I created are Firm Name, Approval Number, Approval Date, Exp Date
[acf_DocumentFields_firmName]
[acf_DocumentFields_approvalNumber]
[acf_DocumentFields_approvalDate]
[acf_DocumentFields_expDate]
Everything above “Available Files” I’ve created already.
It’s the file section I’m not sure how to do.
Okay, now I understand a little more a page template is to customize the default package review page. The Link template is a preview of the package that can be added to other pages via shortcode.
So, I guess the right question is how can I expand on the attached file section of the page template as described above.
Yes, I tried using either of those template tags, as those are the only attached file related tags I see in the documentation: https://www.wpdownloadmanager.com/doc/templates/template-tags/ I didn’t see any other way to show the attached files on the details page.
The Custom Field Addon makes it seem like you can simply use the field shortcodes. Are these shortcodes not available to the details page templates?
Details Page: https://www.screencast.com/t/CrYQjji56w
I would like that table of attached files (currently created with [file_list]) to look the same as the “Call To Action 3” Link template. Which is to say I’d like the icon, the filename, the file size, and the custom meta fields for each attached document that I have added to the package. Custom Meta Fields: https://www.screencast.com/t/Fk6DnVBltnCa
I already have two keys. I put the keys into the plugin and it shows the test buckets that my IT guy created. However, I can’t upload any documents, I can’t create any directories, I also can’t delete anything (which seems to be missing from the plugin). When I create bucket, create a directory, upload a document the plugin is giving me nothing but success messages. However it never shows the bucket, the directory or the documents. When I tell my IT guy that it’s not working his response is, I need to know what kind of account configuration the plugin needs.
Additionally, my IT guy is saying that we have to use US-EAST (N. Virginia) AWS region. How can I change this?
“Page templates are used to render package details page”
If I can’t customize the way that the “package details page” displays the files in that package why would I ever send anyone to the package details page?
I’ve designed a very nice page to show the details of the package. However currently, no matter what I do it shows “file name” and download button for the files in that package. That’s it. I want it to show the nice custom download link section I created that also contains the 4 custom file attachment meta fields that I have added.
I’m trying to create a library of my packages. There is information in the package and the document that needs to be communicated to my users. The package will contain a variety of files such as a preview, a pdf, .doc, .docx, .jpg and .png version. They’ll download the version that meets their needs from the package.
Now seeing the difference I can see my mistake. Thank you for your help.
So to create a custom meta attached file field using the add ons and version at this time is:
<input placeholder=”<?php _e( “Field Placeholder Text” , “download-manager” ); ?>”
title=”<?php _e( “Field Title Text” , “download-manager” ); ?>” class=”form-control” type=”text”
name=’file[fileinfo][<?php echo $id; ?>][Field Name]’
value=”<?php echo isset($fileinfo[$id][‘Field Name’]) ? esc_html($fileinfo[$id][‘Field Name’]) : ”; ?>” />
with Field Name coming from the Custom Fields add on with the input field needing to be placed in the appropriate bootstrap layout as the rest of the form is.
and it worked until I added the next field.
Code snippet. https://www.screencast.com/t/ToCypw70
It shows up on the form, but now neither of them saving to the table.
I give up. Please help.
Yes, I think I may have gotten it to work. I did get the custom field to show up on the document as a form field.
I updated the snippet with the following: [acf_groupname_fieldname] replaces [version] in the snippet and
‘groupname/firmname’ replaces ‘version’
in his example snippet.
One thing to note, the custom fields you create to use for the document will also show up on the package as form options. Is there any way to prevent this?
I’m also noticing that when I put a value into the form it doesn’t save. 🙁
BGM
Forum Replies Created