Differences from version 30 to 35



@@ -1,12 +1,12 @@

-at the moment, these suggestions are mostly meant for the dillenger release, as they would cause too many backwards compatibility problems if applied in clyde.
+at the moment, these suggestions are mostly meant for the dillinger release, as they would cause too many backwards compatibility problems if applied in ReleaseOne.
 
 please raise any concerns / ideas you have as comments at the bottom of this page.
 
 {maketoc}
-! already implemented in clyde
+! already underway in ReleaseOne
 !!.contain and .admin
-currenly every page has a div wrapper with the following:
-class="<content type> <relevant class such as wiki>"
+currently every page has a div wrapper with the following:
+class="<content type> <relevant class such as wiki>"
 currently content type is either
 .contain
 .admin

@@ -16,6 +16,24 @@

 .listing
 .edit
 .admin
+
+!! API changes
+!!! Replacing tabs HTML with smarty block functions 2005-05-09
+i have just replaced the existing html tabs code with smarty block functions. now, all you need to do to get tabs on your page is use the following code:
+{code source=PHP}
+{jstabs}
+ {jstab title="foo"}
+ some useless text
+ {/jstab}
+ {jstab title="bar"}
+ some more useless text
+ {/jstab}
+{/jstabs}
+{/code}
+The reason why we do this, is to allow for a simpler template code, an easier, centralised control of the tabs code and an easier way of changing to a different tabs script if needed.
+
+!!! $areaName to $textarea_id 2005-05-15
+due to the introduction of the WYSIWYG editor PackageTinyMCE we need to specify what textareas should be targeted with the editor. this is done by assigning the id of the textarea to $textarea_id. (used to be $areaName).
 
 ---
 

@@ -31,10 +49,10 @@

 
 !! package specific class
 outermost wrapper around entire application
-__div id=&quot;wrap1 {$gTikiLoc.ACTIVE_PACKAGE}&quot;__ ... package specific styling, totally cool
+__div id="wrap1 {$gTikiLoc.ACTIVE_PACKAGE}"__ ... package specific styling, totally cool
 
 due to the nature of the ID tag as a unique identifier, it can't have a space separated list of selectors. for this reason i have opted for the following:
-__div id=&quot;wrap1&quot; class=&quot;wrap-{$gTikiLoc.ACTIVE_PACKAGE|lower}&quot;__ ...
+__div id="wrap1" class="wrap-{$gTikiLoc.ACTIVE_PACKAGE|lower}"__ ...
 
 this should not cause any compatability issues (keeping everything lower case for netscape) and the classname is unique as well.
 

@@ -42,15 +60,15 @@

 
 ! Future changes
 !! tidy up and separate navbar links
-use &lt;ul&gt;&lt;li&gt; to be in accordance with w3c and wcag recommendations and it also allows for amazing styling possibilities using css
+use <ul><li> to be in accordance with w3c and wcag recommendations and it also allows for amazing styling possibilities using css
 
-* tools --&gt; move to the bottom of the page (???)
+* tools --> move to the bottom of the page (???)
 ** lock / unlock
 ** export
-* tabs --&gt; move to the top of the page
+* tabs --> move to the top of the page
 ** edit
 ** history
-* sorting --&gt; remain just above the table
+* sorting --> remain just above the table
 __where do the structure and backlinks dropdowns belong?__
 
 

@@ -58,7 +76,7 @@

 allow for package specific banner inclusion. this will override whatever is set in the css and thus the css setting will be visible whenever no image is set for a given package.
 
 we can do this using css properties, which i think is the more elegant way, compared to including the image inline and it allows for text placement above the background image:
-&lt;div class=&quot;top&quot; style=&quot;background-image: url($foo); background-position: top left;&quot;&gt;...&lt;/div&gt;
+<div class="top" style="background-image: url($foo); background-position: top left;">...</div>
 
 advantage of inline CSS: this option could be a checkbox in every package's settings
 

@@ -66,7 +84,7 @@

 
 
 !! page specific classes
-__div class=&quot;display &lt;Package&gt; &lt;PageName&gt;&quot;__ ... for page specific styling, comes in handy when only one listing in a page should look funky, or the 4th image of the 2nd gallery
+__div class="display <Package> <PageName>"__ ... for page specific styling, comes in handy when only one listing in a page should look funky, or the 4th image of the 2nd gallery
 
 
 !! making tabs optional

@@ -79,51 +97,51 @@

 i propose we pass a comma separated list of values to a smarty function, which does the rest
 
 the template stuff:
