Forum Replies Created
-
AuthorPosts
-
Steven Zahm
KeymasterThis reply has been marked as private.Steven Zahm
Keymaster@ Jennifer
re: I’m not having luck importing the family name from a CSV (the other fields work fine). Am I missing something, or is it not possible to specifically import the family name?
Families can only be created in the admin after the individual have been imported.
re: I can import the link URL and title, but is it possible to specify the link target as well? If not, is there any code that can be added to the card.php file to make an entry’s web site link open in a new window by default?
Correct, the setting can not be imported at this time.
This code snippet should force all links to open in a new window (untested) regardless of the setting.
add_filter( 'cn_link', 'cn_link_target' ); function cn_link_target( $link ) { $link->target = 'new'; return $link; }Hope that helps, let me know.
-
This reply was modified 9 years, 5 months ago by
Steven Zahm. Reason: Correct misspelling
Steven Zahm
Keymaster@ Aedae
re: I would like to change the font of the text, of the titles of the cards or presentation.
This can only be done with CSS. If you give me some specific changes that you’d like. I can help further.
re: I also wanted to ask you how you could do that to go to the bio through the link, the title with the name come out without the category. I would like to put only the first and last name.
I’m really sorry, but I do not understand what you are asking. Could you give more detail?
Steven Zahm
Keymaster@ Garrett
Ok, when the query is for a single entry, the category option is ignored. This is done to basically support all the weird ways Connections has been set up. So there is not a way to trigger a 404 or similar if direct typing an entry slug to a page which will parse the Connections data via the shortcode.
Currently the only way a 404 can be triggered is if the entry does not exists at all. Perhaps this could be extended to check if the entry is within the defined category. The difficulty here is that the page content would have to be read before it exists. The shortcode exists in the page content and a 404 has to be triggered before fetching the page content. If I did come up with a solution, this very well could break many other sites which rely on the way it currently works.
Like I said, it was likely, by chance, Google indexed the geri directory while blake was on it. Perhaps while you were setting it up. When Google re-indexes the page, that should self correct. Let me know if it does not.
Steven Zahm
Keymaster@ David
The shortcode is deprecated/undocumented left only to support backwards compatibility when the only purpose of Form was to take entry submissions from site visitors whether or not they were a user. I’m assuming you found it in the support forums or a may have reveal it to as an answer to another question???
In any case, the shortcode does not care if a user is logged in or not, nor will it populate with a user’s info if the logged in user has a linked entry.
There is a dedicated page within Connections which uses Form to do this function when installed. Navigate to the Connections : Settings admin page and click the Display tab. Follow the instructions Link configuration instruction for adding the view and edit entry actions.
If you need to link to this page from other places on you site, you have several options available. Use the Link shortcodes to add the links. You can add them to your site’s navigation.. Or you can use the Login extension which has integrated support for displaying the add/view/edit links it its widget if Form/Link are installed.
I hope I have answered your question thoroughly.
Steven Zahm
Keymaster@ Garrett
I suspect when Google index the “GERI Directory” page blake allan purdue was on it. Now that is not, Google will update its index. Sometimes it can take a little time. I do believe if the Google Webmaster Tools Console you can request Google to recrawl a page sooner, but that is still at their discretion.
What is the exact shortcode you are using?
Steven Zahm
Keymaster@ Leah
You need to make sure that the code is between opening/closing PHP tags otherwise it is just text. The tags are
<?phpand?>.Hope that helps!
Steven Zahm
Keymaster@ James
Yes, that was the address I used. I just sent it again. Check the spam folder.
Steven Zahm
Keymaster@ David
This redirect is not being done by Connections. Another plug or perhaps a setting in the theme has been set to apply this redirect. You’ll have to scour the various settings pages to find where the redirect is set and turn it off.I hope this helps!
Steven Zahm
Keymaster -
This reply was modified 9 years, 5 months ago by
-
AuthorPosts
