Jump to content

Basil

Members
  • Posts

    49
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

13,536 profile views

Basil's Achievements

Full Member

Full Member (4/6)

14

Reputation

1

Community Answers

  1. great news! may i ask if we can download/buy? i have bought padloper before 1year just to support it never used in real project yet.
  2. Very good news! i am happy that i will use Padloper 2 & Processwire for my shop, i cant wait, sign me in for upgrade from old Padloper when you are ready.
  3. yes kongondo i realy need this! i believe this is what many customers need and is going to be the next big step! please let me know if you develop this module.
  4. thank you guys! first i want to tell you that i use processwire 2.4 version (because my server run on php 5.3) hi Macrura, no i dont use robots.txt and i just have enable this on htaccess RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] so it will redirect to www hi cstevensjr, i just use the original htaccess for version 2.4
  5. hi to all! i have this problem in the BING webmaster tools, my site is not indexed at all, (GOOGLE HAS MORE THAN 100 PAGES INDEXED) and the site works fine, the site is on 3+ years, when i check my site with BING BOT i get this errors as result in all pages i run the bot. HTTP/1.1 403 Forbidden Connection: Keep-Alive Date: Tue, 21 Apr 2015 01:22:03 GMT Keep-Alive: timeout=3, max=100 Content-Length: 312 Content-Type: text/html; charset=iso-8859-1 Content-Encoding: gzip Server: Apache Vary: Accept-Encoding <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /en/airport-transfers/ on this server.</p> <p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p> <hr> <address>Apache Server at www.mysite.com Port 80</address> </body></html> any idea what to check? i am realy lost.
  6. thank you BernhardBthat is exactly what i want! <?php $active = ' active'; // set active for first item foreach($page->images as $img) { ?> <div class="item<?= $active ?>"> <img src="<?php echo $img->url; ?>" /> <div class="container"> <div class="carousel-text"> <h2><?php echo $img->description; ?></h2> </div><!-- /carousel-text --> </div><!-- /container --> </div><!-- /item --> <?php $active = ''; // remove class "active" for following items } ?>
  7. hi to all members! i use processwire 2.4 (my server php is 5.3) i try to translate my home template but i cant get all the translatable fields in admin, for example in the folowing code i dont get the "Philosophy" word for translate, and this happens in the other words to and to all other templates <h4><?php echo __("Our"); ?> <span><?php echo __("Philosophy"); ?></span></h4> here is an image of the field not there any idea why this might happen, thank you!
  8. hi apeisa! first i want to say that i love processwire & now i am going to use it for my eshop thanks to your padloper!! can you please advise me how to implement to PadCart a sizes field (page fieldtype) so when you add a product to cart it adds also the size you have choose, the code i have in product template is $cart = $modules->get("PadCart"); $content .= "<br>Price: " . $cart->renderPriceAndCurrency($page->pad_price); $content .= "<br>In stock: " . $page->quantity; // my field size is a multi page field // this is what i need to get to display in cart and order if($page->size) { $content .= "<br>Size: <select>"; foreach($page->size as $size){ $content .= "<option>{$size->title}</option>"; } $content .= "</select><br>"; } $content .= $modules->get("PadRender")->addToCart(); $content .= $modules->get("PadRender")->editCart(); $checkout = $modules->get("PadCheckout"); $checkout->setPaymentModule("PaymentStripe"); $checkout->setInvoiceMode(true); // This means that actual payment phase will be skipped $checkout->setShippingModule("ShippingEmail"); // This means that all orders will use this specific shipping module sory to bother but i am trying to learn code.
  9. Apeisa this is great news!!! i cant wait to buy....
  10. Thank you apeisa... Cant wait to buy it!! when you have some demo let us now.
  11. thank you kongondo! i manage to solve it this way: <!-- Wrapper for slides --> <div class="carousel-inner"> <?php $first = $page->images->first(); ?> <div class="item active"> <img src="<?php echo $first->url; ?>" /> <div class="container"> <div class="carousel-text"> <h2><?php echo $first->description; ?></h2> </div><!-- /carousel-text --> </div><!-- /container --> </div><!-- /item --> <?php foreach($page->images->slice(1) as $img) { ?> <div class="item"> <img src="<?php echo $img->url; ?>" /> <div class="container"> <div class="carousel-text"> <h2><?php echo $img->description; ?></h2> </div><!-- /carousel-text --> </div><!-- /container --> </div><!-- /item --> <?php } ?> </div><!-- /carousel-inner --> i dont know a better way, but i wait and see..
  12. hi to Processwire LOVELY COMMUNITY! i have a question about how can i add a class to current viewable image from images field. my code is like this: <?php foreach($page->images as $img) { ?> <div class="item"> <img src="<?php echo $img->url; ?>" /> <div class="container"> <div class="carousel-text"> <h2><?php echo $img->description; ?></h2> </div><!-- /carousel-text --> </div><!-- /container --> </div><!-- /item --> <?php } ?> i need to add only for the current image to this div <div class="item"> the class of active, like this <div class="item active"> is there any way to make it happen? Thank you in advance!
×
×
  • Create New...