<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_13_thread_37296"  />
<title>rulinux.net - Форум - Web-development - [Symfony][Ax-Xa-Xa]Туплю</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - Web-development - [Symfony][Ax-Xa-Xa]Туплю</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>Re:[Symfony][Ax-Xa-Xa]Туплю</title>
<link>https://rulinux.net/message.php?newsid=37296&amp;page=1#142475</link>
<guid>https://rulinux.net/message.php?newsid=37296&amp;page=1#142475</guid>
<pubDate>Thu, 07 Jun 2012 06:26:26 +0400</pubDate>
<description><![CDATA[<p>Нормального метода настраивать пути в урлах css нет. Во всяком случае если css статический файл.<br><br><i>> php app/console assets:install web выполнял.</i><br>Я бы посоветовал тебе лучше заюзать app/console assets:install --symlink web Это более гибко и кошерно)))<br><br>Не используй в css урлах релативные ссылки, только абсолютные. Пути у тебя меняться не будут. <br><br>Например url(../../images/CozyGreen/bg.gif<br /> Будет url(/bundles/rtlthemesbundle/images/CozyGreen/bg.gif)<br /> Может не совсем красиво, но надёжно и безгеморойна.</p>]]></description>
</item>
<item>
<title>[Symfony][Ax-Xa-Xa]Туплю</title>
<link>https://rulinux.net/message.php?newsid=37296&amp;page=1#142438</link>
<guid>https://rulinux.net/message.php?newsid=37296&amp;page=1#142438</guid>
<pubDate>Wed, 06 Jun 2012 16:08:52 +0400</pubDate>
<description><![CDATA[<p>Выручай. Набегался по Саратову за день. Уебался. И что-то мозги уже не соображают. Никак не вкурю как работает подключение файлов из css-ки. </p><p></p><p><fieldset><legend>]</legend><code><br />
BODY <span style="color: #00AA00;">&#123;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../../images/CozyGreen/bg.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
&nbsp;</code></fieldset></p><p></p><p><fieldset><legend>]</legend><code><br />
&nbsp;<span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; {% stylesheets &nbsp; '@RLThemesBundle/Resources/public/css/CozyGreen/main.css' <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'@RLThemesBundle/Resources/public/css/CozyGreen/common.css'<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'@RLThemesBundle/Resources/public/css/CozyGreen/hover.css' filter=&quot;cssrewrite&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; %}<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">link</span></a> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;{{ asset_url }}&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; {% endstylesheets %}<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>{% block title %}TITLE_BLOCK{% endblock %}<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br />
&nbsp;</code></fieldset></p><p></p><p>php app/console assets:install web выполнял.</p><p></p><p>На выходе в браузере </p><p><fieldset><legend>]</legend><code><br />
BODY <span style="color: #00AA00;">&#123;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../../Resources/public/images/CozyGreen/bg.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span> <br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
&nbsp;</code></fieldset></p><p></p><p> Но что-то браузер не кажет изображения подключенные в css-ке. А я вот сижу и смотрю на это все как баран на новые ворота. </p>]]></description>
</item>
</channel>
</rss>