Jump to content

All22

Members
  • Posts

    20
  • Joined

  • Last visited

Recent Profile Visitors

3,417,997 profile views
  • LIP

All22's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

2

Reputation

  1. Hi AddWeb, thank your for the solution. Images for upload should be stored in /img directory, no need to change CHMOD, 644 recommended for security reasons, is fine. PROBLEM SOLVED Thank you again!
  2. Trying to upload products on fresh installation of PS8.1. After several attempts I installed full version both with products and all modules for this purpose. No third parties modules installed, after unsuccessful attempts I just installed importer module. PHP is 8.1, php settings all right. Images are not installed at all. Nor for categories, nor for products. They are in /upload directory, CHMOD 755 on every .jpg full path in sheet is OK, sheet was used succesfully before friendly url is OFF cache OFF, cleared to be sure Debugger ON, no problem shown. I tried step back and installed PS8.0.4, problem persists... 😞 Same happens both with native PS importer and importer module from third side. Any idea? Thanx.
  3. Hi, ynsers method updated for 1.6.1.4 AdminModulesController - uncoment row 139-141, in AdminController row 2283-2285, both like this: // if ($xml_module->attributes() == 'partner' && $key == 'name') { // $this->list_partners_modules[] = (string)$value; // } Step 2 - admin_dir is the direcotry, you RENAMED after instalation, so look for yours own name... :-) If I placed on line 37, and BEWARE, there are more foreaches. The "right" foreach is at line 185 in my case... Works perfect!
  4. Start your products with ID:2 ID:0 is reserved for shop number in multistore, ID:1 is root.
  5. In 1.6.0.5 problem with logo and breadcrumb persists. I found partial solution here: http://www.sslshopper.com/apache-redirect-http-to-https.html By adding this piece of code to .htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} all trafic is redirected from http to https, which is fine, when user forgets to type https. It also solves the problem with logo and breadcrumb. The problem is, this solution doesn't work on FB canvas page. Any solution?
  6. Thank you Dh42, I didn't know about SASS (http://sass-lang.com/guide), it seems it support what I need (variables).
  7. Is it possible to use .LESS files? Let's learn something here, so: if YES, could you state HOW? if NO, could you explain shortly WHY? Thank you! :-)
  8. Vekia, thank you for YOUR solution. Skylark - display none is not good solution. Btw, there is a difference between *.tpl and *.php files...
  9. No, not yet... :-( I just tried to post here, something went bad with formatting... I managed to have it closed, but after opening one item, everything was open again... This weekend I should have some time for it, so i will try again...
  10. <p>Yes, that is the function.</p> <p> </p> <p>I tried this:</p> <p> </p> <p> </p> <div>function setClosed()</div> <div>{</div> <div>$('#'+'#layered_form span.layered_close a'.attr('rel')).hide();</div> <div>$('#layered_form span.layered_close a').html('&lt;');</div> <div>$('#layered_form span.layered_close').addClass('closed');</div> <div>}</div> <div> </div> <div>but doesn't work properly. First statement is wrong, if commented out, the rest works.</div> <p> </p> <p> </p> <p>I tried this:</p> <p> </p> <p> </p> <div>function setClosed()</div> <div>{</div> <div>$('#'+'#layered_form span.layered_close a'.attr('rel')).hide();</div> <div>$('#layered_form span.layered_close a').html('&lt;');</div> <div>$('#layered_form span.layered_close').addClass('closed');</div> <div>}</div> <div> </div> <div>Function is called</div> <div>setClosed();</div> <div> </div> <div>inserted before</div> <div>cancelFilter();</div> <div>openCloseFilter();</div> <div> </div> <div>but it doesn't work properly. First statement is wrong, if commented out, the rest works.</div> <div> </div> <div>If I change that wrong first line with:</div> <div> </div> <div>$('#layered_block_left ul').hide();</div> <div> </div> <div>it works with all filters closed, but after choosing one everything opens... :-(</div> <div> </div> <div>Anybody to help?</div>
  11. Works fine in 1.5.3. Kashibabu, what about small change like this: $products = $category->getProducts((int)Context::getContext()->language->id, 1, 100); if ($products) {shuffle($products);array_splice($products, ($nb ? $nb : 10)); Languages seem to work fine.
  12. Hi, I want to start block layered navigation with all filter tabs closed, not open as it is default. Can someone advise me how to change the code? (I was trying but it's pretty large...) Thank you
  13. <p>In your product_list.tpl find statements like this:</p> <p> </p> <p><h3><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:<span style="color:#ff0000;">19</span>:'...'}</a></h3></p> <p> </p> <p>Change truncate value - it's a length of string which will be displayed and ended with ... Don't forget, that "m" is larger then "i" so be careful with the value you set... Better may be smaller, but not too short...</p> <p> </p> <p>Just behind iffed strings (e.g. availability, only online...) I put </p> <p> </p> <p></span><span style="color:#ff0000;">{else}<span class="availability">&nbsp</span></span>{/if}</p> <p> </p> <p>where class is the same as for the rest of the statement. If attribute is not set, it will keep the place, so whether attribute is displayed or not, the height is the same...</p> <p> </p> <p>For <span style="color:#0000cd;">availability</span> class it looks like this:</p> <p> </p> <p> </p> <div>{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="<span style="color:#0000ff;">availability</span>">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span><span style="color:#ff0000;">{else}<span class="availability">&nbsp</span></span>{/if}</div></div> <div> </div> <div>The similar spans I will use in my product page as well, and if there's need, for subcategories, too.</div>
  14. Another tip... If you use sprites (what you definitely should), you can make your logo clickable background image and sprite it. Make your logo div clickable: <a id="header_logo" href="{$base_dir}index.php" title="{$shop_name|escape:'htmlall':'UTF-8'}"></a> in header.tpl, and adjust #header_logo in global.css like this: #header_logo {float:left;display:block; background: url('../kvety.png') no-repeat 0 0; width:222px;height:95px;margin-top:0px;} and adjust position: div.header_logo a {padding-left:30px;} in my case. Working version here: kvetshop.sk
  15. Hello everybody, just small tip for speeding up the page. In header.tpl add "index.php" <a id="header_logo" href="{$base_dir}index.php" In my case, it speeds up loading time of my page after click on logo by 300 ms. The same applies on breadcrumb, add "index.php" to breadcrumb.tpl <div class="breadcrumb"> <a href="{$base_dir}index.php" title="{l s='return to Home'}"> juraj
×
×
  • Create New...