Vote count: 0 Using render function in pagination i am getting this url http://localhost/laravel_admin/public/undo/?page=2 So it will redirect wrong page so how to fix that issue To redirect this way http://localhost/laravel_admin/public/undo?page=2 in laravel 5 I think minor error is in my code by i can't found that any one got this error. asked 3 mins agoBalaguru Murugan 1 Answer Vote count: 1 I think you have wrong configuration. You should set up your web server, so it point to /laravel_admi...
ادامه مطلبVote count: 0 Admittedly this might be a little light for this site, but I've been trying to figure this out for 5 hours now and can't find any thing about this on the web... I've got a Wordpress Gravity Form - with a Zoho CRM feed - and I can't get the checkbox fields to populate in Zoho CRM. When the checkboxes are checked and the form is submitted, The CRM Lead record gets created, all other field types come over correctly (Custom text, multi-select, select), but the checkboxes do not show up...
ادامه مطلبVote count: 0 I am trying to add stroke to my shape. I draw simple square. Then I draw outline. Here is what happened. Source code: MyImageView extends ImageView ... public void initSquare(int w, int h) { initPath(); initPaint(); initPaintStroke(); float lrg = w; clipPath.moveTo(0, 0); clipPath.lineTo(lrg, 0); clipPath.lineTo(lrg, lrg); clipPath.lineTo(0, lrg); } @Override protected void onDraw(Canvas canvas) { if (isPreview && clipPath!=null) { canvas.drawPath(clipPath, mpaint); canvas.drawPath...
ادامه مطلبVote count: 0 I am using events-manager (a great event management plugin for Wordpress). It works really well and does a lot of things out of the box. That said, I have been trying to build a custom query for one of my events page, but caot seem to get this to work (ie. i am not able to query by custom fields, in this case event_owner). I have looked online for days, i have tried a million different snippets but nothing seem to work. FYI - If i omit meta_key' => 'event_owner', 'meta_value' => 1 ...
ادامه مطلبVote count: 1 This is my php code, I am using it to post a contact form from my site to my gmail account. It seems that when it gathers the information, it does not sent it and it keeps the typed information visible on my contact.php page, instead of providing any error I can also post the other main php document which contains the html form elements, if this helps? asked 3 mins agouser3847213 This entry passed through the Full-Text RSS service - if this is your content and you're rea...
ادامه مطلبVote count: 0 im trying to get data from access to a combobox1 but its not working. my database is a .accdb file. my table name is "list". the columns names are: "ID_lista" = autonumber "Nome" = smalltext "Link" = hyperlink here is the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; namespace teste_pwd { public partial class Form2 ...
ادامه مطلبVote count: 0 I am done with my carting part and now I am in the checkout part. My code is fine but what I want to insert the user_id of the current user in the checkout table in my datbase. Here is some part of my code. The customer_id must be the users_id from the users table. I am just a rookie in this area and I don't have idea to do this. THANKS...
ادامه مطلبVote count: 0 I have this simple Django form for filtering data with GET form: from reservations.models import Reservation, ServiceType from django import forms PAYMENT_OPTIONS = ( ('CASH', 'Cash'), ('ROOM', 'Charge to room'), ('ACCOUNT', 'Account'), ('VISA', 'Visa'), ('MASTERCARD', 'Mastercard'), ('AMEX', 'Amex')) class FilterForm(forms.Form): def __init__(self, *args, **kwargs): super(FilterForm, self).__init__(*args, **kwargs) self.fields['service_date_from'].widget.attrs['class'] = 'datepick...
ادامه مطلبVote count: 0 the resteasy configuration its ok, when i call a @get service work's fine, but when i do a @Post service like this @POST @Path("/cadastrarusuario") @Consumes({MediaType.APPLICATION_JSON}) public Response cadastrarUsuario(Usuario usuario) throws Exception{ try { /*gDao.begin(); gDao.salvar(usuario); gDao.closeCoection();*/ System.out.println(usuario); retu Response.status(200).entity("Usuário cadastrado com sucesso!").build(); } catch (Exception e) { e.printStackTrace(); throw new W...
ادامه مطلبVote count: 0 In Asp.Net MVC, I am not getting options Goto View and Add View if I right on Controller. And in View, intelligence is not working for c# code. Most importantly I am getting a window and message as below The web project requires missing web components to run with Visual Studio. Would you like to download and install them using the Web Platform Installer now? (Note: Some components might require restart to take effect.) Asp.Net web oages with Razor syntax 3.0.0.0 Please help me to s...
ادامه مطلبVote count: 0 A main view controller has a table view and here is the process to see the problem: Main view controller is presented and the table view is on the screen A Safari View Controller is presented Rotate the device. The app calls scrollToRowAtIndexPath on the table view (cells have different heights for portrait/landscape mode, need to call scrollToRowAtIndexPath to the first cell before rotation so that the user can see the same cells after rotation) Close Safari View Controller scroll...
ادامه مطلبVote count: 0 I am using Microsoft SQL Server JDBC Driver to insert student registration fields for leaing purpose to database.I had created that java application sucessfully and that application is working fine when I am ruing it as a java program. Now I converted that Java program to jar file while converting Java program to jar file I took all precautions like copying exteal jar files to lib folder and to provide Native library path to Jdbc driver jar file. But still when I am ruing my jar fi...
ادامه مطلبVote count: 0 I have been spending some time looking for my problem. I have reinstalled Vim on my mac for several times using brew. The vim --version command show that +clipboard and +xterm_clipboard, so I should be good to go. However, when I type "+yy or "*yy inside vim, the :reg command show that the register changed to the current line, but when I do paste outside vim, the content still did not change. Everything in vim I can tolerate to trade off its super flexibility, however, this copy/pa...
ادامه مطلبVote count: 0 I'm working on making a part of our website responsive and have found that that scrolling on mobile is not working within a specific div, if the users uses the touch screen to try and scroll within this div, it does not work. In the picture below you can see the div in which scrolling is not working on mobile, if the user touches the area outside of the div they can scroll. I thought that some of the CSS float rules were causing it but even when I removed all the floats from the di...
ادامه مطلبVote count: 0 I have created a new Rails 4 project and I am trying to load an exteal JavaScript file in my HTML file. I have placed the JavaScript file in the /assets/javascripts directory and included the file in my HTML file. My HTML file: My JavaScript file: document.write("test"); I do not see any errors in my web browser console when loading the website. I am pretty sure I put the JavaScript file in to correct directory but the file will not run. Does Rails require something for exteal Java...
ادامه مطلبVote count: 0 I have the following AlertDialog: AlertDialogBuilder dialogBuilder = new AlertDialogBuilder(mContext); dialogBuilder.setTitle(R.string.title); dialogBuilder.setMessage(mContext.getString(R.string.message)); dialogBuilder.setPositiveButton(R.string.positive, new MyOnClickListener); dialogBuilder.setNegativeButton(R.string.negative, new MyOnClickListener); dialogBuilder.show(); with this ClickListener public static class MyOnClickListener { @Override public void onClick(DialogInterfa...
ادامه مطلبVote count: 0 Any one please to help me i have one problem in blue dart api error. NO Error is came. how to solve this problem. require_once('lib/nusoap.php'); function soaprequest($api_url, $api_useame, $api_password, $service, $params) { if ($api_url != '' && $service != '' && count($params) > 0) { $wsdl = $api_url."?wsdl"; $client = new nusoap_client($wsdl, 'wsdl'); $client->setCredentials($api_useame,$api_password); $error = $client->getError(); if ($error) { echo "nSOAP Erro".$error."n"; re...
ادامه مطلبVote count: 0 I have wordpress Version 4.4.2 , avada Version: 3.7.4 and fusion core plugin version 1.6.2 . The shortcode is not working. The page is full blank and not displaying content. I tried reactivating all plugins but didn't work, then replacing class_blog.php file in fusion core plugin and it worked and got content but css all got changed. Please help me i am new to wordpress. Where to download class_blog.php of fusion core 1.6.2 version ? Or are there any other solutions. asked 5 mins a...
ادامه مطلبVote count: 0 I'm following a Railscast to implement a pagination without page reload. This code works well but there are some details to improve: $(function() { $(".pagination a").click(function() { $.get(this.href, null, null, "script"); retu false; }); }); Code with improvements which doesn't work: $(function() { $(".pagination a").live("click", function(){ $.get(this.href, null, null, "script"); retu false; }); }); Any ideas what's bad with this "live" method? asked 42 secs agoZelenka This e...
ادامه مطلبVote count: -1 I am practicing to multi-pane screen using fragment, but it's not working properly. I want two frame in single activity. One should be static and another will dynamic list. main_biddingwindow.xml ` main.class public class biddingWindow extends Activity{ protected void OnCreate(Bundle b){ super.onCreate(b); setContentView(R.layout.main_biddingwindow); } } frame1.xml bid_list.java public class bid_list extends Fragment { public View onCreateView(LayoutInflater inflater ,ViewGroup co...
ادامه مطلب