Home › Forums › Bug Reports › Custom Template's Not Loading
This topic contains 15 replies, has 5 voices, and was last updated by yusef_lockwood 5 years, 10 months ago.
-
AuthorPosts
-
October 25, 2013 at 2:46 am #29713
I’m following these template formats to create “update safe” custom templates:
“/themes/mytheme/geo-my-wp/friends/search-form/myformtheme/search-form.php” and
“/themes/mytheme/geo-my-wp/friends/search-results/myresultstheme/results.php”
The css folders and stylesheets are in each folder as well.
But when I go to “Search Forms” in the admin and edit my buddypress search form, I still only see “default” under the search form templates.
Is there something I’m missing or doing wrong?
October 25, 2013 at 2:50 am #29728Also of note, the custom templates do show up on the “Add-Ons” page in the admin.
October 25, 2013 at 6:12 pm #29727Hi Yusef,
I am not sure if it’s a typo above or also in your folder’s name but note that in you have “search-form” in “/themes/mytheme/geo-my-wp/friends/search-form/ instead of “search-forms”.Please let me know if that is the issue or just a typo above.
Thank you
EyalOctober 25, 2013 at 6:12 pm #29726BTW,
Thank you for your purchase and support 🙂October 26, 2013 at 10:02 pm #29725Sorry, the was a typo. It’s actually “search-forms”.
I’m able to get the search results to show my template by writing a function that updates the option wppl_shortcode and changing the ‘results_template’ in the array for my form.
However, the template isn’t shown in the WP admin.
December 10, 2013 at 7:59 pm #29724Hi Yusef,
My apology but i am just going over unresolved tickets and i saw that i missed you last post here.
Did you get it fixed or still having issues?January 22, 2014 at 9:14 pm #29723Hi Eyal, I’m having the exact same issue. Great plugin aside from this hopefully minor issue.
You can see it is loaded under the settings panel here
https://www.dropbox.com/s/5tmtw3qyn0qufvn/Screenshot%202014-01-22%2016.02.31.png
But it is not showing up on the search form.
https://www.dropbox.com/s/6dv5u4mji7x2ms2/Screenshot%202014-01-22%2016.12.43.png
Any ideas? Or any work a rounds until this gets resolved?
January 22, 2014 at 9:17 pm #29722Hi Jeff,
I am currently working on the next major update of Support. Would you like to test it and same time see if it solves your issue?January 22, 2014 at 9:47 pm #29721Eyal, yes I’d love to test it out.
January 22, 2014 at 9:49 pm #29720Please email me your email to info@geomywp.com/supports and i will send you the beta.
Are you using any of the premium add-ons?January 23, 2014 at 4:27 pm #29719Hi Eyal,
so it is not possible at all to use the custom-templates feature in the current version?
Because I just purchased your plugin together with the XProfiles-Addon and run into the same issues as the guys in the thread. No custom templates shown in the backend, only the default ones.Would be good if you could help me, it’s pretty important. Thanks.
January 23, 2014 at 8:32 pm #29718Hi Benjamin,
I will take a look at it today and will try to provide a quick fix for you.January 25, 2014 at 5:39 pm #29717Hi Eyal,
ok thanks.January 25, 2014 at 9:54 pm #29716Hi Benjamin,
to fix the issue with the custom template files open the file:
geo-my-wp/plugins/friends/includes/admin/edit-shortcode.php
and look for the line below ( should be line 321) :
<?php foreach ( glob(STYLESHEETPATH. '/geo-my-wp/buddypress/search-results/*', GLOB_ONLYDIR) as $dir ) { ?>
and change the word buddypress to friends.
January 26, 2014 at 5:22 pm #29715Thanks Eyal, that worked!
Will you implement it in the next update, so I don’t need to change it again?Cheers,
Benjamin -
AuthorPosts
You must be logged in to reply to this topic.