Просмотр сообщений

В этом разделе можно просмотреть все сообщения, сделанные этим пользователем.


Сообщения - cool_roman

Страницы: [1] 2 3 ... 6
1
Общие вопросы / Re: редактирование aux_page
« : Октября 01, 2013, 07:25:10 am »
до того как залил на хост - все работало. и создавал и редактировал через админку. теперь посленажатия на сохранить - ничего не сохраняется...

2
Общие вопросы / редактирование aux_page
« : Октября 01, 2013, 12:45:13 am »
здравствуйте. не могу отредактировать aux_page через админку. не сохраняется ничего. я так понял что надо дать разрешение на редактирование. подскажите пожфлуйста на какую папку нужно дать права редактирования. пробовал редактировать через БД, но отображается все знаками вопроса. (кодировкм utf8)
спасибо

3
Общие вопросы / Re: ErrorDocument 404
« : Сентября 30, 2013, 08:49:15 am »
так чпу отключен еще в админке.

4
Общие вопросы / ErrorDocument 404
« : Сентября 29, 2013, 01:01:44 pm »
здравствуйте. залил сайт на хост. теперь вщ время ошибки не переходит сайт на кастомную страничку 404.
url страницы http://rmis.co.il/index.php?error_404
.htaccess



<ifmodule mod_deflate.c="">
<filesmatch .(js|css|.jpg|.gif|.png|.tiff|.ico)$="">
SetOutputFilter DEFLATE
</filesmatch>
</ifmodule>

#config
DirectoryIndex index.php
AddDefaultCharset utf-8
AddCharset utf-8 .php
        Options -Indexes

#rewrite url's
RewriteEngine On
RewriteBase     /
                RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
#www redirect
RewriteCond %{HTTP_HOST} ^www.rmis.co.il$ [NC]
RewriteRule ^(.*)$ http://rmis.co.il/$1 [R=301,L]

#copress js and css
        RewriteRule core/js/(.*)\.js$ core/jscss.php [L]
        RewriteRule css/(.*).css$ core/jscss.php [L]


#payment
RewriteRule payment/$ index.php?payment [L]

#about url's
RewriteRule ^catalog/(.*)/about/$ index.php?about&category=$1/ [L]
RewriteRule ^brand/(.*)/about/$ index.php?about&brands=$1/ [L]

#catalog url's
RewriteRule ^catalog/(.*)$ index.php?catalog_hurl=$1 [L]
RewriteRule ^product/(.*)$ index.php?product_hurl=$1 [L]
RewriteRule ^news/(.*)$ index.php?news&news=$1 [L]
RewriteRule ^pages/(.*)$ index.php?pages&pages=$1 [L]
RewriteRule ^tags/(.*)$ index.php?tags_hurl=$1 [L]
RewriteRule ^brand/(.*)/(.*) index.php?brand=$1/$2 [L]

#sort url's
RewriteRule (.*)/(.*)/&sort=(.*)&order=(.*)$ index.php?$1_hurl=$2&sort=$3&order=$4 [L]

#offset url's
#RewriteRule offset/(.*)/&sort=(.*)&order=(.*)$ index.php?searchstring=$1&sort=$2&order=$3 [L]
RewriteRule (.*)/(.*)/&offset=(.*)$ index.php?$1_hurl=$2&offset=$3 [L]
RewriteRule (.*)/(.*)/&show_all=yes$ index.php?$1_hurl=$2&show_all=yes [L]

#lang url's
#RewriteRule ru/$ index.php?new_language=0 [L]
#RewriteRule en/$ index.php?new_language=1 [L]

#information url's
RewriteRule info/(.*)$ index.php?aux_pages=$1 [L]
RewriteRule contact/&send_result=(.*)$ index.php?contact&send_result=$1 [L]
RewriteRule contact/$ index.php?contact [L]
RewriteRule service/$ index.php?aux_page=aux2 [L]
RewriteRule pricelist/([0-9]*)/$ index.php?show_price=$1 [L]
RewriteRule pricelist/$ index.php?show_price=yes [L]
RewriteRule ^price.xls$ core/core_xls.php [L]
RewriteRule feed.xml$ core/core_rss.php [L]
RewriteRule ^about/$ index.php?aux_page=aux1 [L]
RewriteRule grafik/$ index.php?aux_page=aux1 [L]
RewriteRule adress/$ index.php?aux_page=aux1 [L]
RewriteRule sitemap\.xml$ core/sitemap.php [L]
RewriteRule sitemap/$ index.php?sitemap [L]

