polr
Forum Replies Created
-
The plugin is called Meta Slider (for the slider) and the short code was generated by meta slider and put into the content block of a page (not in the PHP code of the theme).
https://www.metaslider.com/documentation/getting-started-with-meta-slider/
Thanks of your reply.
It’s in the content using a shortcode.
Forum: Plugins
In reply to: [Calculated Fields Form] Passing over info to auto populate formThank you!
Forum: Plugins
In reply to: [Participants Database] Stop validation on edit pageHi,
Thanks for that, just in case anyone should ever need it (and yes, I’m not sure why either) my solution was to do this in participants-database.php at line 1808:
$post_id = (206);
$post = get_post($post_id);
$slug = $post->post_name;if (!is_object(self::$validation_errors) and ! is_admin() and !strpos($_SERVER[‘REQUEST_URI’], $slug))
self::$validation_errors = new FormValidation();Forum: Plugins
In reply to: [Participants Database] Stop validation on edit pageI know it seems illogical but it’s what’s required. They need to be inputting information on two different forms (with only about 50% similar fields) that needs to be validated (there’s been a lot of customisation) then on the edit page it pulls over all fields from all form fields so some of the fields are required at the edit when they don’t apply.
It was either that or I needed to be able to create two different/tailored pdb_single pages but I couldn’t see how to do that (well, I couldn’t see how to specify different pdb_single pages were used per form as it’s set once in the admin settings) so this would be a rougher alternative that would allow edits to go through.
From the code I supplied to begin with, can you see if there is any obvious reason why this wouldn’t work?
Thanks
Ok thanks, Always Display Child Pages isn’t checked though I did try checking it, changing the level to 1 then unchecking again just on the off chance…
I’m emailing the mail on your site – again, thanks for your help with this.
<ul> <li>Main list of services</li> <ul> <li>Feasibility</li> <ul> <li>Environmental</li> <li>Environmental Sub Page </li> </ul> <li>Assessment</li> </ul> </ul>
Hi, Thanks for your help. I’ve checked again and following are ticked in the widget area;
Include Parent Page
Include Parent Even With No ChildrenMy page structure is below but it is working for child pages it’s only when I add any menus under a child page that it displays them all in one long list.
Eg this is how it should work (thought it might be easier to see than page 1 etc) with Environmental only showing it’s children when Environmental is clicked.
Main list of services
Feasibility
Environmental
Environmental Sub Page
Environmental Sub PageWhat’s actually happening is that when Main list of services is clicked it displays everything under it except the Environmental Sub Page which doesn’t appear even when Environmental is clicked.
I’ve checked then admin area and the pages are all children etc of the correct page (I’ve also confirmed this by listing all the pages in another area using the Page List plugin).