updating wordpress svn with a mac

there is a very good document on doing SVN client on mac on this site "zigpress", but if you choose the command line tools option, you might encounter some tricky errors that took me a few hours to solve : when doing a diff on my wordpress event plugin after installing the command line option on my MAC OS 10.8.4 and specifiying the usr bin folder in the svnx preferences as illustrated below, I got the following errors

wordpress-snv-mac

  • "svnx xcode-select filemerge no xcode folder is set"
    Answer  : in my case the solution was to use the  xcode-select tool to specify the usr bin folder : sudo xcode-select -switch /usr/bin
  • after sorting the stuff I tried the diff and the default diff tool, even though present in usr/bin, does not work :
    "xcrun: Error: failed to exec real xcrun. (No such file or directory)"
    Solution  : do as indicated on the zigpress : download and use textwrangler diff feature

Magento vs woocommerce vs prestashop comparison

There was a time when I was working on multiple solutions, thinking positively that a lot of time spent on each of them would give me a great insight of  all possibilities that a mix of solutions could offer. And year after year, solutions evolve and some get better and easier to maintain and develop, and some not. I have been using prestashop, magento and wordpress / woocommerce for years and here is a quick review of all these solutions, from the point of view of the developer but also of the website owner, and of course of the end user. Curiously you will find that all these point of view lead to the same conclusion : wordpress woocommerce for all !

Magento / WOOcommerce / Prestashop comparison

The developer point of view

Prestashop is very simple to setup and offers a very quick configuration process, especially when you are working in France, because it is a french product. I quickly found out that developing themes, extensions and modules for prestashop is a bit strange and dodgy, and forces you to learn and maintain some strange knowledge of an extra language from the old twentieth century : smarty templating language. Just as if learning CSS, HTML, Javascript, PHP and Mysql was not enough. In my opinion, the simple fact that prestashop is using smarty shows that its developers have forgotten the original purpose of PHP. And to finish on prestashop, I have a few very good shops running on it for years, without any problem and doing good sales, but I have one problem :  I am too afraid to perform a software upgrade. don't ask me why but that's a looser solution for me.

Magento is incredibly smart. When I mean smart I mean you'll need a few months before you can even understand how to access data from the database. you need serious ZEND specific OOP knowledge and a lot of time and expertise to code Magento. And that's expensive. Yes a developer with magento expertise can earn a lot, but who pays. check that below in the website owner section.

in comparison with the truck and the pickup above,  Wordpress at first glance looks like a horse carriage. In its default distribution package, wordpress is just a blogging platform. Well that's what is was a few years ago when I started using it just for blogging. And I was developing my own e commerce package and trying various CMS platforms like Modx or silverstripe. And suddenly  Wordpress evolved to a full featured CMS platform that I integrated with MAgento and prestashop websites for serious content management those two cannot afford. And suddenly e commerce plugins came to the market. I've tried a few and my preferred is woocommerce. As a developper I just love using the same platform for content management, shopping cart, order management, online payment. And I've never felt limited by the almost perfect customisation development that wordpress integrates : themes and plugins   just illustrate the perfect division of tasks for a web site developer. If you want to do OOP like Magento, you can. But you don't have too. If you want to use Smarty like prestashop you can, but there's really no point. And if you want to develop once and reuse code in various website projects, well you can mix all aspects of a website with wordpress. That's just magic I think, at the cost of a rigourous selection of plugins that will take you more than an hour to select and install.

The shop owner point of view

It all depends which kind of shop owner you are. If you can afford one or two full time senior developers, then Magento is all right for you. If not, you will find that unless you have a good friend developer,  magento is expensive. Too expensive for my customers. But Yes it comes with a lot of features, but not more than prestashop and woocommerce. At some early stage, Magento was a leader in bulk product editing, very useful when playing with categories and products. But it's now 4 years that WordPress does that job quite well (see our article on information management with wordpress)