#administration url's
RewriteRule admin$ admin.php [L]
RewriteRule admin/$ admin.php [L]

#cart url's
RewriteRule add2cart/(.*)$ index.php?shopping_cart&add2cart=$1 [L]
RewriteRule cart/$ index.php?shopping_cart=yes [L]
RewriteRule cart/order/$ index.php?order_custinfo=yes [L]
RewriteRule cart/order_placed/$ index.php?order_placement_result=0 [L]
RewriteRule printorder/$ core/core_printorder.php [L]
RewriteRule pd4/$ core/print_pd4.php [L]
                RewriteRule cart/remove=(.*)$ index.php?shopping_cart=yes&remove=$1 [R=301,L]
RewriteRule cart/clear$ index.php?shopping_cart=yes&clear_cart=yes [L]

#yandex url's
RewriteRule yandex\.(xml|yml)$ core/core_yml.php [L]
        RewriteRule metamarket\.xml$ core/core_metamarket.php [L]
       

#search_expanded url's
    RewriteRule search_expanded/ index.php?search_expanded=1 [L]

#watermark
   RewriteRule ^(products_pictures|products_thumb|userfiles)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All
   RewriteRule ^(products_pictures)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All products_pictures 
    RewriteRule ^(products_pictures)/(.*-B\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # only big products_pictures
    RewriteRule ^(products_pictures)/(.*-H\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # only smal products_pictures 
    RewriteRule ^(products_thumb)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All products_thumb
    RewriteRule ^(products_pictures)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All products_pictures
    RewriteRule ^(products_pictures)/(.*-B\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # only big products_pictures
    RewriteRule ^(products_pictures)/(.*-H\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # only smal products_pictures 
    RewriteRule ^(products_thumb)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All products_thumb 



#errors
# RewriteRule 404/$ core/core_404.php [L]
# RewriteRule 404/$ index.php?error_404 [L]
RewriteRule 404/$ index.php?error_404 [L]

ErrorDocument 403 /index.php?error_404
ErrorDocument 404 /index.php?error_404

RewriteEngine On
 RewriteBase /cache/assets/
 RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
 RewriteRule (.*)\.css $1.css.gz
 RewriteRule (.*)\.js $1.js.gz
 AddEncoding x-gzip .gz
 


при ошибке в адрессной строке появляется http://rmis.co.il/404/ и не переходит на мою 404

5
Общие вопросы / Re: дополнительные параметры
« : Сентября 23, 2013, 12:37:30 am »
Цитировать
Uncaught exception 'SmartyException' with message 'Unable to load template file 'product_brief_new.tpl.html''
оно вам говорит что не может загрузить фаил product_brief_new.tpl.html
убедитесь в том что он у вас точно так называется, что на него есть права на чтение, и что он лежит в нужной папке темы

большое спасибо. кстати я в скайпе написал... когда время будет гляньте пожалуйста

6
Общие вопросы / Re: дополнительные параметры
« : Сентября 22, 2013, 11:23:47 pm »
это я понял. но тогда в product_brief их не будет. нельзя ли сделать какой нибудь product_brief_simpe.tpl.htm (копия product_brief ) отредактировать и его прописать в category.tpl.htm???
можно и так
убрал с product_brief.tpl.htm вот это
<table>
             {foreach from=$options[$id] item=option key=key name=option}
              <tr>
                <td style="vertical-align: top">
                   <b>{$option.name}:</b>
                </td>
                <td>
                  {if  count($option.var)>1}
                  {assign var="i" value=$i+1}
                    <select class="product_option_{$id}" name="product_option_{$id}_{$key}" id="product_option[{$id}][{$i}]" onChange="GetNewPrice({$id},{$i})">
                       {*<option rel="0" value="">ֽו מןנוהוכוםמ</option>*}
                       {foreach from=$option.var item=var}
                    <option {if $var.default}selected  {math assign="p" equation="x+z" x=$var.price_surplus z=$p format="%.2f"} {/if} rel="0" value="{$var.variantID}:{$var.price_surplus}:{$var.picture}">{$var.name}{if $var.price_surplus!=0} {assign var="new_price" value="1"} ({if $var.price_surplus>0}+{/if}{math equation="x/y" x=$var.price_surplus y=$smarty.const.CURRENCY_val format="%.2f"}){/if}</option>
       {/foreach}
                    </select>
                  {elseif $option.or_op} 
                   {$option.or_op}   
                  {else}     
                  {$option.var.0.name}
                  {/if}
                 <br>   
                </td> 
             </tr>
             {/foreach}
               
           </table>
назвал новый файл product_brief_new.tpl.html
вписал вот так в category.tpl.html
<td style="text-align: center; vertical-align: top; padding: 5px; width: {math equation="x/y" x=100 y=$smarty.const.CONF_COLUMNS_PER_PAGE|string_format:"%d"}%">
{include file="product_brief_new.tpl.html" product_info=$products_to_show[i1] options=$options}

вот результат (то что видит клиент на сайте при нажатии на категорию):
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'product_brief_new.tpl.html'' in
 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php:162 Stack trace: #0 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(537): Smarty_Internal_Template->isExisting(true) #1 C:\inetpub\wwwroot\core\cache\ee011e5f87aa261a70d49a66133d9d35a683799e.file.category.tpl.html.php(174): Smarty_Internal_Template-
>getRenderedTemplate() #2 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(422): include('C:\inetpub\wwwr...') #3
 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(554): Smarty_Internal_Template->renderTemplate() #4
 C:\inetpub\wwwroot\core\cache\e00df3311957635d46cf6568e6f1079328e2744a.file.index.tpl.html.php(596): Smarty_Internal_Template->getRenderedTemplate() #5
 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(422): include('C:\inetpub\wwwr...') #6 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(554): in
 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php on line 162


что неправильно??????

7
Общие вопросы / Re: дополнительные параметры
« : Сентября 20, 2013, 04:45:46 pm »
это я понял. но тогда в product_brief их не будет. нельзя ли сделать какой нибудь product_brief_simpe.tpl.htm (копия product_brief ) отредактировать и его прописать в category.tpl.htm???

8
Общие вопросы / дополнительные параметры
« : Сентября 13, 2013, 08:15:50 pm »
как показать доп. параметры товара только в на страничке товара, а не в категориях? из-за доп. параметров на странице категории скачут изображения.

9
Общие вопросы / Re: Синхронизация с 1с
« : Июня 28, 2013, 09:43:39 pm »
1

10
slamm молодец. все сделал быстро и качественно. спасибо ему и  вам, pehser.

11
заказать - заказал. да только не отвечает никто. ни mask , ни slamm

12
pehser большое спасибо. заказал :)

13
Автозаполнение, autocomplete, как в eBay, например.
 после ввода символа в текстовое поле появляется выпадающий список, который содержит десяток строк со словами, начальные символы которых совпадают с теми символами, что Вы уже успели ввести. Так работает Google Suggest.

14
Здравствуйте. кто-нибудь пытался установить модуль автозаполнения в строку поиска??
Если нет то вопрос к разработчикам - можно ли такую штуку прикрутить к лего 5,1,,,

15
Общие вопросы / перенести сайт
« : Января 14, 2013, 12:25:53 am »
здравствуйте
установил магазин на локальной машине:
windows 7 ultimate x64
iis7
easyphp 5.3.9
прекрасно работает.
решил перекинуть все на виртуальную машину (vmware). на ней тоже установил:
windows 7 ultimate x64
iis7
easyphp 5.4.6
установил lego 5.0.2 и скопировал все файлы с intetpub/wwwroot локальной машины в  intetpub/wwwroot виртуальной!
все работает прекрасно, НО только когда iis7 и easyphp бегают на локальной ТОЖЕ!!!
если их вырубить на локальной то на виртуальной не поднимается
кто-нибудь может объяснить почему? пожалуйста...

Страницы: [1] 2 3 ... 6