Category Settings Column CSS + Media Preview Snippets

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Category Settings Column CSS + Media Preview Snippets

This topic contains 6 replies, has 2 voices, and was last updated by nathanstiteler23 nathanstiteler23 2 years, 8 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #24542
    nathanstiteler23
    nathanstiteler23
    Participant

    Hello – I have a couple items to ask you about:

    FYI – the site is currently locked, so you can access with:
    username: tcsba
    password: Thund3rb1rd

    1) I opened a ticket a while back about making the filter by categories in three columns and you sent me some CSS code that worked for this adjustment. I attempted the 4.17 update, and that CSS code no longer worked. Is there any chance you could send me updated CSS for that?

    2) We are using the Ajax Search Pro to search through a number of media files that are mostly PDFs, but also have some docx files. Currently I have the index table set and results are pulling pretty well! However, I wondered is it possible to add a preview text snippet in the search results of where a specific keyword was found in the document itself? This would give the user to preview the information before they open the document to see if they are accessing the right information. (I added a screenshot of the search results)

    Thanks for your help!

    Attachments:
    You must be logged in to view attached files.
    #24547
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    1. Try this variation of the previous code:

    fieldset.asp_filter_tax {
        min-width: 100% !important;
    }
    
    fieldset.asp_filter_tax>div .asp_simplebar-content {
        -webkit-column-count: 2; /* Old Chrome, Safari and Opera */
        -moz-column-count: 2; /* Old Firefox */
        column-count: 2;
        column-width: 50% !important;
        max-height: unset !important;
        height: 500px;
    }
    
    fieldset.asp_filter_tax .asp_option .asp_option_inner,
    fieldset.asp_filter_tax .asp_option .asp_option_label {
        display: inline-block !important;
        vertical-align: middle;
    }

    2. I’m afraid this is not possible. The plugin does not store the exact text from the documents, it only tries to get the keywords individually, and store them.
    You could add perhaps a custom field, with the excerpt text from the document, then use that field within either the secondary content or the advanced content field a as source for the text.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #24598
    nathanstiteler23
    nathanstiteler23
    Participant

    Ernest – Thanks for your help and the info here! My next question is: is it possible to auto-generate the excerpt text from media documents? Or will these have to manually added for every file?

    Thanks again!
    – Nathan

    #24615
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Nathan,

    I’m afraid this is not possible – unless there is a different plugin for that. I am not sure to be honest, there might be some sort of an export/import plugin that supports extracting contents to fields.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #24740
    nathanstiteler23
    nathanstiteler23
    Participant

    Thanks for the info Ernest! I think we may be able to have add a workaround by adding captions to the resources/media files that pertain to the files.

    I do have another question for you: right now only the first line of the caption is showing in the search results. Is there anyway we could show the entire caption there (image attached).

    Thanks again for all of your help!

    Attachments:
    You must be logged in to view attached files.
    #24748
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Sure, by increasing the description length from the initial 130 characters, to something higher, like 9999 or so: https://i.imgur.com/gXYHwk0.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #24758
    nathanstiteler23
    nathanstiteler23
    Participant

    Awesome. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.