Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Mark
The code for taxonomies is being rewritten and it does have a lot of filters so it should be possible.
Connections does have the order_by shortcode option. Maybe one of the supported methods will be useful?
Steven Zahm
Keymaster@ Brian
Good to hear!
If I may…
What change are you making, maybe I can make it an option?
Steven Zahm
Keymaster@ Roy
Great to hear you’ve figured it out!
Steven Zahm
Keymaster@ Vincent
The actual folder and filename are encoded? Huh! I use a core WordPress function
sanitize_title()which in turn usessanitize_title_with_dashes(). In that later function it does indeed check for UTF8 and encodes them to be URI safe. I never know that! I wonder why?I use that function to create entry slug, this slug is also used to create the entry file folder name.
It seems is can also do a check for UTF8 and use the
sanitize_file_name()instead to create the entry slug.Could I get a temp admin account and temp access to FTP so I can test this to make sure the solution will work? The login details can be sent via the contact link at the bottom of the page.
Steven Zahm
Keymaster@ Cristy
re: I am running the firmness theme. I have several plugins installed but none on the ‘incompatible with cMAp’ list.
Unfortunately many plugins and themes cause fatal javascript errors which is likely the issue you’re encountering. Can you please share a link to the page having the issue.re: I have the default Names template set as default for ‘ALL’ on the main directory page. I tried using the shortcode [connections enable_category_select='true'] on the main directory page but do not get the category dropdown. Is the shortcode only applicable to the cMap template?
Yes, it only works for templates which have support for the category drop down like cMap. It does not add it to all templates when a template is installed that does support the feature.re: Second item, the map does not display on the cMap template pages. I have entered an address on the customer’s connection entry but the map shows blank.
This issue can definitely be related to the first, a fatal javascript error.You can see if there’s an error. open the page in Chrome, hit the F12 key and then click the Console tab. All javascript errors. Generally the error that causes issues are ones that’ll say something about being undefined. On the far right the source file of the error will be listed. Mouseover the file name and the file path will show. The filename and path are strong indicator of the plugin or theme causing the error.
Again, if you share a link to the page in question, I’ll take look.
Steven Zahm
Keymaster@ Roy
Which template are you using and can you share a link to the page with the issue?
Steven Zahm
Keymaster@ trmash
Well, WordPress has a recursive delete function too. I just was not able to use it, unfortunately, at this time. I do plan on changing that, but the function I wrote suits my specific use case within Connections. It is used when deleting entries. It deletes all the entries images and any of their variations and finally deletes the entry’s image folder.
Yes, a hacker could potentially exploit this code, they could potentially exploit the function within WordPress too. I believe I have the proper precautions implemented that from happening.
I guess I could remove it and delete only images within the entry folder and then the folder itself. I’ll have to give it more thought.
Steven Zahm
Keymaster@ Roy
I see you’ve purchased the Pro Pack, use one of the template which supports pagination such as cMap, Excerpt Plus, Market, Slim Plus or Tile Plus. By default they all paginate by 20. You can change the page limit by using the
page_limitshortcode option which is enabled by any of those templates.You use it like so:
[connections page_limit=10]Hope that helps!
Steven Zahm
KeymasterNot sure there’s anything I can do about this and a few Google searches do not really lead to much. This lounds the most promising:
The
2000000seems to be only 2MB which actually should be more than enough but you know users, they want to upload those multi-megapixel images from their cameras and phones.Steven Zahm
Keymaster@ Fabrice
I assumed since this was posted within the Slim Plus template that you were editing it. You would add the code to either the
card.phporcard-single.phpwhere you want to display the category details.If you do decide to do that, then I recommend following this QuickTip so cahnges to the template are update safe.
Hope that helps!
-
AuthorPosts
