<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Dreamwidth Development Training</title>
  <link>https://dw-dev-training.dreamwidth.org/</link>
  <description>Dreamwidth Development Training - Dreamwidth Studios</description>
  <lastBuildDate>Thu, 16 Jul 2015 10:02:24 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>dw_dev_training</lj:journal>
  <lj:journaltype>community</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/92798/30813</url>
    <title>Dreamwidth Development Training</title>
    <link>https://dw-dev-training.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/60201.html</guid>
  <pubDate>Thu, 16 Jul 2015 10:02:24 GMT</pubDate>
  <title>Styles: what do I need to know about our breakpoint system?</title>
  <link>https://dw-dev-training.dreamwidth.org/60201.html</link>
  <description>Posted by: &lt;span lj:user=&apos;ninetydegrees&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://ninetydegrees.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://ninetydegrees.dreamwidth.org/&apos;&gt;&lt;b&gt;ninetydegrees&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hi! I would love to patch &lt;a href=&quot;https://dreamscapes.dreamwidth.org/132261.html&quot;&gt;the style I&apos;ve submitted&lt;/a&gt; but I don&apos;t know if it needs &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://www.dreamwidth.org/profile?user=media&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://www.dreamwidth.org/profile?user=media&apos;&gt;&lt;b&gt;media&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; $medium_media_query and &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://www.dreamwidth.org/profile?user=media&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://www.dreamwidth.org/profile?user=media&apos;&gt;&lt;b&gt;media&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; $large_media_query and if so, where to put them exactly. Could someone explain our breakpoint system to me?&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=60201&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/60201.html</comments>
  <category>questions</category>
  <category>help requested</category>
  <category>styles</category>
  <lj:security>public</lj:security>
  <lj:poster>ninetydegrees</lj:poster>
  <lj:reply-count>8</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/53868.html</guid>
  <pubDate>Wed, 24 Jul 2013 21:34:47 GMT</pubDate>
  <title>Bug 5175: Some styles need subtitles</title>
  <link>https://dw-dev-training.dreamwidth.org/53868.html</link>
  <description>Posted by: &lt;span lj:user=&apos;meludame&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://meludame.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://meludame.dreamwidth.org/&apos;&gt;&lt;b&gt;meludame&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Hi! I&apos;m &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://meludame.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://meludame.dreamwidth.org/&apos;&gt;&lt;b&gt;meludame&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;, I usuablly dabble in styles-related bug and this is the bug write-up I did for my latest. &lt;/p&gt;

&lt;h5&gt;Description:&lt;/h5&gt;

&lt;p&gt;Some of the older DW styles do not print the page subtitle even though the option is there on the customize style page.
Styles that are concerned are the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Brittle, Negatives (doesn&apos;t print the title either)&lt;/li&gt;
&lt;li&gt;Skittlish Dreams, Sunday Morning, Transmogrified&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;Proposed fix:&lt;/h5&gt;

&lt;p&gt;Edit the layouts concerned to add in the missing feature. Edit the relevant portion of the CSS to make the change as unobtrusive as possible for the user of said styles.&lt;/p&gt;

&lt;h5&gt;References files:&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dreamwidth.org/customize/advanced/layersource?id=550&amp;amp;fmt=html&quot; title=&quot;Syntax-highlighted source of Core2.s2&quot;&gt;Formatted source&lt;/a&gt; of core2,&lt;/li&gt;
&lt;li&gt;&lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://momijizukamori.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://momijizukamori.dreamwidth.org/&apos;&gt;&lt;b&gt;momijizukamori&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&apos;s giant &lt;a href=&quot;http://dreamscapes.dreamwidth.org/97715.html&quot; title=&quot;List of core2 variables&quot;&gt;list of core2 variables&lt;/a&gt;,&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;Files edited:&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;For each layout, styles/$layoutname/layer.s2 (in either dw-free or dw-nonfree).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://dw-dev-training.dreamwidth.org/53868.html#cutid1&quot;&gt;Bug Diary&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;/p&gt;

&lt;h5&gt;Thanks:&lt;/h5&gt;

