<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html">DevKick Forums - Recommended change to tripoli class convention</title>
	<link rel="self" href="/talk/rewrite.php"/>
	<updated>2008-06-03T03:42:20Z</updated>
	<generator>FluxBB</generator>
	<id>http://devkick.com/talk/topic/18/recommended-change-to-tripoli-class-convention/</id>
		<entry>
			<title type="html">Re: Recommended change to tripoli class convention</title>
			<link rel="alternate" href="http://devkick.com/talk/post/165/#p165"/>
			<content type="html">Although I&#039;m not totally convinced yet, probably the way to go it&#039;s the one suggested by rhache on the first post: to search and replace.

Maybe, this &quot;issue&quot; can be stated on the Tripoli website and on a readme file on the downloaded package. Like:
&quot;If you are currently using a class with the name &#039;content&#039; and don&#039;t want Tripoli styles to mess with them, just do a search and replace &#039;.content&#039; with whatever class name you want&quot;

Some advantages of keeping the class name as &quot;content&quot;: it keeps &quot;backward compatibility&quot; with previous Tripoli releases (ok, Tripoli is still in beta, and not too widespread to worry about breaking backward compatibility). 
It&#039;s more &quot;educative&quot; a class &quot;content&quot; than a class &quot;tripoli&quot;, and it certainly look less intrusive (but the same argument can be used for a class name like &quot;tripoli&quot;, so this may not be a real &quot;advantage&quot;). 
It&#039;s more semantic than &quot;tripoli&quot; (or whatever).

Ok: &quot;tripoli-content&quot; seems to much. &quot;tripoli&quot; isn&#039;t that semantic. &quot;tpl-content&quot; is short, but cryptic...</content>
			<author>
				<name>maniqui</name>
			</author>
			<updated>2008-06-03T03:42:20Z</updated>
			<id>http://devkick.com/talk/post/165/#p165</id>
		</entry>
		<entry>
			<title type="html">Re: Recommended change to tripoli class convention</title>
			<link rel="alternate" href="http://devkick.com/talk/post/161/#p161"/>
			<content type="html">I second the motion.</content>
			<author>
				<name>Riley</name>
			</author>
			<updated>2008-06-02T21:56:44Z</updated>
			<id>http://devkick.com/talk/post/161/#p161</id>
		</entry>
		<entry>
			<title type="html">Re: Recommended change to tripoli class convention</title>
			<link rel="alternate" href="http://devkick.com/talk/post/46/#p46"/>
			<content type="html">Maniqui/David,

I&#039;d have to say almost all of them (CMS&#039;s that use the content class). I tend to use Drupal more than others -- which is easy enough for me to configure, but not necessarily for newbies. I&#039;m not claiming that it&#039;s &quot;collapsing&quot; or breaking a CMS -- that&#039;s too strong of a word -- but most CMS come with their own stylesheets, and most use a div with a content class (and often in multiple places).

Maybe using a class called &quot;type-tripoli&quot; might be better (or something like that). That indicates the basic function (nice typography defaults) and [b]where[/b] the changes are coming from.

There is another advantage to having &quot;tripoli&quot; as part of the class name: it&#039;s even more obvious when using a tool like Firebug to know what tripoli is affecting and how at a glance. &quot;Content&quot; as a class name is very generic, and separating what your stylesheet and tripoli&#039;s do would be an added bonus. For those that want Tripoli to affect the &quot;content&quot; class/div, you could simply change your div to something like &lt;div class=&quot;content type-tripoli&quot;&gt;.

As a final point, I want to make it clear that it&#039;s no biggie. However, it does make more sense from a development point of view for a CMS, [b]which opens the door to Tripoli being even more popular[/b]. If I have to change it manually I will, but I&#039;m an advanced user.

Thanks,
Rene</content>
			<author>
				<name>rhache</name>
			</author>
			<updated>2008-05-16T21:12:05Z</updated>
			<id>http://devkick.com/talk/post/46/#p46</id>
		</entry>
		<entry>
			<title type="html">Re: Recommended change to tripoli class convention</title>
			<link rel="alternate" href="http://devkick.com/talk/post/44/#p44"/>
			<content type="html">Although I can understand rhache&#039;s point, I don&#039;t totally agree. 
Having semantic class name is better than visual class name. &quot;Tripoli&quot; doesn&#039;t fit in neither those two groups.
Also, I prefer having an agnostic CSS &quot;framework&quot;. If tomorrow I switch from Tripoli (not saying I would ;), I&#039;m enjoying this), I will have to go through my templates/CMS/whatever and remove the &quot;tripoli&quot; class.

I go fo &quot;content&quot;, as it is right now.

Which are the CMSs that are collapsing with this convention?</content>
			<author>
				<name>maniqui</name>
			</author>
			<updated>2008-05-16T17:25:27Z</updated>
			<id>http://devkick.com/talk/post/44/#p44</id>
		</entry>
		<entry>
			<title type="html">Re: Recommended change to tripoli class convention</title>
			<link rel="alternate" href="http://devkick.com/talk/post/43/#p43"/>
			<content type="html">Hi rhache!

I really see your point here. I just never thought about it like that, but when you put it that way it actually makes sense. Thank you for your input, I will definitely considerit for the final release.</content>
			<author>
				<name>David</name>
			</author>
			<updated>2008-05-16T17:14:41Z</updated>
			<id>http://devkick.com/talk/post/43/#p43</id>
		</entry>
		<entry>
			<title type="html">Recommended change to tripoli class convention</title>
			<link rel="alternate" href="http://devkick.com/talk/post/42/#p42"/>
			<content type="html">To whom it may concern,

I really like Tripoli, but I would make one substitution: change the &quot;content&quot; class name to something else.

The reason I think this would be useful is because content management systems often use that class, which means that Tripoli will sometimes affects/interferes the built-in CMS stylesheets.

My recommendation would be to use a &quot;tripoli&quot; class that one could discreetly add where appropriate. I know that it&#039;s easy for me to do a search and replace to the stylesheets provided, but it would be one less step for most CMS users.

Sincerely,
Rene</content>
			<author>
				<name>rhache</name>
			</author>
			<updated>2008-05-16T16:30:51Z</updated>
			<id>http://devkick.com/talk/post/42/#p42</id>
		</entry>
</feed>
