Forum Replies Created

Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter cotp

    (@cotp)

    I managed to get my arrays :), the mistake I was making is I was using the default template… ^^

    So now I finally have

    Array
    (
        [form_id] => 1
        [entry_id] => 1
        [form_title] => Exemple
        [date_created] => 27/7/2013
        [date_created_usa] => 7/27/2013
        [field] => Array
            (
                [2.First question] => 100
                [2] => 100
                [First question] => 100
                [3.Second question] => 30
                [3] => 30
                [Second question] => 30
                [4.Third question] =>
                [4] =>
                [Third question]] =>
            )
    
    )

    I tried to put:

    /* get all the form values */
    			$date_created		= $form_data['date_created'];
    
    			$field2	= $form_data['2.First question']['2'];
    			$field3	= $form_data['3.Second question']['3'];
    			$field4	= $form_data['4.Third question']['4'];	
    
    			/* format the template */

    But I get MYSQL errors

    Notice: Undefined index: 2.First question in
    C:\wamp\www\mydomain.com\wp-content\plugins\gravity-forms-pdf-extended\templates\default-template.php on line 80
    Notice: Undefined index: 3.Second question in
    C:\wamp\www\mydomain.com\wp-content\plugins\gravity-forms-pdf-extended\templates\default-template.php on line 81
    Notice: Undefined index: 4.Third question in
    C:\wamp\www\mydomain.com\wp-content\plugins\gravity-forms-pdf-extended\templates\default-template.php on line 83

    Any idea ?

    Thread Starter cotp

    (@cotp)

    Hello Blue Liquid and thanks for answering back.

    I took the code from that page:
    http://gravityformspdfextended.com/documentation/examples/custom-template/

    I was not clear for me it was from an old version of the plugin, maybe I misunderstood :/ I just used that code since it was on that page as an example.

    I will try again and let you know.

    Also you mention somewhere that we can use the parameter data=1 to show the fileds name in admin mode but I could not get that working…

    I used it when I preview the form, maybe I did something wrong ?

    Thanks a lot Blue Liquid, I will install it again then 🙂

    Thread Starter cotp

    (@cotp)

    Thanks for your quick reply, I found the files and was able to test a restore locally. It worked fine 🙂

    I found that the files were easy to find when I read the installation in wordpress site but i think it was not clear inside the documentation/readme file. (just as a feedback)

    Thanks again for your help 😉

    Hello, I have the same error on a fresh install with latest version of wordpress 3.5.2.
    I installed it locally with wamp and activated debug as you mentionned.

    Here is the error code:

    Fatal error: Call to undefined function rgpost() in C:\wamp\www\mydomain.com\wp-content\plugins\gravity-forms-pdf-extended\pdf.php on line 174
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0011	971320	{main}( )	..\plugins.php:0
    2	0.0015	1088776	require_once( 'C:\wamp\www\mydomain.com\wp-admin\admin.php' )	..\plugins.php:10
    3	0.0017	1114760	require_once( 'C:\wamp\www\mydomain.com\wp-load.php' )	..\admin.php:30
    4	0.0019	1133088	require_once( 'C:\wamp\www\mydomain.com\wp-config.php' )	..\wp-load.php:29
    5	0.0023	1264488	require_once( 'C:\wamp\www\mydomain.com\wp-settings.php' )	..\wp-config.php:99
    6	0.2445	35301824	do_action( )	..\wp-settings.php:327
    7	0.2465	35957784	call_user_func_array ( )	..\plugin.php:406
    8	0.2465	35957816	GFPDF_Core::fully_loaded_admin( )	..\plugin.php:406

    Hope it helps

    Thread Starter cotp

    (@cotp)

    Just a little note again here to know if someone has actually used a way to switch between 2 different menus with Qtranslate ?

    Then I could use some content on one page and some other content on another page…

    Thread Starter cotp

    (@cotp)

    Hello again,

    I had an idea:

    I created 2 quizzes
    1) in French, with code[quiz=1]
    2) in English, with code[quiz=2]

    Then on the page I created I wrote

    [:en][quiz=2][:fr][quiz=1]

    instead of just [quiz=1]

    But it didn’t work it showed both quizzes

    I also tried with

    <!--:en-->[quiz=2]<!--:--><!--:fr-->[quiz=1]<!--:-->

    But it also didn’t work it showed both quizzes

    So now I need another idea…

    Maybe it is possible I create two pages
    1) in French, with code[quiz=1]
    2) in English, with code[quiz=2]

    But then I would nead an idea to make 2 different menus (on for English and one for French)

    Anyone ?

    Thread Starter cotp

    (@cotp)

    just found by myself the answer on your forum ^^

    I used [:en]English[:de]Deutsch instead and it works like a charm

    Hope it can help other people 🙂

    Thread Starter cotp

    (@cotp)

    Hello John and thanks again for your help on that.

    So far I added your code inside after
    <?php } elseif (is_single()) { ?>

    but it didn’t work :/
    I had twice the same title with no link in it…

    Well I guess I will have to try to stick with what I have for now it is not that big of a bug anyway…

    Let me know about the other script if I can implement it I will try it.

    Thread Starter cotp

    (@cotp)

    Thanks John, I didn’t know pastbin nice 🙂

    Hee is the link:
    http://pastebin.com/PTrK6Y2q

    Thread Starter cotp

    (@cotp)

    Thanks John for your answer.

    If I try to hard code the URL could I write somthing like this ? :

    <?php if( is_faq() ) { ?>
    					<a href="http://www.mydomain.com/faq/"><span class="raquo">&raquo;</span>
    
    <?php } ?>

    can you help me on what I should write to replace “is_faq” by the correct code ? your faq plugin if I understand well what you said is a certain “type” of post ? Does it have a special category ?

    Thanks in advance for your help and sorry if my level in php is so basic… I try to understand though the best I can…

    Thread Starter cotp

    (@cotp)

    Sure here is a screenshot, you can see clearly the repetition in each FAQ of the list of the Glossary

    http://hpics.li/2422cc4

    If you have any idea on how to fix the issue, let me know 🙂

    Thanks John for your help…

    Hello,

    Tried to install it locally with wamp.

    Search is not working, I get an error message: “The requested URL /mydomain.com/faqs/search/test was not found on this server.”

    Any idea on how to fix this ?

    Thanks in advance and congrats for the plugin !

    Just a feedback to tell you that my site was down because of alinks plugin activated so it may be not compatible with 3.0

    Please tell us if you find a replacement,

    I’m interested 😉

    Cotp

    Hi all, I looked in the config file I have fr_FR like in Contact Form 7

    My page is in French but when I send the message I get in English:
    “Your message was sent successfully. Thanks.”

    I tried to changed it in functions.php but is still appears in English 🙁

    Any idea what I could do ?

    Cotp

Viewing 15 replies - 16 through 30 (of 34 total)