Prestashop is not expensive : in fact it runs very well on shared hosting. It also comes all featured, and is much easier to configure and setup than magento, but it has less customisation, especially graphic, possibilities.

WordPress is in my opinion the best compromise between cost, usability and security. as a website owner, you will, just like your developer, love the unique administration platform with drag and drop image uploading, drag and drop content management (via plugins), easy maintenance and upgrades meaning reduced administration costs. Of course this comes at a price : default worpdress installation is not e commerce ready, you need a good professional partner to set you up. After this initial step is done (finding the right web site expert), you have the guarantee of a stable platform for all your web development need : content management , advertising, product management, customer management, newsletter, etc...

The end user point of view

Yes you are building e commerce presence : the end user is the first and last contributor to your project, because it brings the finance that will ensure durability of your online project. Well I might repeat myself now but after a few years of ecommerce development I always felt very frustrated but the lack of Content Management offered by native ecommerce platforms like magento and prestashop. Now that wordpress has its own ecommerce capabilities, it is a very sensible choice to move all your ecommerce data to a single platform. And as a e commerce buyer, I like a website with a lot of information not only on products but also on the company that distributes them. WordPress offers so many layout capabilities that your online customer with feel in good company before he goes to purchase your   product.

Conclusion : woocommerce only ?

did I miss something ? are there really some unique features on magento and prestashop that woocommerce cannot perform ?

 

Easy wp guide PDF for your wordpress customers

we do WordPress developement for developers but also for our final customer, the web site owner. And even with a platform easy to use like WordPress, it can be good to provide basic instructions and written notes for content management. Usually I write specific tutorials for my customers but I have to admit that the Easy WP GUIDE is a good example of what I could give to all my customers. It is written and distributed in pdf version for free by Anthony Hortin, web developer from Melbourne Australia

Using Amazon S3 cloud storage with WordPress

I was quickly hooked to Amazon S3 storage via the free account creation offer on Amazon Cloud's website. AWS offers 5 free gigabytes of cloud storage, which is interesting if, as in my case, you need to host big files permanently, that could hardly be stored via standard wordpress installation. Of course you could increase upload limit but I am afraid this could be  security issue.

It turns out that the AMAZON WEB SERVICES is a cluster of different hosted applications, among which S3 is the simplest to use : it is no more than a file storage utility with a web based browser, web access to files, and various protection features.

If you want to host your WORDPRESS Media files on AMAZON S3, you need to install a plugin. I tried the WP READ ONLY plugin that is very easy to configure. All you need is to have configured  your S3 account :

  • choose a bucket   (some kind of folder for amazon S3),
  •  your amazon credentials : developer key and SECRET KEY

Other plugin I tried is wp2cloud but this one is more complex to configure as it requires linux skills to install Clouse,  Cloud Storage Engine for MySQL

Ajax Calendar plugin for past, present and future wordpress event management

[update 2013-09-01]

Version 1.3 of Ajax Calendar Future plugin  is now published on wordpress.org :  Sorry for the mess with include files, should be fixed now. Feel free to comment below if you encouter problems. current development for version 1.4 include calendar synchronisation with current post (display july in calendar if post was published in july).

Stay up to date and subscribe to our newsletter on our new site wpfestival.com !

This plugin is one of the most simple way to use standard wordpress post system to build specific business applications

  • event calendar for wordpress
  • publication schedule for book editors
  • meeting planning for groups

the plugin creates a monthly calendar with top and bottom month navigation, with the option to ajaxify the bottom next and previous links  :

  • Ajax on : click on next / previous to reload the calendar without reloading archive page
  • Ajax off (default) : click on next / previous loads the archive page for the selected month

 

 

 

How to recreate woocommerce pages

When you activate woocommerce plugin, a message box pops up at the top of the wordpress dashboard, inviting you to let the plugin automatically create specific woocommerce pages : shopping cart, order page, user page, etc... You can also remove the notice if you want to create the pages yourself. But if you change your mind and would like woocommerce to create the pages there is a tip that is documented on a stackoverflow conversation, it's very simple :

