freetag execute without sidebar
Posted: Tue Jun 17, 2008 10:09 pm
Hi all,
sorry if I am writing a post that has already written, but I didn't find any information that can help me.
I would like to execute the freetag in a div rather than a table without using the sidebar.
To do it I start in a first moment to modify the side bar trying to force it to display just the freetag plugin:
original sidebar code was this:
{if $is_raw_mode}
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
{if $item.class == "serendipity_quicksearch_plugin"}{else}
<div class="serendipitySideBarItem container_{$item.class}">
{if $item.title != ""}
<div class="serendipitySideBarTitle {$item.class}">
<div class="roundtop"><img src="{$serendipityBaseURL}templates/bex01/img/bexlt.gif" alt="corner graphic" width="15" height="15" class="corner" style="display: none"/>
<div class="cornertitle">{$item.title}</div>
</div>
</div>
{/if}
<div class="serendipitySideBarContent">{$item.content}</div>
</div>
{/if}
{/foreach}
{if $is_raw_mode}
</div>
{/if}
I thought the code make a foreach to parse every plug in and show the title and the content of each plug in
With the following modify I hoped to show just the freetag plugin but it doesn't work
{if $is_raw_mode}
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
{if $item.class == "serendipity_quicksearch_plugin"}{else}
<div class="serendipitySideBarItem container_{$item.class}">
{if $item.title == "Tags"} <--------------------------------------------(tags should be the name of the plugin)
<div class="serendipitySideBarTitle {$item.class}">
<div class="roundtop"><img src="{$serendipityBaseURL}templates/bex01/img/bexlt.gif" alt="corner graphic" width="15" height="15" class="corner" style="display: none"/>
<div class="cornertitle">{$item.title}</div>
</div>
</div>
{/if}
<div class="serendipitySideBarContent">{$item.content}</div>
</div>
{/if}
{/foreach}
{if $is_raw_mode}
</div>
{/if}
anyway it still to show each plugin
I also tried to read about smarty function http://www.s9y.org/78.html#A5
but i'm not able to use the API in order to call the freetag plugin.
Do we have a totorial?
Where can I find the name of the plugin in order to use the API?
I really would apreciate your help
Regards
sorry if I am writing a post that has already written, but I didn't find any information that can help me.
I would like to execute the freetag in a div rather than a table without using the sidebar.
To do it I start in a first moment to modify the side bar trying to force it to display just the freetag plugin:
original sidebar code was this:
{if $is_raw_mode}
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
{if $item.class == "serendipity_quicksearch_plugin"}{else}
<div class="serendipitySideBarItem container_{$item.class}">
{if $item.title != ""}
<div class="serendipitySideBarTitle {$item.class}">
<div class="roundtop"><img src="{$serendipityBaseURL}templates/bex01/img/bexlt.gif" alt="corner graphic" width="15" height="15" class="corner" style="display: none"/>
<div class="cornertitle">{$item.title}</div>
</div>
</div>
{/if}
<div class="serendipitySideBarContent">{$item.content}</div>
</div>
{/if}
{/foreach}
{if $is_raw_mode}
</div>
{/if}
I thought the code make a foreach to parse every plug in and show the title and the content of each plug in
With the following modify I hoped to show just the freetag plugin but it doesn't work
{if $is_raw_mode}
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
{if $item.class == "serendipity_quicksearch_plugin"}{else}
<div class="serendipitySideBarItem container_{$item.class}">
{if $item.title == "Tags"} <--------------------------------------------(tags should be the name of the plugin)
<div class="serendipitySideBarTitle {$item.class}">
<div class="roundtop"><img src="{$serendipityBaseURL}templates/bex01/img/bexlt.gif" alt="corner graphic" width="15" height="15" class="corner" style="display: none"/>
<div class="cornertitle">{$item.title}</div>
</div>
</div>
{/if}
<div class="serendipitySideBarContent">{$item.content}</div>
</div>
{/if}
{/foreach}
{if $is_raw_mode}
</div>
{/if}
anyway it still to show each plugin
I also tried to read about smarty function http://www.s9y.org/78.html#A5
but i'm not able to use the API in order to call the freetag plugin.
Do we have a totorial?
Where can I find the name of the plugin in order to use the API?
I really would apreciate your help
Regards