Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chris

    (@charlwood)

    Sorry, I can’t replicate that issue. What is your shortcode exactly you are using? Where are you looking at this? After clicking through to the detailed bio/profile or on the summary directory page? If the latter, you may need to refresh the [employees] shortcode front end page twice. You may also need to go to Backend to delete all Biographires, empty trash and go to front end [employees] page again to refresh twice to regenerate detailed bios… Do you have other plugins that may affect those fields that use city and state information? Deactivate all others except ours with default 2014 theme to test if possible…

    Thread Starter ntrabue

    (@ntrabue)

    I moved the current live version to my staging site. Disabled all plugins. Deleted the [employees] shortcode from my directory page. Deleted the Simple Intranet Plugin and Reinstalled it. I reapplied the employees short-code to my directory page, updated the page (again no plug-ins active) and had the same result. I inspected the element in chrome and noticed that the address was coming in under the “sid_company” span.

    I opened my text editor and did a search through the plugin for “sid_company” it came up with a couple results.

    Plugins\simple-intranet-directory\main.php:

    1407:
    echo ‘<span class=”sid_title”>’.$title.'</span>
    <span class=”sid_dept”>’.$dept.'</span>
    <span class=”sid_company”>’.$company.$address.$postal.'</span><span class=”sid_email”>’.$email.'</span>
    <span class=”sid_phone”>’.$phone2.'</span>
    <span class=”sid_phone_extension”>’.$ext.'</span>
    <span class=”sid_mobile_phone”>’.$mobile2.'</span>
    <span class=”sid_fax”>’.$fax2.'</span>
    <span class=”sid_custom1_label”>’.$custom1label.'</span>
    <span class=”sid_custom1″>’.$custom1.$cu1.'</span>
    <span class=”sid_custom2_label”>’.$custom2label.'</span>
    <span class=”sid_custom2″>’.$custom2.$cu2.'</span>
    <span class=”sid_custom3_label”>’.$custom3label.'</span>
    <span class=”sid_custom3″>’.$custom3.$cu3.'</span>’;

    Appending $city.state. to company did indeed add the city and state to the directory. Formatting is incorrect but at least it works. Hopefully this is helpful. Sorry it took so long to respond

    Plugin Author Chris

    (@charlwood)

    Ah, but on the summary directory shortcode page, there is not meant to be city and state details… only when you click through to the detailed profile page is there more detail such as those fields…. Adding all the extended profile information to the front summary page would negate the need for a drill down detail page to click through to. But I’m glad you found a customization for your own needs anyway. ??

    Thread Starter ntrabue

    (@ntrabue)

    I see, I can certainly see how that makes sense! Thank you for your assistance, Chris. Is there anyway to continue to receive your excellent updates while preserving my customization? I’m relatively new to wordpress.

    Plugin Author Chris

    (@charlwood)

    Well, not really I’m afraid. Any updates would overwrite your customizations…. But, you buy a $95 one time fee membership you get our paid version of Simple Intranet and 23 other intranet related plugins. Our paid version includes a custom template to allow you to include exactly the fields that you choose on the main page of the directory… See Simpleintranet.org for more.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘City & Region/State not showing in Directory’ is closed to new replies.