Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.16
- This topic has 7 replies, 3 voices, and was last updated 8 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
04/09/2018 at 5:07 pm #458411
Sarah
GuestCan’t get images to save after upload. Error message says :the $img_path variable has not been set.
I assume this is because it is a temp URL we are building on so have added this code to WP-Config:
define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘SERVER_NAME’]);
define(‘WP_HOME’, ‘http://’ . $_SERVER[‘SERVER_NAME’]);
define(‘WP_CONTENT_URL’, ‘/wp-content’);This is a huge directory and I cannot envision building it without being able to see my directory entries. When i go to the URL above it is simply blank.
04/10/2018 at 9:31 am #458503Steven Zahm
Keymaster@ Sarah
My guess is this is because the
WP_CONTENT_URLis set incorrectly. According to the WP docs it should be the full URL, not relative. It does not state if there should be a trailing slash or not butWP_PLUGIN_URLis not supposed to have a trailing slash so I would guess thatWP_CONTENT_URLshould not either.Hope that helps! Let me know.
04/18/2018 at 5:17 pm #459523contactbirthingfromwithin-com
ParticipantSo are you suggesting that the wp-config should instead have:
define(‘WP_CONTENT_URL’, ‘wp-content’);
instead of:
define(‘WP_CONTENT_URL’, ‘/wp-content’);
?? When i try this the site formatting goes wonky – strips away all code. or am i misunderstanding you?
04/18/2018 at 5:31 pm #459526Steven Zahm
Keymaster@ Erika
No, you need use the full URL, not the relative URL that you are trying to use. Example:
define('WP_CONTENT_URL', 'http://domain-name.com/wp-content');Here is the link to the WP docs about the constants:
https://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Constants
Hope this helps!
04/18/2018 at 5:41 pm #459527contactbirthingfromwithin-com
ParticipantSo in this case i would use the full preview URL since it’s not yet live at the final URL?
04/19/2018 at 9:34 am #459592Steven Zahm
Keymaster@ Erika
Yes, as the WP documentation states, you need to use the full URL when setting the
WP_CONTENT_URLconstant.Setting it to
/wp-contentis wrong will cause issues in WP such as returning the incorrect content URL when plugins such as Connections for it.04/19/2018 at 12:26 pm #459601contactbirthingfromwithin-com
ParticipantGetting there! That worked for the profile image – thank you. The logo still will not show, however – and no error message that i can see. Yes, i can upload media library files just fine.
Also, when i go to view my sample entry under the dashboard manager, it takes me to this URL but I only see the content for the main directory page which i have set up to go to sub directory pages.
http://birthingfromwithin.com.158-69-37-116.vanilla.websavers.ca/directory/name/erika-primozich/I can get to the full entry display if i go through the category page:
http://birthingfromwithin.com.158-69-37-116.vanilla.websavers.ca/directory/bfw-colorado/name/erika-primozich/04/19/2018 at 1:21 pm #459603Steven Zahm
Keymaster@ Erika
RE: The logo still will not show, however – and no error message that i can see. Yes, i can upload media library files just fine.
When you add a logo, and then after you save the entry — can you see the logo when you edit the entry again? I suspect you can if you can upload a photo to an entry.
I see you are using the Circled template — if you are talking about seeing the logo there, the template supports displaying the photo or the logo, not both. If you want more images for the entry, I suggest adding them to the bio.
RE: when i go to view my sample entry under the dashboard manager, it takes me to this URL but I only see the content for the main directory page which i have set up to go to sub directory pages.
That is because you have the Directory Home page set to that page. Since you are going to manually break the directory apart into many pages the admin links are not going to be valid as it simple is not possible to know which page the entry should be linked.
Keep in mind what you are doing is possible, obviously, but there will be some limitations such as this. Also some extension work based off the directory home page settings such as the widgets in the Widget Pack.
You can mitigate some/many of this minor issues by using this installing this addon for Connections:
https://github.com/Connections-Business-Directory/Entry-Homepage
This addon allows you to define the directory home page per entry overriding the global directory home page setting. Even though the usage of this addon is fairly straightforward it is considered an advanced addon, eg, you’ll have to know how to download and install it from Github in order to use it.
-
AuthorPosts
- You must be logged in to reply to this topic.
