Forum Replies Created

Viewing 14 Topics - 1 through 14 (of 14 total)
Author Posts
April 15, 2014 at 3:36 pm in reply to: Action hook on edit 18806
Dimitri Dimitri

This is the custom Edit url that I use

<?php 
						
						if ( current_user_can( 'delete_others_posts' ) || $post->post_author == get_current_user_id() ) {
							  $edit_page = (int) wpuf_get_option( 'edit_page_id', 'wpuf_general' );
							  $url = add_query_arg( array('pid' => $post->ID), get_permalink( $edit_page ) );
						  
							  printf( '<a href="%s" class="bottone_new_project">%s</a>', wp_nonce_url( $url, 'wpuf_edit' ), __( 'Edit this project', 'wpuf' ) );
}
						
						?>
April 15, 2014 at 3:21 pm in reply to: Action hook on edit 18802
Dimitri Dimitri

Strangely it doesn’t work even if I remove that line.. and I don’t understand why..

March 24, 2014 at 11:58 pm in reply to: HTML field 17220
Dimitri Dimitri

Hi,

I’ve tried your solution and even the action hook field is wrapped by a

<li><div..>

that’s does not make any sense…

D.

March 24, 2014 at 6:14 pm in reply to: HTML field 17173
Dimitri Dimitri

The point is that I’m looking for a way to “wrap” a group of fields in order to customize the template..

Thank you

D.

March 24, 2014 at 6:12 pm in reply to: HTML field 17172
Dimitri Dimitri

I’m sorry you are rigt the “autoclose” is generated by Firebug, so the problem at the end is that the html tag it’s always wrapped by the plugin, right?

Is there any workaround for this?

D.

March 24, 2014 at 4:48 pm in reply to: HTML field 17164
Dimitri Dimitri

First of all, I don’t see the code in the reply..

Then, I use firebug and even if I open the source of the web page I see the tag this way:

<li class="wpuf-el ">
<div class="wpuf-fields">
<ul></ul>
</div>
</li>

autoclosed </ul>
and wrapped by

<li class="wpuf-el ">
<div class="wpuf-fields">
March 24, 2014 at 2:36 pm in reply to: HTML field 17149
Dimitri Dimitri

Sorry but I didn’t understand your answer.

I’m saying that the HTML field doesn’t work as it should.
Cause if I put:

<ul>

on the frontend it’s rendered:

<li class="wpuf-el ">
<div class="wpuf-fields">
<ul></ul>
</div>
</li>

This is for me a bug. Cause I should see just a:

<ul>

I’m I wrong?

March 23, 2014 at 12:47 am in reply to: Custom form 17101
Dimitri Dimitri

Hi,

I mean “FORM FIELDS” .

D.

March 23, 2014 at 12:13 am in reply to: Custom form 17097
Dimitri Dimitri

I haven’t been clear. I mean how can formatting the form into my custom template without using the short-code.

March 23, 2014 at 12:12 am in reply to: HTML field 17096
Dimitri Dimitri

yes and even wrapped by

<li class="wpuf-el ">
<div class="wpuf-fields">
....
</div>
</li>
February 18, 2014 at 3:08 pm in reply to: Google Maps problems 15575
Dimitri Dimitri

Hi!

I’ve sent you the theme.

Thank you very much.

D.

February 18, 2014 at 2:05 am in reply to: Google Maps problems 15531
Dimitri Dimitri

You were right. Do you have any suggestions? As I has to use that theme.. as I told you before I’ve seen that the javascript is wrapped by

tag…

Thank you for your support.

Dimitri

February 17, 2014 at 11:45 pm in reply to: Google Maps problems 15523
Dimitri Dimitri

Hi,

I’ve seen that the error is related to the fact that a “post title” field was missing.
I’ve added it but the Google Map for the “Find address” field doesn’t show at all.

http://verdeliberatutti.org/test-mappa

With javascript console I’ve seen that the problem is due to

tags that wraps the javascripts of the Google Map..

Could you give me some hints in order to solve that?

Thank you

Dimitri Dimitri

Hi!

I’ve the same problem:


<p>        <script type="text/javascript"></p>
<p>            (function($) {
                $(function() {
                    var def_zoomval = 12;
                    var def_longval = -74.0059731;
                    var def_latval = 40.7143528;
                    var curpoint = new google.maps.LatLng(def_latval, def_longval),
                        geocoder   = new window.google.maps.Geocoder(),
                        $map_area = $('#wpuf-map-mappa'),
                        $input_area = $( '#wpuf-map-lat-mappa' ),
                        $input_add = $( '#wpuf-map-add-mappa' ),
                        $find_btn = $( '#wpuf-map-btn-mappa' );</p>
<p>                    autoCompleteAddress();</p>
<p>                    $find_btn.on('click', function(e) {
                        e.preventDefault();</p>
<p>                        geocodeAddress( $input_add.val() );
                    });</p>
<p>                    var gmap = new google.maps.Map( $map_area[0], {

I’ve seen your fix bat the string you suggest to add it’s already into the
/class/admin-form.php

How could solve this?

Viewing 14 Topics - 1 through 14 (of 14 total)