-{code color=smarty}
+{code source=Html4Strict}
 ...
-&lt;th&gt;
-{smartlink ititle=&quot;foo&quot; isort=&quot;title&quot; isort_mode=$sort_mode}
-&lt;/th&gt;
+<th>
+{smartlink ititle="foo" isort="title" isort_mode=$sort_mode}
+</th>
 ...
-{code}
+{/code}
 additional notes:
 to view a full list of options please see the file
 kernel/smarty_tiki/function.smartlink.php
 
 
 !! reducing number of divs
-the number of divs used in tikipro is still a bit excessive. perhaps we can find a couple more places where these can removed / changed to something else:
-{code(color=css)}
-&lt;div class=&quot;box&quot;&gt;
- &lt;div class=&quot;boxtitle&quot;&gt;foo&lt;/div&gt;
- &lt;div class=&quot;boxcontent&quot;&gt;bar&lt;/div&gt;
-&lt;/div&gt;
-{code}
+the number of divs used in bitweaver is still a bit excessive. perhaps we can find a couple more places where these can removed / changed to something else:
+{code source=Html4Strict}
+<div class="box">
+ <div class="boxtitle">foo</div>
+ <div class="boxcontent">bar</div>
+</div>
+{/code}
 
 could become:
-{code(color=css)}
-&lt;div class=&quot;box&quot;&gt;
- &lt;h3&gt;foo&lt;/h3&gt;
- &lt;p&gt;bar&lt;/p&gt;
-&lt;/div&gt;
-{code}
+{code source=Html4Strict}
+<div class="box">
+ <h3>foo</h3>
+ <p>bar</p>
+</div>
+{/code}
 
-would allow for same amount of styling freedom. the only downside is that &lt;p&gt; doesn't allow block elements in xhtml, which means that we have to close off &lt;/p&gt; before adding divs and lists
+would allow for same amount of styling freedom. the only downside is that <p> doesn't allow block elements in xhtml, which means that we have to close off </p> before adding divs and lists
 
-{code(color=css)}
-&lt;div class=&quot;header&quot;&gt;
- &lt;h1&gt;foo&lt;/h1&gt;
- &lt;div class=&quot;date&quot;&gt;bar&lt;/div&gt;
-&lt;/div&gt;
-{code}
+{code source=Html4Strict}
+<div class="header">
+ <h1>foo</h1>
+ <div class="date">bar</div>
+</div>
+{/code}
 
 could become:
-{code(color=css)}
-&lt;div class=&quot;header&quot;&gt;
- &lt;h1&gt;foo&lt;/h1&gt;
- &lt;p class=&quot;date&quot;&gt;bar&lt;/p&gt;
-&lt;/div&gt;
-{code}
+{code source=Html4Strict}
+<div class="header">
+ <h1>foo</h1>
+ <p class="date">bar</p>
+</div>
+{/code}
 
 
 !! themes manager
Page History
Date/CommentUserIPVersion
20 Apr 2006 (08:25 UTC)
update code blocks
xing194.152.164.4535
Current • Source
xing194.152.164.4534
View • Compare • Difference • Source
xing194.152.164.4533
View • Compare • Difference • Source
xing194.152.164.4532
View • Compare • Difference • Source
xing194.152.164.4531
View • Compare • Difference • Source
xing194.152.164.4530
View • Compare • Difference • Source
xing194.152.164.4529
View • Compare • Difference • Source
xing194.152.164.4528
View • Compare • Difference • Source
xing194.152.164.4527
View • Compare • Difference • Source
xing194.152.164.4526
View • Compare • Difference • Source
xing194.152.164.4524
View • Compare • Difference • Source
xing194.152.164.4523
View • Compare • Difference • Source
xing194.152.164.4522
View • Compare • Difference • Source
xing194.152.164.4521
View • Compare • Difference • Source
laetzer217.231.172.10120
View • Compare • Difference • Source
xing194.152.164.4518
View • Compare • Difference • Source
xing194.152.164.4517
View • Compare • Difference • Source
xing194.152.164.4516
View • Compare • Difference • Source
xing194.152.164.4515
View • Compare • Difference • Source
xing194.152.164.4514
View • Compare • Difference • Source
xing194.152.164.4513
View • Compare • Difference • Source
xing194.152.164.4512
View • Compare • Difference • Source
xing194.152.164.4511
View • Compare • Difference • Source
xing194.152.164.4510
View • Compare • Difference • Source
xing194.152.164.459
View • Compare • Difference • Source
xing194.152.164.458
View • Compare • Difference • Source