rish30990
Forum Replies Created
-
I put the line of code just before the foreach loop. so after putting that line (which is being stored in $entry) what should I do with the $entry varible.
Ok may be I asked too much thats why I did’t get reply. However I figured out a lot. I am calling “wp_cf_form_entry_values” table (in which all entries available) through a template file. And its working fine.
BUT I have one problem remaining. My plan is that when user click on submit button then he/she redirected to a different page (template page in which I am calling ‘wp_cf_form_entry_values’ table from $wpdb). And there they can watch their detail (which they have added just now). But right now the page is showing whole record of the table BUT I want to show only their record
So can you at least tell me how can I call last submitted entry instead of whole table. I know a way ($last_insert_id = $wpdb->insert_id;) but that did’t work.
I know its somewhere in your plugin one line code that I need in my template file but can’t find out which one because so many files and code are available in your plugin.
So can you please tell me which line I need to add in my template file so that I can show user only their record as a preview.
Here is my code of template file :
<?php /* Template Name: Registration */ get_header(); global $wpdb; //Create a mulit dimensional array for each slug. $field_slugs = array(); //$last_insert_id = $wpdb->insert_id; $fields = $wpdb->get_results( 'SELECT * FROM wp_cf_form_entry_values'); foreach($fields as $field){ $field_slugs[$field->slug][$field->entry_id] = $field->value; } //the table echo '<table width="100%" border="1" cellspacing="1">'; $i=0; foreach($field_slugs as $slug=>$values){ //the table header (only in the first loop) /*if($i==0){ echo '<tr>'; foreach($values as $person_id=>$val){ echo '<th></th>'; echo '<th>Person '.$person_id.'</th>'; } echo '</tr>'; } */$slug = str_replace('_', ' ', $slug); $slug = ucwords($slug); // one line per person echo '<tr id="'.$slug.'">'; echo '<td><b>'.$slug.'</b></td>'; foreach($values as $person_id=>$val){ echo '<td>'.$val.'</td>'; } echo '</tr>'; $i++; } if($i==0){ echo "<table width='100%' border='1' cellspacing='1'><tr><td>No Records Found</td></tr></table>"; } echo '</table>'; get_footer();?>
I hope its not too much to ask
Forum: Plugins
In reply to: [YITH WooCommerce Quick View] How to change the position of priceI tried and it worked But now price was showing little below. Mean it was showing below “add to cart” button. I wanted to display price upon the add to cart button.
So I just change second row value from 25 to 20. And its now in perfect position as i wanted. Thanks for the help.
Forum: Plugins
In reply to: [WDContactFormBuilder] Emails are being received by only admin email address!Thnks for your quick reply All your points seems to be helpful, i will it. But one thing I have already done that is Send a test email via wp-smtp. And it didn’t send email to my email address but returned following code :
Test Message Sent The result was: bool(false) The full debugging output is shown below: object(PHPMailer)#339 (75) { ["Version"]=> string(6) "5.2.14" ["Priority"]=> NULL ["CharSet"]=> And so on.....
Since the email didn’t send so contact with hosting is seems to be must in my case.
Forum: Plugins
In reply to: [YITH WooCommerce Quick View] Quick view button should appear on mouse over!Hi stephdb88!
Glad you figured it out. But can you share your solution For the Future Viewers. So that the post can become more helpful for others.Not every solution works for every theme, if mine don’t work for someone then your might be helpful.Thanks ??
Forum: Plugins
In reply to: [YITH WooCommerce Quick View] Quick view button should appear on mouse over!Ok Figured it out!
I used following css.products li .button {
display: none;
left: 24%;
position: absolute;
top: 24%;
}
.products li:hover img{opacity:0.5;}
.products li:hover a.button{display:block;}Its working now!
Hello hopekim511 !
If you have figured it out then please share your solution because I am also looking for the same. ThanksOk, I am using free version. But can’t I use three portfolio on one page. It is not too much to ask, I guess. Can you tell me why its restricted to only one portfolio on one page.
Hello…..
Will I ever get any reply or not?Why there is not any reply till now!
Ok, solved it…
Just put the short code in beween the <center> tags.
Thanks for your time.Ok, My be I did’t ask in a proper understandable way. Let me ask again. Now make zoom out of at least 50%. Slider will get reduce BUT look at its position and then look at my navigation bar’s position. This is the real problem for me.
while other content of my project reside in the middle(such as navigation bar) But slider jump to the left corner… Why?
Hi! wpdreams
sorry for late reply…
Here is an example of my slider. Click HereI can’t send link of my project But from this link I have downloaded slider. As you can see the above slider contains tabs with each slide. When slide scroll then their corresponding tab becomes active. But when I activate Search plugin then Slide scroll is fine But tabs stops highlighting with slides. Only first tab remains highlighted other don’t.
I was not actually testing the responsiveness at that time. I have already tested responsiveness by making browser’s window size smaller equal to mobile screen size. And its responsiveness is fine on mobile devices also. I know its responsive.
But my question was that why slider can’t keep up with rest of the content of my project when I do zoom-in. By zoom in my project’s layout gets disturbed.Forum: Plugins
In reply to: [Max Mega Menu] How to make 2 column sub menuTry this plugin.
It will work according to your expectations in which you can add column according to your wish.