What ended up working for me was adding "&install_woocommerce_pages=true" to the Settings page URL.

 

Complex layout operations with wordpress

Building enterprise web sites from various graphic models involves two different level of customisation within the wordpress framework.

Page and post templates in wordpress

Themes are pieces of code aggregating various page types : archive pages, single post display, single page display. Most commonly all models of a theme share the same header and footer, and depending on specific coding operations, the same menu from the wordpress menu system. The theming system allows a lot customization options, including the possibility to define page templates for letting editors choose, for example, between full size page and 2 column page with widget enabled margin.

In native wordpress, this templating modification works only for pages. if you need to do this for posts, you need to install a specific extension "Custom Post Template" that will let you define specific post template, the same way you do for pages, by writing specific php template with instructions in the header comments.

Multi theming your site

Considering possibilities described above, multiple theming raises a lot of issues. The plugin JonRadio multiple theme comes with many configuration options to define specific theme for pages or sections. It has a big drawback though : it does not integrate theme options for the second theme, like widgets or menu, or other options.

php opensource cms 2013 06

  • http://getfuelcms.com/home gets released version 1
  • http://www.novius-os.org/ based on fuelphp
  • ametys.org

still wordpress is unbeatable at content management use, it lacks serious user features in its default configuration

5 Responsive Sliders plugins for WordPress with Touch Swipe Gestures

5 Responsive Sliders plugins for WordPress with Touch Swipe Gestures

An Image is capable of conveying thousands of feeling one the first look. The Right image gallery would definitely be the multiplying factor for your business clients as well as customer satisfaction. Definitely it is the best medium to showcase your complete range of products and services to your potential clients. With the advent of the WordPress more and more web businesses are making their way to use this most effective platform for their business.

Also similarly with the increase in the mobile devices such as iPhone, iPad and Android it is quite difficult for the designers to make their content to be compatible with these devices. Below are mentioned some of the leading plugins for the WordPress having the touch swipe feature which will completely change the way you do your business.

All these plugins are the responsive sliders and will integrate with your business to perfection.    

SwipeJS

The plugin basically gives you the best responsive taste without any trouble.  Many developers are using this open source plugin and certainly it has the thumb swipe feature for the mobile devices. Among the features of it are that it is responsive as well as it is IE7+ compatible. Along with that it supports all the Galley API’s such as previous, next, slide number and many more. It is best for callbacks and External API customization.

  Kenburner Slider WordPress Plugin

Kenburner

It is the dynamic combination of the text animation, Ken burner effects, versatile sliders and responsive features. You can really customize this slider as per your needs with a little CSS and HTML changes. It can be used with the thumb swipe gestures. It is easy to install and can be easily resized in terms of thumbs and images.

 Photoswipe

PhotoSwipeThis plugin for the WordPress is the most widely used plugin and no doubt it is mainly for the mobile devices. It is a HTML/ CSS/Java script based image gallery which is full responsive and touch compatible with the mobile devices. The plugin is basically open source and have many API’s which make it the famous option among many users. It is best optimized for the touch devices.

  Royalslider

The plugin is certainly easy to use and is one of the best responsive types of plugin. Some of the features of it are content slider, animated captions, responsive layout, touch support and many other features. For the navigation purposes you can use the thumbnails, tabs or bullets. You can use it banner rotator, gallery, content slider, video gallery, HTML content, slide show and various other types of purposes.

  Galleria –Responsive Java Script Image Gallery

It is basically the Java Script framework that simplifies the process of the creation of the beautiful images and galleries for web applications. The plugin is best for the responsive panel and it is free without any type of restrictions. Also it is touch swipe friendly and a comprehensive documentation is available. There is the option for the multiple themes along with the one core theme.

The above plugins are best responsive for the WordPress. All of them have the touch swipe optimization and can be customized for every type of device by the user as per the requirements.

Author Bio

Claudia has written on a number of articles on the  Microsoft SQL Server Training highlighting its importance in the business and IT world. The author tries to make the reader accustomed to every dimension of this task follow me on Twitter, Facebook & Google+.

cyclone slider : add page num setting

The Cyclone slider plugin for wordpress is one of the best free plugins available for making sliders within pages and posts. Apart from dealing with slides within a drag and drop framework, it also features a list of parameters for each slider, but the possibility to use numbers in the slide pagers is currently missing. it is very easy to add, so I put the code below until a new release comes with that feature.

 Note : before using the code below make sure you upgrade cyclone slider to the latest version of jcycle2  

  • in inc / admin parts/ slider-properties, add the html code to display the input field 

    <!--webmasterbulletin.net 20130505 add pagenum settings-->
    <div class="cycloneslider-field">
    	<label for="cycloneslider_settings_randomize"><?php _e('Pager / slide num ?', 'cycloneslider'); ?></label>
    	<select id="cycloneslider_settings_slide_num" name="cycloneslider_settings[slide_num]">
    		<option <?php echo (0==$slider_settings['slide_num']) ? 'selected="selected"' : ''; ?> value="0"><?php _e('No', 'cycloneslider'); ?></option>
    		<option <?php echo (1==$slider_settings['slide_num']) ? 'selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'cycloneslider'); ?></option>
    	</select>
    	<span class="note"><?php _e('display slide num in pager.', 'cycloneslider'); ?></span>
    	<div class="clear"></div>
    </div>
    <!--webmasterbulletin.net 20130505 add pagenum settings-->
  • in class-cyclone-slider, add the save value code in save_settings function
      $settings['slide_num'] = (int) ($_POST['cycloneslider_settings']['slide_num']); //webmasterbulletin.net20130505
  • and in the same file add the get setting code in  the shortcode function : 
    $slider_settings['slide_num'] = $this->get_comp_slider_setting($admin_settings['slide_num'], $shortcode_settings['slide_num']); //webmasterbulletin.net20130505
  • finally in functions.php, add the jcycle setting if the cyclone slider setting is on in cyclone_settings function

    if ($slider_settings["slide_num"])$defaults['data-cycle-pager-template']="<strong><a href=#> {{slideNum}} </a></strong>"; //webmasterbulletin.net20130505

woocommerce hack : free shipping incentive sales

When configuring woocommerce for wordpress shopping rates, you can opt for a combination of flat rate and free shipping with  minimum amount. by default woocommerce shopping cart will not behave perfectly. First hack will let the shopping cart shipping method selection update automatically when minimum order for free shipping is reached. Second hack will display an incentive message wehn minimum amount for free shipping is not reached. Everything is coded via filters and actions, and will work with woocommerce 2.0 and above

first hack : update shipping display choice when free shipping  minimum amount is reached

/**   from  https://github.com/woothemes/woocommerce/issues/1499
 *  Hide Standard Shipping option when free shipping is available
 */
add_filter( 'woocommerce_available_shipping_methods', 'hide_standard_shipping_when_free_is_available' , 10, 1 );
function hide_standard_shipping_when_free_is_available( $available_methods ) {

    if( isset( $available_methods['free_shipping'] ) AND isset( $available_methods['flat_rate'] ) ) {

        // remove standard shipping option
        unset( $available_methods['flat_rate'] );
    }

    return $available_methods;
}

second hack : display incentive message when minimum amount is not reached, including display of minimum amount and remaining amount to add to shopping cart. Very efficient ! 

 add_action( 'woocommerce_cart_totals_after_shipping', 'webmasterbulletin_sales_incentive'  );
       function  webmasterbulletin_sales_incentive()
       {
            global $woocommerce;
            $all_methods = $woocommerce->shipping->load_shipping_methods();
           
          $available_methods = $woocommerce->shipping->get_available_shipping_methods(); 
           if (isset( $all_methods['free_shipping'] )) 
           if (isset( $available_methods['flat_rate'] ))
              echo "<tr><td colspan='2'><div class='sales_incentive'><b> 
              buy more products  :</b><br>
               only " .  woocommerce_price($all_methods['free_shipping']->settings['min_amount']-  $woocommerce->cart->cart_contents_total   ) . "  more and get <br>
              <b>free shipping starting at  
              " .    woocommerce_price($all_methods['free_shipping']->settings['min_amount']   )    . " </b>
               </div></td></tr>";
       }

 

