Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello Takayuki Miyoshi

    The file upload works great for me but i want to know is it possible to show the images uploaded as a thumbnail (like it shows on any email client as attachment) on the form instead of the file name. Now i have used JS to show the file name below the upload input field so that the user knows which file is uploaded/attached and can change if they have accidentally uploaded a wrong file.

    Regards
    Renu

    Hello Takayuki Miyoshi

    I am also having issues with iphone. In my case the form submits well and directs the user to the Thankyou message but the form is not sent to the mail id mentioned whereas if i submit same form from Android (Samsung) the attachment and the mail are sent to the respective email id.

    Can you pl help ?

    Regards
    Renu

    Thread Starter Rains

    (@rains)

    Hello Matt Gibbs

    I updated the plugin to new version 2.3.4, my WP version is 3.9.1. If i am on any element I see that html element h3/div showing as a clickable element on the bottom left of the WYSIWYG editor which in turn highlights that particular element to be edited. But i definitely feel that the solution is not so user friendly since you cannot see the complete html code like it use to show earlier in a pop-up.
    Would request if you can resolve this patch like it was earlier or atleast some way that can show the html code for the editor completely.

    Regards
    Renu

    Hello JB

    The issue of the $strPageTitle string is actually different. This string is suppose to pull the title of the Post/Page to be shared but somehow it picks the server name. So when i removed this string from the simple-share-buttons-adder.php file it did resolve the problem. But Since i wanted to pull the title of the Post/Page shared before the url I probed more in to the issue and got to know through the forum that there’s a chunk of code that needs to be replaced to get the Post/Page title along with the url to show correctly and make the Pagetitle string work as expected.

    So if at all you also want the name/title of the Post/Page thats shared kindly see this thread and its answer given by jjwalker in this thread:

    http://ww.wp.xz.cn/support/topic/page-title-not-being-picked-up-by-twitter

    Regards
    Renu

    Hello

    Oh i guess my code got messed

    So posting it again:

    You will have to edit the simple-share-buttons-adder.php file that you will find in the plugins folder
    you need to replace the Twitter link share code :

    // twitter share link
    	$htmlShareButtons = '<a class="ssba_twitter_share" href="http://twitter.com/share?url=' . $urlCurrentPage . '&text=' . $twitterShareText . '" ' . ($arrSettings['ssba_share_new_window'] == 'Y' ? 'target="_blank"' : NULL) . ($arrSettings['ssba_rel_nofollow'] == 'Y' ? 'rel="nofollow"' : NULL) . '>';

    The extra url that shows will not show once you replace the code. Basically i have just removed the ‘ . $strPageTitle . ‘ after the twittertext string.

    Hello

    I want to show the child pages as tabbed content and each of the child page may or may not have sub-child Pages or if i should say grand child page of the Parent Page. I want a loop or a wp query that can show these sub-pages of the child Pages to show their thumbnails or image fetched through a custom field to show in a row and when user clicks on these images it opens the content of that particular sub-Page
    in a lightbox or fancybox.
    So i have a code that shows these child pages as tabs. So if there’s a

    Parent Page
    – Child A
    — Grand Child A
    — Grand Child B

    – Child B
    — Grand Child 1
    — Grand Child 2

    All these child Pages are showing on the Parent Page as Tabs. I want if the tab content for Child A is showing which is default the grand child pages of child A – means Grand Child A, Grand Child B … should display as a row showing the images placed using a custom field. So when a user clicks that thumbnail i want this Grand Child A content to open in lightbox or fancybox. And if user clicks Child B tab then the grand child pages show – , Grand Child 2, … and on click of the images for Grand Child 1 or 2 its respective content should open in a lightbox or fancy box.

    The code that i am using to show the child Pages on Parent Page as tabs is :

    <ul class="nav nav-tabs" id="myTab">
    <?php
    $pages = get_pages('child_of='.$post->ID.'&sort_column=post_date&hierarchical=0&sort_order=desc&parent='.$post->ID);
    $count = 0;
    foreach($pages as $page)
    {
        $content = $page->post_content;
        if(!$content)
            continue;
        if($count >= 100)
            break;
        $count++;
        $content = apply_filters('the_content', $content);
    ?>
    
    <li>
    <a>"><?php echo $page->post_title ?></a>
    </li>
    <?php } ?>
    
    <div class="tab-content">
    
    <?php
        $pages = get_pages('child_of='.$post->ID.'&sort_column=post_date&hierarchical=0&sort_order=desc&parent='.$post->ID);
        $count = 0;
        foreach($pages as $page)
        {
            $content = $page->post_content;
            if(!$content)
                continue;
            if($count >= 100)
                break;
            $count++;
            $content = apply_filters('the_content', $content);
        ?>
    
    <div class="tab-pane" id="<?php echo $count ?>">
    <?php echo $content ?>
    </div>
    
    <?php } ?>
    
    </div>

    [Please post code or markup snippets between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Regards

    Hello KG69Design

    Thanks a lot for the code that you have given for the multiple file upload for the ContactForm 7 plugin. Would be glad if you can help me with a requirement – Is it possible to show the thumbnails for the images uploaded ?

    Regards
    Rains

Viewing 7 replies - 1 through 7 (of 7 total)