The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
<div dir="ltr" style="text-align: left;" trbidi="on">
Zoo is Joomla's one of the best CCK extension. It's flexible and powerful content application builder to manage your content. Zoo allows to import data in JASON or CSV format. Data import done in following 3 stages.
<br />
1) Upload CSV file.
<div class="separator" style="clear: both; text-align: center;"><a href="https://2.bp.blogspot.com/-GOvQMMOE5Ec/Ui8VbGn--MI/AAAAAAAAAvM/96_pu-r7cUc/s1600/upload_file.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://2.bp.blogspot.com/-GOvQMMOE5Ec/Ui8VbGn--MI/AAAAAAAAAvM/96_pu-r7cUc/s200/upload_file.gif" /></a></div>
<br />
2) Select delimiters.Type in the field separator and the field enclosure of the CSV file.
<div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-7yxvwrgdeRQ/Ui8VtnLr-jI/AAAAAAAAAvc/aM7DgZxFu6k/s1600/select_delimeters.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://1.bp.blogspot.com/-7yxvwrgdeRQ/Ui8VtnLr-jI/AAAAAAAAAvc/aM7DgZxFu6k/s200/select_delimeters.gif" /></a></div>
<br />
3) Assign the submission fields to the appropriate CSV files columns. Here you have to assign the data in your CSV file to an item type of the app.
<div class="separator" style="clear: both; text-align: center;"><a href="https://3.bp.blogspot.com/-U3WB_WnaROA/Ui8V0Un6JKI/AAAAAAAAAvk/spWwPMSQbeo/s1600/map_fields.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://3.bp.blogspot.com/-U3WB_WnaROA/Ui8V0Un6JKI/AAAAAAAAAvk/spWwPMSQbeo/s200/map_fields.jpeg" /></a></div>
1st & 2nd stage of data importing is very easy & straight forward where as 3rd stage will be depends on how many submission fields you have map to the appropriate CSV files columns. Its fine, if you have to map 4-5 fields but what if you wanna map 20-30 fields & you want to upload large data. This stage kills you.
Here we have solution for you. You just have to override administrator/components/com_zoo/views/configuration/tmpl/importcsv.php file. Add a Auto Map button & some script on click of Auto Map button in the file. That's it.
Lets add the button first. Put this code anywhere you want to see the Auto Map button on page.
<pre class="brush: csharp">
<input type="button" id="automap" name="automap" value="Auto Mapp" />
</pre>
Add the following Jquery script.
<pre class="brush: csharp">
$("#automap").click(function(){
$("li.assign").each(function(){
var catname = $(this).find("span.name").text();
if($(this).find('select.assign option').filter(function () { return $(this).html().toLowerCase() == catname.toLowerCase(); }).val()){
$(this).find('select.assign option').filter(function () { return $(this).html().toLowerCase() == catname.toLowerCase(); }).attr("selected","selected");
//$(this).find('select.assign').css("border", "1px solid green");
}else{
$(this).find('select.assign option').each(function(){
var crval = $(this).text().toLowerCase();
catname = catname.toLowerCase();
//console.log(crval.split(catname).length);
if(crval.split(catname).length > 1 ){
$(this).attr("selected","selected");
$(this).closest("select.assign").css("border", "1px solid red");
}else if(catname.split(crval).length > 1){
$(this).attr("selected","selected");
$(this).closest("select.assign").css("border", "1px solid red");
}
})
}
});
});
</pre>
<br /></div>
Read more https://techjoomla.com/joomla-development/zoo-csv-import-assign-fields-automatically.html
Read more https://sstude.com/knockout-popover/
A little time ago I had to fix a tricky conflict between two VirtueMart add-ons, namely OnePageCheckout and Finalize.
By fixing tha, i learned an important lesson on how to write your plugin. So I definitely think the all process it's worth sharing.
Made by Rupostel[1], OPC is a very handy suite of extensions for VirtueMart (component + plugin) that keeps your checkout process in one page.
Truth to be told, the code could do with a bit of refactoring, but it does its job and has a nice selection of themes to suit all tastes.
Of course it's quite complex because it has to control many parts of the checkout.
This - we'll see in a minute - it's one of the cause for the conflict.
Made by DayCounts[2], Finalize is a much simpler plugin that lets your user restart the payment process for pending order.
In other words, when a customer is looking at her order details and that order is still pending payment, she can see all the available methods to complete the payment.
In the e-commerce world, making life easier for customers is very important and this plugin is a reccomended add-on.
OPC is so complex that it has its own hooks; when some things happen in the component, some events are launched so that other parts of the component may be invoked.
One of this event is named getPaymentMethods.
Finalize it's much simpler and only does a few things on core Joomla events: onAfterDispatch, onBeforeRender and onAfterRender.
But... it has also a few helper methods.
By "helper method", I refer to all methods in a plugin which are not directly hooked to an event (if you know a bit about writing Joomla plugins you know what I mean, if not stay tuned because I may write something about it soon).
And by sheer coincidence, one of this methods is called "getPaymentMethods".
And since the Finalize plugin is a system plugin, it's always loaded; and when OPC launch the "getPaymentMethods" event, Finalize respond as well - but it's not supposed to.
Uh-oh, checkout broken.
I do not like very much the choice of "getPaymentMethods" for an event name. And this is not a trivial sin: the more I learn about development, the more I can see that correct naming[3] is one of the most important things.
But then again, creating a public helper method in your plugin class is also questionable.
So the important lesson for DayCounts, myself and everyone who writes Joomla plugins:
The quickest fix in this case was just to rename the method in the Finalize plugin as finalizeGetPaymentMethods, and change the one line of code that called it.
We already mentioned this to the DayCounts people so they should fix it in the next versions.
I hope everything was clear enough, if you have questions or want to add your thoughts please feel free to comment below!
Another example of the fact that the best solutions are developed because of practical issues. We were tweaking a Magento site for better sales conversion, but when customizing the success page (the page shown after the order has been completed) things got annoying: After a refresh, the cart was empty and we were redirected away from the success page. We developed an extension[1] to tackle the issue.
Let's reiterate: When a customer completes an order in Magento, he is redirected to the succes page (with the URL checkout/success). This page shows a bit of information like which order was completed, and that the customer receives some mail. But there are various opportunities to pick up on this page:
There might be many more tricks that can be applied to this page, but you'll get the picture: If you are sales minded, you will want to modify this page. So you modify the underlying PHTML-template templates/checkout/success.phtml and refresh the page. Damn, instead of viewing the modified contents, you are redirected back to the empty cart page and your order information is gone.
The normal solution would be to repeat the entire procedure. So, add products to the cart, go to the checkout, complete all steps in the checkout and end up on the success page again. If you are making tiny modifications, this process is time consuming and quite annoying. We at Yireo hate that. So we created a simple but effective extension to solve this issue once and for all: Yireo CheckoutTester[2].
The free CheckoutTester[3] extension allows you to preview the success page under a specific URL. Even better, you can take any order already placed in your shop and use that as preview data of the success page. Now, every time when you modify the success page, you can simply navigate to the CheckoutTester URL and refresh the page as many times as you like. Testing made smarter. If you are customizing Magento to increase conversion, this is a must have. And it is free.
Read more https://www.yireo.com/blog/1672-testing-the-magento-checkout-success-page
The June issue of the Joomla Community Magazine is here! Our stories this month:
Why do YOU support Joomla!?, by Dianne Henning
European Community Leadership Summit – Berlin, Germany, by Ruth Cheesley
Leadership Highlights June 2014, by Marijke Stuivenberg
Roundup from JUG Corner - May 2014, by Ruth Cheesley
No Silver Bullet - Fail Proof Systems, by Achal Aggarwal
GSOC14 MVC Project, by George Wilson
Joomla! Semantics (Microdata, RDFa), by Alexandru Pruteanu
Using Joomla to Make Joomla! Starting with JDatabase, by Pedro F. Vidal Lopez
Using SobiPro as a CCK, by Dennis Kmetz
Building Joomla! Web Help Systems - Part 3, by Matt Majeske
Citius Altius Fortius
Créer facilement son site avec Joomla! (partie 1)
Introduction au développement de plugin
Les améliorations de JLayout pour Joomla! 3.2
Astuces SEO pour migration - Partie 2
Ventajas de conseguir extensiones de Joomla piratas
Canales, divisiones, y la muerte de la "Página Web"
Monitorización de sitios web, copias de seguridad...
Hola ¿Qué hay de nuevo?
We want to publish your Joomla! story in the next JCM issue! So take a look at our Author Resources content to get a better idea of what we are looking for, and then register to become a JCM author and submit your Joomla! story!...
Page 775 of 1311