trouble activating listing items

This topic contains 13 replies, has 4 voices, and was last updated by  Paolo 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #280929

    Myrianne
    Expired Member
    Post count: 48

    it seems im missing out on something to “publish” the items. my install at http://intouchdev.wpengine.com/ is working ok for the demo items supplied, but none of the user-supplied ones seems to be correctly “publishing” on the frontend. My items are set to be created by the user and saved into “draft” mode. I’ve went into the admin and manually activated them by using the regular wordpress article “publish” technique (in the item edit page on the right sidebar – publish button )

    the items still dont appear in the listings.

    when I try to preview them from the admin it results in a 404 page.

    can you let me know what is setup wrong, thanks for your support.

    I have a debug account ready for you if needed

    #281068

    Kor
    Moderator
    Post count: 16516

    Hi Hugues,

    Do you think you can share WP temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    Thanks!

    #283083

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    #283336

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I just had a look and what seems to be the problem is that there are plenty of mandatory fields that are empty in each of the listings.

    These mandatory custom fields are visible in the back end and not in the front end…

    Hope this helps.

    Let us know,

    Thanks

    p.s. very nice website… 🙂

    #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

    #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”

    #283489

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    the demo content supplied is supplied published with or without you creating the custom fields.

    Please try to put a generic value in all of those fields, or make them non mandatory and you will see that the listings will get published.

    After all, that is the logic behind mandatory fields.

    Thanks

    #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/

    #283522

    Paolo
    Site Admin
    Post count: 31211

    I see that listing set as private and you are currently in modifying it. Did you try setting it as published instead of private?

    Let me know if you logged out of it so I can check.

    Thanks

    #283540

    Myrianne
    Expired Member
    Post count: 48

    im out now, you can change anything in this article

    #283880

    Myrianne
    Expired Member
    Post count: 48

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

    #283940

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #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

    #284842

    Paolo
    Site Admin
    Post count: 31211

    great thanks for sharing your solution. 🙂

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount