Jump to content

newseed

Advanced Member
  • Posts

    1,436
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by newseed

  1. Well yes if you plan on making a ecommerce from scratch or want to do extensive programming. Otherwise, I would use one of the many ready-made open source shopping cart that are out there, ZenCart, osCommerce, etc. There are also paid versions which could run from just a few dollars into the several hundred dollars.

     

    Finally, you can use a online shopping cart which is where you create a account and purchase a plan that varies in monthly/yearly cost but you will have just about everything and updates are always taken care of for you. There might be some limitations to customization or programming but a good online service will give you adequate access to make some modifications.

    • Upvote 1
  2. Not much to go on here. Have a url to the problem?

     

    You might determine what you done to break it first.

     

    -Did you do a site update via updating Wordpress to the latest version?

    -Updated the theme?

    -Added any new plugins? -

    Did you hand code something into any of the theme's files?

  3. The part that does that is

     

     

    #header .navigation li:hover

     

    which has the margin-top: -2px;j and height: 42px;

     

    Just remove both of them if you don't want all the tabs to shift upward. However, if you just don't want it to happen for current page's tab then you can try this:

     

    #header .navigation li:hover.current-menu-item { height: 40px; margin-top: 0;}

  4. If I understand correctly, you want to keep your hover effect but not on a current page. If you are on home then you want to adjust or edit that hover effect.

     

    Look for: #header .navigation li.current-menu-item

     

    You can adjust your hover there and if you need to adjust the link ( <a> ) on hover then you would add this new class:

     

    #header .navigation li.current-menu-item a:hover {/*styles here*/}

     

    The key class here is .current-menu-item which gets added on whatever current page you are on.

  5. Please take a look at this link:

     

    http://www.todd-holland.com

     

    This issue is in IE ONLY.

     

    Hover over 'FINE TEAS' or 'TEA ACCESSORIES' from the left menu. The flyout appears but you will notice a whitish border line wrapping around the ul container of the submenu. I have been beating myself up trying to find the problem and solve it. So far tried a good number of things like no background, no borders, etc to each of the element with no success.

     

    I hope someone can point me in the right direction as to what the problem is so I can fix it for IE.

     

    Thank you.

  6. I finally tried using Contact Form 7 plugin and it's now starting to work. However, once it did send an email but again it came up blank. I don't know if that was a fluke or not but I was unable to reproduce the problem again. I hope this is the end of it.

  7. I am trying to use this script from W3C

    http://www.w3schools.com/php/php_secure_mail.asp

     

    I using that form as is.

     

    When I took over this site it had some kind of contact form plugin already but it was deactivated and so I am wondering if that didn't work either and possibly server/php conflict?

     

    Oh, and the test form (the one above) is not within the WP (is in it's own folder) because I wanted to eliminate that WP is not the culprit.

  8. I am totally oblivious that I cannot get a simple email form to send a one line field collecting a email address only.

     

    Somebody please help me get it working. I tried using the one for W3C (link) with no success.

     

    I just need a simple email collector with a secure way to prevent injections to the form and provide a way to redirect it to a preferred url after submission.

  9. No problem Ben. I have tried again but I can't seem to get past this issue with this script in any changes I make. It will either break or I cannot get the submitted email sent to a recipient. Out of the box it works fine but I don't need all those other fields.

    *sigh*

  10. Ben, I applied a new email script which works fine with the exception that it does not list the email.

     

    I got this script from here.

     

    Since I only need the Email address filled and sent, I stripped out all instances of the fields and logic that I don't need. Again, the only issue I have is the submitted email address does not appear but the label does.

     

    Can you give the source a look per the link above and determine what I should comment out.

     

    You know I've been doing web stuff for 9 years now and I have yet to jump into learning PHP like everything else. :(

    I know just enough to plug things in but email scripts has never been my strong point.

  11. Someone back in 2012 had added this script replacing the wp plugin they had there before. The client was not clear as to when it stopped working. I may just swap out this script with another. Any suggestion which one to use specifically for this case?

  12. I inherited a site that has a php email script embedded into a WP site. This seems to be a non-WP script. The issue is that the client receives a email notification when someone submits an email but the notification email comes blank.

     

    Here's the html:

    <form action="http://www.SITEURL.com/fb-html/mail.php" onsubmit="javascript:return validForm(document.mailinglist)" name="mailinglist" id="mailinglist">
    <input  name="email" id="email"type="text" onblur="if (this.value == '') {this.value = 'Enter email address...';}" onfocus="if (this.value == 'Enter email address...') {this.value = '';}" size="20" value="Enter email address...">
    <input type="image" class="button-ok" src="http://SITEURL.com/wp-content/themes/twentyten/images/mailing-button-ok.gif">
    </form>

     

    Here's the form action code (mail.php):

     

    <?php
    
    /* Set e-mail recipient info@SITEURL.com*/
    $myemail  = "info@SITEURL.com";
    $subject  = "Join Our Mailing List";
    $headers = "From: SITE NAME Peace Movement <info@SITEURL.com>\r\n";
    $from = "SITE NAME Peace Movement <info@SITEURL.com>";
    /* Check all form inputs using check_input function */
    
    
    /* Let's prepare the message for the e-mail */
    $message = "Site name: SITE NAME
    Your Mailing List form has been submitted by:
    Email: $email
    ";
    /* Send the message using mail() function */
    mail($myemail, $subject, $message, $headers);
    $myemail1=$_REQUEST['email'];
    $subject="We're in this together!";
    $headers = "From: SITE NAME Peace Movement <info@SITEURL.com>\r\n";//$headers = "From: SITE NAME <info@SITEURL.com>\r\n";
    $from ="SITE NAME <info@SITEURL.com>";
    $message = "<table width='100%' border='0' cellspacing='0' cellpadding='0' style='background:#183e69; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#333; padding:0px; margin:0px;' height='100%'>
    <tr>
       <td align='center' valign='top'> </td></tr>
     <tr>
       <td align='center' valign='top'>
       <table width='600' border='0' cellspacing='0' cellpadding='0' align='center' style='background:#fff;' >
     <tr>
       <td align='center' valign='top' style='padding:15px 0;'><a href='http://www.SITEURL.com/' target='_blank'><img src='http://www.SITEURL.com/fb-html/the-universal-flag-logo.jpg' alt='THE SITE NAME' width='433' height='98' border='0'></a></td>
     </tr>
     <tr>
       <td align='center' valign='top'><img src='http://www.SITEURL.com/fb-html/banner-img.jpg' width='568' height='267' alt='banner'></td>
     </tr>
     <tr>
       <td align='center' valign='top'> </td>
     </tr>
     <tr>
       <td align='left' valign='top'><table width='95%' border='0' align='center' cellpadding='0' cellspacing='0'>
         <tr>
           <td align='left' width='100%' valign='top'>
             <p style='padding:0px; margin:0px; line-height:20px; font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333;  text-align: left;'>
               Dear Friend,<br>
               <img src='http://www.SITEURL.com/fb-html/universal-flag.jpg' width='164' height='164' align='right' alt='SITE NAME' style='float:right; margin:10px 0px 10px 15px;' />  <br>
               Welcome to the SITE NAME Peace Movement! We are a 501c3 non-profit collective, comprised of students, authors, environmentalists, musicians, artists, spiritual leaders, activists, mothers, fathers, and every day people...just like you
    from around the globe. Together, we are working to bring about peace by reminding others...we are all connected.<br>
     <br>
               Want to get more involved in the SITE NAME Peace Movement?<br>
     <br>
               Please consider the following:<br>
     <br>
    
               </p>
             <table width='100%' border='0' cellspacing='0' cellpadding='0'>
               <tr>
                <td width='95%' align='left' valign='middle' style='font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333;'>-      Like us on Facebook by visiting our page <a href='http://www.facebook.com/SITEURL' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#0e7791; text-decoration: underline;' target='_blank'>here</a> - and suggest our page to your friends!</td>
                 </tr>
               <tr>
                 <td align='center' valign='top'> </td>
                 <td align='left' valign='middle'> </td>
               </tr>           
    
                 <td width='95%' align='left' valign='middle' style='font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333;'>-      Follow us on Twitter by visiting our <a href='http://www.twitter.com/universal_flag' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#0e7791; text-decoration: underline;' target='_blank'>Twitter</a> page</td>
                 </tr>
               <tr>
                 <td align='center' valign='top'> </td>
                 <td align='left' valign='middle'> </td>
                 </tr>
               <tr>
    
                 <td width='95%' align='left' valign='middle' style='font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333;'>-      
                   Purchase a flag from our <a href='http://store.SITEURL.com' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#0e7791; text-decoration: underline;' target='_blank'>online store</a> and share it with your friends, family, and community
                   </td>
                 </tr>
               <tr>
                 <td align='center' valign='top'> </td>
                 <td align='left' valign='middle'> </td>
                 </tr>
               <tr>
    
                 <td width='95%' align='left' valign='middle' style='font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333;'>-      
                   Write us at <a href='mailto:info@SITEURL.com' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#0e7791; text-decoration: underline;'>info@SITEURL.com</a> to volunteer - we have lots of opportunities for people in every country! </td>
                 </tr>
               <tr>
                 <td align='center' valign='top'> </td>
                 <td align='left' valign='middle'> </td>
                 </tr>
               <tr>
    
                 <td width='95%' align='left' valign='middle' style='font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333;'>-      
                   Become an affiliate and sell SITE NAMEs to earn money for your own organization - write <a href='mailto:info@SITEURL.com'  style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#0e7791; text-decoration: underline;'>info@SITEURL.com</a> for more info. </td>
                 </tr>
               <tr>
                 <td align='center' valign='top'> </td>
                 <td align='left' valign='middle'> </td>
                 </tr>
               </table>
             <p style='padding:0px; margin:0px; line-height:20px; font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#333; text-align:left;'>
               You'll be receiving periodic updates, invitations, and announcements about special deals and giveaway contests. We will never sell, rent or give your name or email address to anyone. And, you can always unsubscribe by clicking the link at the bottom of any future emails.<br>
     <br>
               Thanks again for registering. If you have any questions or comments, feel free to contact us.<br>
     <br>
     <br>
     <strong>Namaste,<br>
       Brian McClure & the SITE NAME community</strong><br>
     <br>
     <br>
               P.S. If you are not familiar with the meaning of the flag and symbol, you can find it <a href='http://www.SITEURL.com/about/' target='_blank' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#0e7791; text-decoration: underline;'>here</a></p>
             </td>
           </tr>
    
         <tr>
           <td align='left' valign='top'> </td>
           </tr>
         <tr>
           <td align='left' valign='top'><img src='http://www.SITEURL.com/fb-html/heading-line-img.jpg' width='562' height='25' alt='heading'></td>
           </tr>
         <tr>
           <td align='left' valign='top'> </td>
           </tr>
         <tr>
           <td align='left' valign='top'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
             <tr>
               <td width='38%' align='left' valign='middle'><a href='http://www.facebook.com/SITEURL' target='_blank'><img src='http://www.SITEURL.com/fb-html/facebook-img.jpg' alt='Facebook' width='137' height='42' border='0'></a></td>
               <td width='40%' align='left' valign='middle'><a href='http://twitter.com/Universal_Flag' target='_blank'><img src='http://www.SITEURL.com/fb-html/twitter-img.jpg' alt='Twitter' width='143' height='42' border='0'></a></td>
               <td width='22%' align='left' valign='middle'><a href='http://www.youtube.com/user/3SITEURL3' target='_blank'><img src='http://www.SITEURL.com/fb-html/youtube-img.jpg' alt='Youtube' width='97' height='42' border='0'></a></td>
               </tr>
             </table></td>
           </tr>
         <tr>
           <td align='left' valign='top'> </td>
           </tr>
         </table></td>
     </tr>
     </table>
    
    
       </td>
     </tr>
     <tr>
       <td align='center' valign='top'> </td>
     </tr>
     <tr>
       <td align='center' valign='top' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#fff;'>©2012 SITE NAME Companies. All Rights Reserved</td>
     </tr>
     <tr>
       <td align='center' valign='top'> </td>
     </tr>
    </table>
    
    ";
    $headers  = "MIME-Version: 1.0\n";
    	$headers .= "Content-type: text/html; charset=iso-8859-1\n";
    	$headers .= "X-Priority: 3\n";
    	$headers .= "X-MSMail-Priority: Normal\n";
    	$headers .= "X-Mailer: php\n";
    	$headers .= 'From: SITE NAME Peace Movement <info@SITEURL.com>'. "\r\n";
    	$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    
    mail($myemail1, $subject, $message, $headers);
    /* Redirect visitor to the thank you page */
    header('Location: http://www.SITEURL.com');
    exit();
    
    
    
    
    //------------------------------------------------------------------------------------------
    function formSelected( $var, $val )
    {
       echo ( $var == $val ) ? "selected" : "";
    }
    
    
    //------------------------------------------------------------------------------------------
    function formChecked( $var, $val )
    {
       echo ( $var == $val ) ? "checked" : "";
    }
    
    
    
    
    /* Functions we used */
    function check_input($data, $problem='')
    {
       $data = trim($data);
       $data = stripslashes($data);
       $data = htmlspecialchars($data);
       if ($problem && strlen($data) == 0)
       {
           show_error($problem);
       }
       return $data;
    }
    
    function checkbox_values($checkbox_array) {
     $s = "";
     foreach ($checkbox_array as $c) {
    
       $s = $s . " " . $c;
    
     }
     return $s;
    }
    
    function show_error($myError)
    {
    ?>
       <html>
       <body>
    
       <b>Please correct the following error:</b><br />
       <?php echo $myError; ?>
    
       </body>
       </html>
    <?php
    exit();
    }
    ?>
    

     

    Any help would be greatly appreciated.

  13. I don't think there is a comprehensive WP plugin that will do that. Your best bet is to post a request to hire a developer to build it for you. You can ask someone here or post your job at this site.

     

    The other options are ODesk.com or Elance.com

  14. The odds are that all the necessary files for the template are there. What you might be missing is the data. Some templates will include a XML file (.xml) containing stock data that you can import. That file should build all the pages for you. Thereafter, you will have to replace the necessary images and content with yours.

     

    Just check the other folder within that zip file you have on your computer to see if there is such a file. If so, you will need to login to your WP admin and from the left menu area, go to Tools and then Import. It will ask you what kind of import you want to do. You will find several options. Click on the 'Wordpress' option. On the next page just click on 'Browse' and find that .xml file. Just click 'Upload file and import' button.

  15. Typically, if the theme is built right you should not have to unzip the files. You would login to your WP admin, click on Appearance and then Themes. At top, click on Install Themes. Chose to Browse your computer and find the zip file. The rest is self-explanatory.

     

    If by chance that the zip file is not a installable type then you will need to unzip that file and find the theme folder. FTP into your site and go to the /wp-content/themes/ folder and upload your theme folder there. Once done, go back to your WP admin and click Appearance and then Themes. Locate the theme and activate.

  16. Again, I don't think you are grasping what Wordpress can do for you. Maybe you can explain why you don't want to use WP?

     

    If you want to just create them via html and css and not use Wordpress or any other CMS then you can set up sub folders specifically for your clients.

     

    The other option is .dwt templates. This is commonly used by Dreamweaver and Expression Web (formerly FrontPage). You can define what areas the client can edit but it will require them to know html.

     

    However, you can also do this with Wordpress as well. How that works is that you build your site like you normally do and then set up WP in it's own folder and build your pages specifically for clients to edit. So if you have 20 pages and only 5 of them are going to be edited by the client then you add those 5 pages to WP only.

     

    As for design, it's really not difficult to apply your design to WP.

     

    If you are comfortable with php, you could set up includes specifically for clients to edit. They will only edit what's in that include file.

     

    <body>
    <div id="header">
    --header stuff here--
    </div>
    <div id="leftcolumn">
    --left menu or content here--
    </div>
    <div id="content">
    <?php include("client-folder/content-for-home-page.inc"); ?>
    </div>
    </body>
    

     

    Then the include file will only contains the content that the customer can edit.

     

    You have some choices here but I think using WP is going to be the best bet for you and the client.

×
×
  • Create New...