Forum Replies Created
-
AuthorPosts
-
04/21/2017 at 10:02 am in reply to: Subdirectories on subsites pulling from a main directory #420757
Steven Zahm
Keymaster@ Meghan
I;ve read this a few times and I believe the answer is yes, you can do what you want. I’m assuming the department directory pages are actually subsites in your multisite network, correct? If this is the case, what you need to do is setup Connections to run in single site mode on you multisite network. Ensure all your entries exist on the primary site. You departments would have to be categories within Connections and the relevant entries assigned to those categories. Then on your subsites when you setup the shortcode to embed the directory, you would limit the display to that specific category. Others have done exactly this so they can maintain one single “source” then display it on separate “sites”.
Does this answer your question?
Steven Zahm
Keymaster@ Adam
The issue is almost definitely CSS related. Since I can not see the issue, my best guess is that you will need to add some CSS to set the spans for the address parts as blocks. If you can share a link to the directory page so I can took a look I should be able to provide more specific advice.
Hope this helps!
Steven Zahm
Keymaster@ Kevin
You need to embed your directory on the page, please see Step 4 in the QuickStart for the details.
Hope this helps!
Steven Zahm
Keymaster@ Denslow
re: What about also NOT listing homephone?
Add
unset( $options['homephone'] );to the function below the other two.re; Will this code meet this requirement?
Sure, sounds like it should.
Hope that helps!
Steven Zahm
Keymaster@ Denslow
re: Is there a way via shortcode or other to place the new entry form on a page separate from the directory?
Sorry, no, the add new entry link must be on the directory page.
re: can I place the “Add new entry” action link in a sidebar widget?
Just Form, to add a new entry, sorry, no. But, if you are using Link to allow your registered users to added and maintain their own entry then you have lots of options.
- You can use shortcodes.
- You can add them to the site’s menus.
- You can use the Login widget.
Hope that helps!
Steven Zahm
Keymaster@ Juanita
Well, if has been modified… I’ll need a copy of the modified plugin. It really does not do us any good for me to look into code which is not in use.
I suppose you could ask your tech team if their code properly fires the
wp_loginactin passing the expected values. It they can not or unwilling to share their modified plugin. It is that hook which Link runs on to perform the function to link the WP user to the Connections entry.Steven Zahm
Keymaster@ John
re: thin grey line between the entries
Add this to the theme’s custom CSS area:
#cn-gridder .cn-gridder-item { margin: 0; border: 1px solid grey; }Tweak as desired.
fyi, because the template was not designed with a border in mind … it’ll likely cause odd reflow issues.
re: Centre the logos
You’ll have to center the logos before you upload them. Wait… did you use the code I gave you unaltered? It looks like you change the crop mode from 2 to 3. PLease use Crop mode 2 and center the logo before you upload.
re: Centre the overall table
You can try this, though it could mess with the penal sizing:
#cn-gridder .cn-list-body { margin: 0 auto !important; }re: There is a problem when we click on the logo or the + of the entry – the screen jumps back and away from the entry ?
Looks the cause is the theme. The template is unable to properly calculate its position on the page so the auto scroll to code is acting “wonky” (that’s a technical term :) ).
I have a prerelease version of the next update I can send you which removes the auto scroll to feature. Do you want an advanced copy?
Steven Zahm
Keymaster@ Kevin
I looked at the site … everything seems well. What browser are you using? Do you have Javascript disabled? Using Adblockers?
Steven Zahm
Keymaster@ Rich
No, even with editing the code there is not an easy way to do this. The entry type filter is saved as WP user meta in the database. It is saved to the database during a form submit sending POST data. The change to the admin menu code should be easy but there will need to be changes to the manage admin page code. Exactly what that would entail … honestly I do not know. At the very least the list filtering would have to be changed from using the WP user meta to use a query string GET request value.
Steven Zahm
Keymaster@ Juanita
Ok, I think this does make sense. The method you are using to allow AD logins is preempting the WordPress user login validation. I suppose it would have to do this in order to work. Since the code that runs in Link is tied to the WordPress user authentication, it is never run so the user is never linked.
I assume this is a plugin you are using to add AD integration, yes? Which one? I would think this is a bug in their code… they should still make sure core WordPress filters/actions are run during their login validation process so they do not break other plugins.
If you can let me know the plugin you are running for AD integration, perhaps I can add a shim to Link that can trigger the linking of the user and entry during their user validation process.
-
AuthorPosts
