whatwhenwhere
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: read excel file in pluginI find out that I must read file excel like this code:
$filecontent = file_get_contents($url); file_put_contents($tmpfname, $filecontent); $excelReader = PHPExcel_IOFactory::createReaderForFile($tmpfname);
with $url is address of file to upload and $tmpfname is hold temp data. Tks
- This reply was modified 6 years, 10 months ago by whatwhenwhere.
Forum: Developing with WordPress
In reply to: wp_ajax_{action_name} not working in multi classbelow my Jquery script, tks @bcworkz
`jQuery(‘#quoc_gia’).on(‘select2:select’, function (e) {
jQuery.ajax({
type: ‘POST’,
url:ajaxurl,
dataType: ‘json’,
data:{‘quocgia’:’test’,action: ‘quocgia_change’},
success:function(res) {},
error: function(MLHttpRequest, textStatus, errorThrown){
alert(errorThrown);
}
});
});Forum: Developing with WordPress
In reply to: read excel file in plugin@bcworkz: sr my english is poor, my meaning is my plugin is operation in backend(admin) and not working properly.
Forum: Developing with WordPress
In reply to: read excel file in pluginMy plugin is working in backend, and I think problem about permission or secure when read file, if I read file excel on hardisk it’s ok or read file csv is ok.
- This reply was modified 7 years, 1 month ago by whatwhenwhere.
- This reply was modified 7 years, 1 month ago by whatwhenwhere.
Forum: Developing with WordPress
In reply to: read excel file in plugin@bcworkz: I try absoblute
$url = ‘https://xxx/wp-content/uploads/2017/10/test.xls’;
but got the same message errorForum: Fixing WordPress
In reply to: Custom page not showing@dmccan: thank you for your reply
1. No page the same name or in the trash
2. I choosen another theme but the custom page is not show
3. I disable plugin but the custom page is not show tooI think the plugin qTranslate-X is the main of the problem, I founded problem like this before and I go to the phpmyadmin and delete someone row in table and it ok, but this time I loose
Forum: Plugins
In reply to: [Slick carousel] how to use thisI use short code carousel for 2 image but it not show inline, it show a stack vertical image
Forum: Plugins
In reply to: [WP Flow Plus] Huge space below galleryI turn off reflections and meet the same problem then I must add css code above, it work
Forum: Fixing WordPress
In reply to: how to add product cate woocommerce to menuI have my own theme, and created some products category but I don’t know how to add these categories to menu
Forum: Fixing WordPress
In reply to: add to cart page without premium ecommerce pluginnow I can used a little bit woocommerce,mod please close topic
Forum: Fixing WordPress
In reply to: show products after overriding templates woocommerce or using hooksfinally I can show products
Forum: Fixing WordPress
In reply to: add to cart page without premium ecommerce pluginfinnally I install woocommerce plugin and read docs two links:
Template Structure + overriding templates via a theme
1. https://wcdocs.woothemes.com/codex/template-structure/
and Third party / custom theme compatibility
2. https://wcdocs.woothemes.com/codex/third-party-custom-theme-compatibility/These docs is two short and not complete they like the puzzling games.
With [1] link: I copy the templates from woocommerce plugin and move to my theme xyz/woocommere, after I don’t know how to show product to frontend, I had already two cate: hat, t-shirt but how to add them to menu and when users click on it the webpage is how properly cate I want, so sad I can’t go far with some word instruction from woocommerce.with [2]: I add to hook with 2 my div but nothing is show
@ben Casey: if you know about woocommer please help me
Forum: Fixing WordPress
In reply to: add to cart page without premium ecommerce plugin@ben Casey: most people in my country is not used paypal… they just used cash money or tranfer money throught local bank
@dwnfred: sorry my english, in my website just show product & price and button to cart & checkout page but my customer will not pay for anything,’add to cart’ button and checkout page just to my wepage look like beautiful or look a really ecommerce webpage.Until now I haven’t yet some tutorials create webiste ecommerce with woocommerce plugin or other ecommmer plugin
god bless everyone
Forum: Themes and Templates
In reply to: build my own theme ecommerce with ecommerce pluginanyone suggest have more way to do
I changed to <div id=”slider2″> but nothing happen, the nivo slider just show icon loading