BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 1,351 through 1,360 (of 15,332 total)
  • Author
    Posts
  • in reply to: Pagination not working #469133
    Steven Zahm
    Keymaster

    @ Ryan

    Navigate to the WordPress Permalinks settings admin page. Remove the index.php from your permalink structure and save the changes. After you do the pagination and other Connections related links will function normally. And, as a side benefit the permalinks are more SEO friendly.

    Hope this helps!

    in reply to: Display Image Based on Category #469083
    Steven Zahm
    Keymaster

    @ Karen

    Here’s the code. I would recommend using the category slug instead.

    $categories    = array();
    $categoryNames = array();
    
    foreach ( $entry->getCategory() as $category ) {
    
        $categories[]    = $category->slug;
        $categoryNames[] = $category->name;
    }
    
    if ( in_array( 'Speaker’s Bureau', $categoryNames ) ) {
    //display image here
    }
    

    Hope this helps!

    in reply to: Real database new fields possible? #469082
    Steven Zahm
    Keymaster

    @ paul

    That is because the Code Snippets plugin is deactivating your code. Look at the error message it displays after your save and activate it.

    You are declaring a function twice with the same name. You can not do that because that is a fatal error in PHP. Remove one of them and try again. Based on the screencast, I recommend removing the first.

    in reply to: Real database new fields possible? #469060
    Steven Zahm
    Keymaster

    @ paul

    Yes, they should. If they do not, then your code is likely incorrect. Hard to say without seeing the full code.

    fyi, if you are using CSV Import 2.0, the code to actually import the data from the CSV file has changed slightly. The developer docs have been updated on this page. Looks like I still need to update the code example on the custom text field develpoer doc page.

    Hope this helps!

    in reply to: Sort by Individual/Organization #469055
    Steven Zahm
    Keymaster

    @ Pete

    The costs would range widely. There are sites where you can hire a dev which can be fairly inexpensive. Code quality from my experience can be iffy. I’ve had others in the past decide to use a service like that only to end up having me fix things to for them. So you mileage may vary. In the past projects that I’ve done like this the fees were around a couple hundred. Really this would depend on what the exact specifics of the project. For a quote, you can contact me using the link at the very bottom of the page.

    Yes, it is possible to create links to return results where an entry must be in the requested categories. Example:

    my-site.com/directory/?cn-cat-in%5B%5D=1976&cn-cat-in%5B%5D=1981&cn-cat-in%5B%5D=2048

    You would replace the numbers in the example with the categories ID numbers. Hope this make some sense!

    in reply to: Change text in category Dropdown #469053
    Steven Zahm
    Keymaster

    @ LBT

    RE: The change to the dropdown is simply to change the case from ‘Select Category’ to ‘Select category’

    Navigate to the Connections : Templates admin page and click the Customize button for cMap.

    The page will reload displaying the Customizer on the left and a preview on the right.

    Click the back arrow in the upper left of the Customizer and then click the Strings panel.

    Here you can change Select Category to Select category.

    Publish the changes and exit the Customizer.

    RE: The change required to the results page is instead of ‘You are searching within category(ies)’ it should read ‘You are searching within category’

    Follow the directions outline in the tutorial on how to change text within Connections.

    The original text you’ll need to use is You are searching within category(ies): %s. This will need to be exact or it will not work. Capitalization and spaces matter.

    Hope this helps!

    in reply to: Real database new fields possible? #469052
    Steven Zahm
    Keymaster

    @ paul

    RE: but obviously those don’t come up on the right hand “official” database fields for their destinations.

    I’m sorry, I am not sure what you mean by this. The meta is real official database fields. Could you give more details on what you would like to accomplish?

    in reply to: Entry Name Field is not Clickable #469051
    Steven Zahm
    Keymaster

    @ Naveen

    The Circled template does not present the name as a link — it has the stylized “View Profile” link instead.

    Not sure what you mean by color mix-up — every looks fine on the page. All text is nearly black (#0a0a0a — inherited from the theme).

    You can use CSS to change this if you wish. For example here is the CSS to change the name tp pink:

    #cn-circled h2,
    #cn-circled .cn-circled-content h3 {
        color: pink;
    }
    

    Hope this helps!

    in reply to: Custom meta fields not imported #468991
    Steven Zahm
    Keymaster

    @ Age

    fyi, I just push an update to the Certifications extension which adds support for exporting the Certifications attached to an entry when using the CSV Export tool.

    Cheers!

    in reply to: Sort by Individual/Organization #468956
    Steven Zahm
    Keymaster

    @ Pete

    I’ve done custom directories like you describe. This does require some custom coding. A small part of this is now an extension you could pull from here:

    https://github.com/Connections-Business-Directory/Entry-Organization

    Basically this add on changes the organization field when entering a new individual to a drop down where only previously entered organizations can be chosen.

    You would then list only organizations in your directory.

    The template would still have to be altered in ways which would list the individual in an organization.

    If you are a PHP dev yes you could do this. If not you would need to hire a dev like myself to make the necessary changes.

    Could you explain what you mean by “combine multiple categories“?

Viewing 10 posts - 1,351 through 1,360 (of 15,332 total)