Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    All set. On a hunch I checked if .zip was an allowed file type for upload. It wasn’t, so I added it and the snippets imported with no problem.

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    https://cnyrpdb-my.sharepoint.com/:v:/g/personal/bkeplinger_cnyrpdb_org/EblnFt_s5SBKhwlJv0qiNQ8BQSUAh8ZSJzXDuZIkswIy-Q?e=TLOgPw

    I also copied the CFG out of the ZIP and tried Import on that, with the same result.

    Thanks.

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    I need to modify this post somewhat, but I just missed the time to edit.

    I am using multisite. I just tried modifying the page order, nesting a page, etc., on a sub-site I hadn’t worked on in a while. I found that the Nested Pages menu did update with my admin changes. When I set up Max Mega Menu to use the Nested Pages menu, the modification was evident in my navigation. I again reordered the pages in pages admin, and my site navigation updated.

    So my question is now this: How do I get Nested Pages to recreate it’s dynamic menu?

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    Thank you for your quick response.

    The upload fails for PDFs. This is the error:
    Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.

    Using the browser uploader option, I get a more useful error message:
    Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in C:\xampp\htdocs\cnyrpdb.org\wp-content\plugins\better-images\better-images.php:395 Stack trace: #0 C:\xampp\htdocs\cnyrpdb.org\wp-includes\class-wp-hook.php(307): wnbi_wp_handle_upload_prefilter(Array) #1 C:\xampp\htdocs\cnyrpdb.org\wp-includes\plugin.php(191): WP_Hook->apply_filters(Array, Array) #2 C:\xampp\htdocs\cnyrpdb.org\wp-admin\includes\file.php(802): apply_filters('wp_handle_uploa...', Array) #3 C:\xampp\htdocs\cnyrpdb.org\wp-admin\includes\file.php(1074): _wp_handle_upload(Array, Array, '2022-08-02 11:2...', 'wp_handle_uploa...') #4 C:\xampp\htdocs\cnyrpdb.org\wp-admin\includes\media.php(303): wp_handle_upload(Array, Array, '2022-08-02 11:2...') #5 C:\xampp\htdocs\cnyrpdb.org\wp-admin\media-new.php(33): media_handle_upload('async-upload', 0) #6 {main} thrown in C:\xampp\htdocs\cnyrpdb.org\wp-content\plugins\better-images\better-images.php on line 395

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    It’s working as expected. I could have sworn I checked and double checked my IDs. But today, I started with the template in the other message thread and changed the IDs one by one, and now it’s working. Seems like maybe it was a weird caching problem, but having developed a CMS in ColdFusion, I know that browser caching applies only files, not database calls.

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    Franky,

    Thank you for your help. I got this to work but I don’t think it’s what you were explaining. What I did that worked was to create a “dummy” person whose sole purpose is to be in a group (with only that one person (but I guess any person would have been fine)) which I then use for the header and footer. Here’s what I have in the page:

    [eme_people group_id=3 template_id=3] : Group of 1 person, header template
    [eme_people group_id=1 template_id=2] : The group I want to display
    [eme_people group_id=3 template_id=4] : Group of 1 person, footer template

    Another approach that worked was to create another template with the table header and footer and then call the template with the content I want:

    <table style="border-collapse: collapse;width: 100%">
    <tbody>
    <tr>
    <th style="width: 25%" scope="col">Name</th>
    <th style="width: 25%" scope="col">Title</th>
    <th style="width: 25%" scope="col">Phone</th>
    <th style="width: 25%" scope="col">E-mail</th>
    </tr>
    [eme_people group_id=1 template_id=2]
    </tbody>
    </table>
    &nbsp;

    So then, of course I can put what I put in the page in a template and have just this in the page:

    [eme_people group_id=3 template_id=6]

    Is this more-or-less what you were getting at? In any case, all options work the same way. Is there a way I could have done this without creating a group of one person?

    Thanks,
    Bruce

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    I think I have the solution: create a table with the header row, then go into HTML view and put the shortcode after the header row and before </table>. I’ll try it out tomorrow.

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    Thank you. Just before I read this I figured it out. I looked at your YouTube video and while my direct question wasn’t answered, I saw where I could change the default text for an event and (correctly) figured I’d be able to use the same in a template. So, thank you for providing a plethora of options.

    Thread Starter cnyrpdbwebmaster

    (@cnyrpdbwebmaster)

    This didn’t appear as I expected. I’ll submit again, giving a link to a page. (Sorry, missed the “edit” link- I would have used it if I had seen it, and unfortunately I can’t delete a post here, or if I can, I don’t see how.)

Viewing 9 replies - 1 through 9 (of 9 total)