Myrianne

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 45 total)
  • Author
    Posts
  • in reply to: change off-canvas menu width #289943

    Myrianne
    Expired Member
    Post count: 48

    the account menu that appears when clicking the “user icon” on the directory starter theme…

    click the “mon compte” menu item… http://intouchdev.wpengine.com/


    Myrianne
    Expired Member
    Post count: 48

    here is my original request… reply #284960

    how would I go about to override the geodir_loginwidget_output() function in /wp-content/plugins/geodirectory/geodirectory-functions/general_functions.php ?


    Myrianne
    Expired Member
    Post count: 48

    id like to override some functions you guys define in your plugin with my own modified version of it. maintaining plugin updatability


    Myrianne
    Expired Member
    Post count: 48

    Myrianne
    Expired Member
    Post count: 48

    how would I go about to override the geodir_loginwidget_output() function in /wp-content/plugins/geodirectory/geodirectory-functions/general_functions.php ?

    im looking for ways to modify without losing updatability or do some weird js hacks like the one ive posted up this discussion…

    btw… ill have lots of questions at first, but ill get the hang of it and stop bugging you so often soon!

    in reply to: trouble activating listing items #284841

    Myrianne
    Expired Member
    Post count: 48

    ive added the js code that hides the “conditionally required” infos, and now the item publishes fine…

    it would be nice for you guys to officially support conditionally required field… the logic for this isn’t too complicated… just hide the fields with a little js/jquery.

    it would really add to the capacities of the signup form to have better field management. ive had to twist the system quite a bit to make it require some confirmation certification # only when those certifications are selected from the dropdown.

    anyways here is the code if you have any use for it!
    ive had to put it on the front and backend JS.

    
    
    /* empreintes contextual fields */
    $('select#geodir_empreinte').change(function() {
    
        $( "select#geodir_empreinte option" ).each(function() {
            var slug = $(this).val().substr(5);
            var toShowId = "#geodir_empr_details_"+slug+"_row";
            if (this.selected){
                $( toShowId ).slideDown('fast');
            }else{
                $( toShowId ).slideUp('fast');
            }
        });
    
    });
    
    /* certifications contextual fields */
    $('select#geodir_certifications').change(function() {
    
        $( "select#geodir_certifications option" ).each(function() {
            var slug = $(this).val().substr(5);
            slug = slug.replace('-','_');
            var toShowId = "#geodir_cert_details_"+slug+"_row";
            if (this.selected){
                $( toShowId ).slideDown('fast');
                
            }else{
                 $( toShowId ).slideUp('fast');
               
            }
        });
    
    });
    
    $('select#geodir_empreinte').trigger('change');
    $('select#geodir_certifications').trigger('change');

    Thanks for your support, its really appreciated

    in reply to: additional conditions to validate #284777

    Myrianne
    Expired Member
    Post count: 48

    I see the /wp-content/plugins/geodirectory/geodirectory-assets/js/listing_validation.min.js
    file is doing the validation and have added the extra js in there to validate my field, but im worried that a plugin update would break that functionality.

    i know you can unqueue scripts and replace them with a modified copy that lies inside you child theme… would that be the best way to go?

    Would there be a way to just add some js on top of the present validation without touching the plugin code?

    If I wanted to add some server-side php logic to the fields saving – is there a hook for that?

    thanks for your support

    in reply to: trouble activating listing items #283880

    Myrianne
    Expired Member
    Post count: 48

    any progress? sorry to pressure you – my client needs this to work this weekend, absolutely…

    in reply to: trouble activating listing items #283540

    Myrianne
    Expired Member
    Post count: 48

    im out now, you can change anything in this article

    in reply to: trouble activating listing items #283491

    Myrianne
    Expired Member
    Post count: 48

    did so right now with the “test item” – doesnt change the fact its not showing in this page http://intouchdev.wpengine.com/c/alimentation/

    in reply to: trouble activating listing items #283488

    Myrianne
    Expired Member
    Post count: 48

    if its of any help – even hitting the “preview” link from the admin renders a 404 error page, and that with the post published, visible, and not private… you can try with item “test”

    in reply to: trouble activating listing items #283435

    Myrianne
    Expired Member
    Post count: 48

    hello – those mandatory fields are also not filled up in the demo content supplied, but they do publish correctly.

    please take the time to figure out the real reason why they dont publish –

    is there a condition in the backend tom prevent publishing of items with required fields missing – and if so – where can I override this?

    my client has a presentation in a few days, we really need those user-supplied t=items to publish asap… thanks

    in reply to: trouble activating listing items #283083

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    in reply to: basic theme mod question #275668

    Myrianne
    Expired Member
    Post count: 48

    ok, but im puzzled, what does the second parameter in that call stands for, then? do_action(‘geodir_top_content’, ‘add-listing-page’) ;

    in reply to: basic theme mod question #275496

    Myrianne
    Expired Member
    Post count: 48

    i feel im close with

    add_action('geodir_top_content', array('huge_home_top_content', 'add-listing-page'));

    but not quite there yet 😉

Viewing 15 posts - 31 through 45 (of 45 total)