&lt;p&gt;I would like to thank the members of &lt;a href=&quot;irc://chat.freenode.net/dreamwidth&quot; title=&quot;Dreamwidth main IRC channel&quot;&gt;#dreamwidth&lt;/a&gt; and in particular (but non-exhaustively) &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://sophie.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://sophie.dreamwidth.org/&apos;&gt;&lt;b&gt;sophie&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;, &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://kaberett.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://kaberett.dreamwidth.org/&apos;&gt;&lt;b&gt;kaberett&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;, &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://geekosaur.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://geekosaur.dreamwidth.org/&apos;&gt;&lt;b&gt;geekosaur&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;, &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://momijizukamori.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://momijizukamori.dreamwidth.org/&apos;&gt;&lt;b&gt;momijizukamori&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; and &lt;span style=&apos;white-space: nowrap; text-decoration: line-through;&apos;&gt;&lt;a href=&apos;https://ninetyd.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://ninetyd.dreamwidth.org/&apos;&gt;&lt;b&gt;ninetyd&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; for their coaching, cheering and reassurances as I worked my way through this bug. Y&apos;all are amazing :)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Note: &lt;a href=&quot;http://meludame.dreamwidth.org/493.html&quot; title=&quot;Copy of this entry at meludame.dreamwidth.org&quot;&gt;Another copy of this entry&lt;/a&gt; lives in my journal.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=53868&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/53868.html</comments>
  <category>styles</category>
  <category>bug - 5175</category>
  <category>bug walkthrough</category>
  <lj:mood>accomplished</lj:mood>
  <lj:security>public</lj:security>
  <lj:poster>meludame</lj:poster>
  <lj:reply-count>8</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/52877.html</guid>
  <pubDate>Thu, 11 Jul 2013 05:37:29 GMT</pubDate>
  <title>More styles-related newbie-dev bait</title>
  <link>https://dw-dev-training.dreamwidth.org/52877.html</link>
  <description>Posted by: &lt;span lj:user=&apos;momijizukamori&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://momijizukamori.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://momijizukamori.dreamwidth.org/&apos;&gt;&lt;b&gt;momijizukamori&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://bugs.dwscoalition.org/show_bug.cgi?id=5175&quot;&gt;Bug 5175 - not all layouts display the journal subtitle&lt;/a&gt;. I looked at the code, and it involves adding one line of code to each of the layouts in question. I did not do a full write-up on the bug, but I can point someone to what it is if they would like! This is a good one if you want some very simple interaction with S2 and core2 functions (extremely simple, I promise).&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=52877&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/52877.html</comments>
  <category>babydev bait</category>
  <category>styles</category>
  <lj:security>public</lj:security>
  <lj:poster>momijizukamori</lj:poster>
  <lj:reply-count>5</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/9656.html</guid>
  <pubDate>Wed, 26 Aug 2009 17:01:21 GMT</pubDate>
  <title>Creating patches for new styles and new themes</title>
  <link>https://dw-dev-training.dreamwidth.org/9656.html</link>
  <description>Posted by: &lt;span lj:user=&apos;afuna&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://afuna.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://afuna.dreamwidth.org/&apos;&gt;&lt;b&gt;afuna&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here&apos;s the process to take an existing theme layer and convert it into patch form (with all the fluff and trimmings to make it work on the customize page, have proper credit, etc).&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Adding a theme layer to an existing style&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;To add a theme layer to an existing style, you need to edit two files:&lt;br /&gt;&lt;br /&gt;bin/upgrading/s2layers/$layoutname/themes.s2 (or themes-local.s2)&lt;br /&gt;cgi-bin/LJ/S2Theme/$layoutname.pm (or $layoutname_local.pm) &lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://dw-dev-training.dreamwidth.org/9656.html#cutid1&quot;&gt;in detail&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Adding an entirely new style from a theme layer&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;This entry is purely about generating patches from a layer which is already s2-ified, so I won&apos;t cover the conversion from a stylesheet to a theme layer. If you need it, see the &lt;a href=&quot;http://dreamscapes.dreamwidth.org/6636.html&quot;&gt;tutorial for S2 property conversion&lt;/a&gt;, which is thoroughly amazing. :) &lt;br /&gt;&lt;br /&gt;Hopefully you won&apos;t need to do that yourself (the task is time-consuming, but not very complicated,so it&apos;s perfect for when you have plenty of time on your hands, but not much brainpower to spare). Let&apos;s just move on past it; I&apos;ll assume that either the theme came ready-converted, or that you did the conversion on your own. &lt;br /&gt;&lt;br /&gt;So, you&apos;ll basically end up editing five files:&lt;br /&gt;&lt;br /&gt;bin/upgrading/s2layers.dat &lt;br /&gt;bin/upgrading/s2layers/$layoutname/layout.s2&lt;br /&gt;bin/upgrading/s2layers/$layoutname/themes.s2 &lt;br /&gt;&lt;br /&gt;cgi-bin/LJ/S2Theme/$layoutname.pm &lt;br /&gt;cgi-bin/LJ/S2Theme.pm&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___2&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://dw-dev-training.dreamwidth.org/9656.html#cutid2&quot;&gt;in detail&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___2&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Other things: images for layouts go under: htdocs/stc/$layoutname/imagename.png, etc. (under stc so that we can access them as relative urls from stylesheets, though in practice, we&apos;ve been setting them as absolute URLs in properties by using variables, etc)&lt;br /&gt;&lt;br /&gt;And uhh. I guess that&apos;s it!&lt;br /&gt;&lt;br /&gt;Edit: 10/01: fixed a few errors, clarified a few instructions, courtesy of &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://zvi.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://zvi.dreamwidth.org/&apos;&gt;&lt;b&gt;zvi&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=9656&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/9656.html</comments>
  <category>styles</category>
  <category>beginner guide</category>
  <lj:security>public</lj:security>
  <lj:poster>afuna</lj:poster>
  <lj:reply-count>25</lj:reply-count>
</item>
</channel>
</rss>
