Задать вопрос
  • Как узнать пароль root от БД?

    juniorcoder
    @juniorcoder Автор вопроса
    Не нашел ни одной полноценной инструкции где-бы описывало установка и смена пароля root.
  • Как зарегистрировать аккаунт google без телефона?

    juniorcoder
    @juniorcoder Автор вопроса
    crdrads, у меня 4G насколько знаю там все серое а может да же и черное!
  • Как зарегистрировать аккаунт google без телефона?

    juniorcoder
    @juniorcoder Автор вопроса
    crdrads, ответ не верный, потому-что уже зарегистрировал, повторить ситуацию не получается, не только зарегистрировал но и авторизовался и работаю под ним, так же разлогинился потом опять залогинился.
  • Как вывести itemprop="position" content="" в XSLT?

    juniorcoder
    @juniorcoder Автор вопроса
    Roman Fov, выводит

    <meta itemprop="position" content="1" />
    <meta itemprop="position" content="2" />
    <meta itemprop="position" content="2" />


    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE xsl:stylesheet SYSTEM "ulang://i18n/constants.dtd:file">
    
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:umi="http://www.umi-cms.ru/TR/umi">
    <xsl:param name="p" /> 
        <!--Хлебные крошки-->
        <xsl:template match="result" mode="breadcrumb"/>
    
        <xsl:template match="result[not(page/@is-default)]" mode="breadcrumb">
            <div class="breadcrumbs">
                <ul itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList">
                    <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" class="breadcrumbs_home">
                        <a itemprop="item" href="/">
                            <div itemprop="name" umi:element-id="{$infoPageId}" umi:field-name="breadcrumbs_index" umi:field-type="string" umi:empty="&empty-content;">
                                <xsl:apply-templates select="$infoPage/property[@name = 'breadcrumbs_index']" />
                            </div>
                        </a>
                        <span class="breadcrumb_separator">
                            <span class="separator_text">&breadcrumb-separator;</span>
                        </span>
                   	<meta itemprop="position" content="{position()}"/>     
                    </li>
    
                    <xsl:choose>
                        <xsl:when test="page[basetype/@method = 'object'][.//property[@name = 'catalog_object_main_category']/value &gt; 0]">
                            <xsl:apply-templates select="document(concat('udata://catalog/getObjectBreadcrumbs/', page//property[@name = 'catalog_object_main_category']/value, '/'))/udata/pages/page" mode="breadcrumbs" />
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:apply-templates select="parents/page" mode="breadcrumbs"/>
                        </xsl:otherwise>
                    </xsl:choose>      
                    <xsl:choose>                          
                        <xsl:when test="$p!=0">
                            <xsl:apply-templates select="page" mode="breadcrumbs"/>
                            <li class="breadcrumbs_last">
                                <a>                        
                                    <div>
                                        <span>Страница </span>
                                        <xsl:value-of select="$p+1" />
                                    </div>
                                </a>                                           
                            </li>
                        </xsl:when>  
                        <xsl:otherwise>
                            <xsl:apply-templates select="page" mode="breadcrumbslast"/> 
                        </xsl:otherwise>                           
                    </xsl:choose>
                </ul>
            </div>
        </xsl:template>
    
        <xsl:template match="page" mode="breadcrumbs">
            <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem">
                <a itemprop="item" href="{@link}" title="{name}">
                    <div itemprop="name">
                        <xsl:value-of select="name" disable-output-escaping="yes"/>
                    </div>
                </a>
                <span class="breadcrumb_separator">
                    <span class="separator_text">&breadcrumb-separator;</span>
                </span>
               <meta itemprop="position" content="{position() + 1}"/>  
            </li>
        </xsl:template>
    	
    	
    	    <xsl:template match="page" mode="breadcrumbslast">                
            <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" class="breadcrumbs_last">
                <a itemprop="item">                        
                    <div itemprop="name">
                        <xsl:choose>
                            <xsl:when test="not(name)">
                                <xsl:value-of select="@header" disable-output-escaping="yes"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:value-of select="name" disable-output-escaping="yes"/>                                             
                            </xsl:otherwise>
                        </xsl:choose>  
                    </div>
                </a>  
     			<meta itemprop="position" content="{position() + 1}"/>                               
            </li>                   
        </xsl:template> 
    	
    	
    	
    	
        <xsl:template match="page[@link = '/']" mode="breadcrumbs"/>
    
    </xsl:stylesheet>
  • Как блокировать смартфон, частный случай?

    juniorcoder
    @juniorcoder Автор вопроса
    Обычный смартфон. Решений слишком много, много левых на том же маркете, все пробовать телефон можно поломать, может кто с похожей проблемой сталкивался.
  • Как правильно написать условие XSLT?

    juniorcoder
    @juniorcoder Автор вопроса
    Roman Fov, отправил вам на почту, которая здесь в открытом доступе указана.
  • Как правильно написать условие XSLT?

    juniorcoder
    @juniorcoder Автор вопроса
    XML не помещается сюда
  • Как правильно написать условие XSLT?

    juniorcoder
    @juniorcoder Автор вопроса
    Не идет: подсказали через if то же голову ломаю, все остальное кроме этого работает.
  • Как вывести itemprop="position" content="" в XSLT?

    juniorcoder
    @juniorcoder Автор вопроса
    1 и 2 считает, а 3 уже нет
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE xsl:stylesheet SYSTEM "ulang://i18n/constants.dtd:file">
    
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:umi="http://www.umi-cms.ru/TR/umi">
    <xsl:param name="p" /> 
        <!--Хлебные крошки-->
        <xsl:template match="result" mode="breadcrumb"/>
    
        <xsl:template match="result[not(page/@is-default)]" mode="breadcrumb">
            <div class="breadcrumbs">
                <ul itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList">
                    <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" class="breadcrumbs_home">
                        <a itemprop="item" href="/">
                            <div itemprop="name" umi:element-id="{$infoPageId}" umi:field-name="breadcrumbs_index" umi:field-type="string" umi:empty="&empty-content;">
                                <xsl:apply-templates select="$infoPage/property[@name = 'breadcrumbs_index']" />
                            </div>
                        </a>
                        <span class="breadcrumb_separator">
                            <span class="separator_text">&breadcrumb-separator;</span>
                        </span>
                     <meta itemprop="position" content="1" />  
                    </li>
    
                    <xsl:choose>
                        <xsl:when test="page[basetype/@method = 'object'][.//property[@name = 'catalog_object_main_category']/value &gt; 0]">
                            <xsl:apply-templates select="document(concat('udata://catalog/getObjectBreadcrumbs/', page//property[@name = 'catalog_object_main_category']/value, '/'))/udata/pages/page" mode="breadcrumbs" />
                        </xsl:when>
                        <xsl:otherwise>
                            <xsl:apply-templates select="parents/page" mode="breadcrumbs"/>
                        </xsl:otherwise>
                    </xsl:choose>      
                    <xsl:choose>                          
                        <xsl:when test="$p!=0">
                            <xsl:apply-templates select="page" mode="breadcrumbs"/>
                            <li class="breadcrumbs_last">
                                <a>                        
                                    <div>
                                        <span>Страница </span>
                                        <xsl:value-of select="$p+1" />
                                    </div>
                                </a>                                           
                            </li>
                        </xsl:when>  
                        <xsl:otherwise>
                            <xsl:apply-templates select="page" mode="breadcrumbslast"/> 
                        </xsl:otherwise>                           
                    </xsl:choose>
                </ul>
            </div>
        </xsl:template>
        <xsl:template match="page" mode="breadcrumbslast">                
            <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" class="breadcrumbs_last">
                <a itemprop="item">                        
                    <div itemprop="name">
                        <xsl:choose>
                            <xsl:when test="not(name)">
                                <xsl:value-of select="@header" disable-output-escaping="yes"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:value-of select="name" disable-output-escaping="yes"/>                                             
                            </xsl:otherwise>
                        </xsl:choose>  
                    </div>
                </a>  
     			<meta itemprop="position" content="{position() + 1}"/>                                 
            </li>                   
        </xsl:template> 
        <xsl:template match="page" mode="breadcrumbs">
            <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem">
                <a itemprop="item" href="{@link}" title="{name}">
                    <div itemprop="name">
                        <xsl:value-of select="name" disable-output-escaping="yes"/>
                    </div>
                </a>
                <span class="breadcrumb_separator">
                    <span class="separator_text">&breadcrumb-separator;</span>
                </span>
               <meta itemprop="position" content="{position() + 1}"/>  
            </li>
        </xsl:template>
    
        <xsl:template match="page[@link = '/']" mode="breadcrumbs"/>
    
    </xsl:stylesheet>
  • Как сделать чтобы не отключался внешний HDD?

    juniorcoder
    @juniorcoder Автор вопроса
    Yan, вот это и нужно было, забыл где искать.
  • Как сделать чтобы не отключался внешний HDD?

    juniorcoder
    @juniorcoder Автор вопроса
    Это можно изменить? Через реестр или еще как-нибудь?
  • Как сделать чтобы не отключался внешний HDD?

    juniorcoder
    @juniorcoder Автор вопроса
    Хочется без всяких доп. программ это сделать.
  • По какому ip поключится к VM?

    juniorcoder
    @juniorcoder Автор вопроса
    latush, ssh там в минималке установлен походу по умолчанию, когда сменил тип сети то другой ip у меня получился и через PuTTY работает.
  • По какому ip поключится к VM?

    juniorcoder
    @juniorcoder Автор вопроса
    Не совсем понял, какой тип подключения выбрать, в VMware VMBitrix выбираю именно просто NAT и все работает как надо, а здесь что выбрать? Сетевой мост? Выбрал сетевой мост, заработало. И все равно не понятно почему у разных машин разные типы подключения выбирать нужно.

    5bdc36537efe0355650122.png
  • По какому ip поключится к VM?

    juniorcoder
    @juniorcoder Автор вопроса
    Не знаю, установил вот это yum install net-tools
  • Что значит y/d/N в CentOS7?

    juniorcoder
    @juniorcoder Автор вопроса
    Спасибо!
  • Как подключить gmail к outlook?

    juniorcoder
    @juniorcoder Автор вопроса
    sim3x, уже подсказал, уже сделал, спасибо.
  • Как подключить gmail к outlook?

    juniorcoder
    @juniorcoder Автор вопроса
    sim3x, спасибо.
  • Как подключить gmail к outlook?

    juniorcoder
    @juniorcoder Автор вопроса
    dollar, вбил там старая информация везде, в настройках гугл такого уже нет.