Magento deposit extension

Just a quick review of the MAGENTO Deposit extension, that I just purchased on the indiesweb company website. this extension is useful if you want your customers to pay deposit, percentage of the final product price for example, to make a reservation on a non  available product in our case.

Apart from the fact that the extension is very easy to install, does the job perfectly, I must mention that the team behind it are very efficient and dedicated Magento Expert who WILL without a doubt help you getting it online if some issues arise with compatibility with other modules on your install   : big congratulations to INDIESWEB for looking after their customers even in complicated scenarios, like the one I have, where INDIESWEB had to reproduce my MAGENTO install on their own local servers to identify the extension conflict that was blocking the correct display of the deposist on some invoices within the magento admin and customer account display on the front end. 

 

review : hosted photography portfolio services

photographyblogsites is a  wordpress hosted platform that gives you access to a lot of post creation options, the main purpose being the developement of your own photoblog. it can connect to photography vendor services like SmugMug, Pictage,Album Exposure, ShootQ.

you will find on  this article that  a lot of photographers use typepad premium services to get rid of the ads, or blogger or self hosted wordpress, the latter requiring more technical knowledge because of the time and expertise to set up a self hosted web site.

What would make a difference is a photography  hosted service that provides both web and tablet publishing with very specific tablet layout. webservice viewbook provides such features within a light and beautiful graphic framework.

Our choice is to provide a solution for wordpress users, in the form of a gallery plugin that integrates lightbox for desktop and touch swipe for tablets and touch devices. We will release this wordpress tablet gallery plugin very soon.

wordpress : protect file download to registered users only

In this article we will explore a set of code hooks into the worpdress customization framework. The aim of this technique si to hide pdf documents from search engines and non connected users,  and to present them with a custom  login page if not connected, that would redirect directly to the file download after identification (login) via this custom login page.

  • STEP1:  block pages for non registered users
    • to block a page from non registered users, page editor must set a custom field "block" set to 1.
  • present non registered users with form on protected pages
    • we filter the content (the_content)   and return a login form if user is not connected for pages. the login form is included in a specific file po_login_form
  • create specific pdf download link for first page attached PDF, with docid as get variable
    • on your page template, use a query to find your pdf (page attachment) object, once you have that pdf object you can use it to make your url depending on the login status: 
if (is_user_logged_in()) $urlPDF=$pdf->guid; else $urlPDF="/utilisateurs/identification/?docid=" . $pdf->ID;
  • redirect to file if get variable is set
    • add the po_redirect_after_login function the init filter. This function will test the docid   get variable, find  the corresponding pdf attachment and redirect to this attachment url if found and user is logged in, otherwise does nothing and lets the_content filter do its job presenting the login form.

wordpress 3.5 major image management improvement

Media tags and File Gallery : two main plugins for image management that are not so necessary now, as wordpress 3.5 comes with a new image management tools, that's really impressive,  whose killer feature is the possibility to choose, drag and drop images for native gallery creation, not just images from the post, but possibility of selecting any set of image for a specific gallery among many if necessary within post / page. What I need to test now is the media tag plugin for backward compatibility and the file gallery plugin that was allowing me to build galleries from a drag and drop selection of images is now uneeded. Media tags has not been updated for a year or two so I'm really concerned about this one for website upgrading to 3.5, as it relies extensively on the media interface. question opened as of now on wordpress forum.

free drag and drop slider plugins for wordpress

there are more and more drag and drop content management plugins for wordpress. I will without a doubt review some that deal with general content management, but for now I focus on sliders.