Tabs WikiPlugin

View: New views
7 Messages — Rating Filter:   Alert me  

Tabs WikiPlugin

by luci aka luciash d' being :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,
i am trying to put together a Tabs Wiki Plugin which would build up tabs
using the Smarty block.tabset.php but cannot get it to work...

can you see please, what am i missing there ?

tpl file:
http://pastebin.com/m6e561481
php file:
http://pastebin.com/m7a5e647e

test syntax for wiki page:
{TABS(name="test_the_tabs",tabs="tab 1|tab 2|tab 3")}
tab content 1/////tab content 2
/////
tab content 3
{TABS}

thanks

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: Tabs WikiPlugin

by Stephane Casset :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Tue, Oct 27, 2009 at 05:17:26AM +0100, luci aka luciash d' being écrivait :
> hi all,
> i am trying to put together a Tabs Wiki Plugin which would build up tabs
> using the Smarty block.tabset.php but cannot get it to work...

Could you define "cannot get it to work" ? We need more information to
help ! ;p

> can you see please, what am i missing there ?

Are you using this plugin in a page where there is another tab ?
Because it is a know limitation/bug of tabset :(

> tpl file:
> http://pastebin.com/m6e561481
> php file:
> http://pastebin.com/m7a5e647e
>
> test syntax for wiki page:
> {TABS(name="test_the_tabs",tabs="tab 1|tab 2|tab 3")}
> tab content 1/////tab content 2
> /////
> tab content 3
> {TABS}

A+
--
Stéphane Casset            LOGIDÉE sàrl       Se faire plaisir d'apprendre
1a, rue Pasteur        Tel : +33 388 23 69 77           casset@...
F-67540 OSTWALD        Fax : +33 388 23 69 77           http://logidee.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: Tabs WikiPlugin

by luci aka luciash d' being :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

i don't understand you. i wrote the code and i provided all the code in
the pastebin where i am missing (obviously) something and (because of
it) it doesn't work. i am asking for help with the code i write, not how
to use an existing plugin. what more information do you need ?

thank you

luci


On 10/27/2009 07:42 AM, Stephane Casset wrote:

> Le Tue, Oct 27, 2009 at 05:17:26AM +0100, luci aka luciash d' being écrivait :
>  
>> hi all,
>> i am trying to put together a Tabs Wiki Plugin which would build up tabs
>> using the Smarty block.tabset.php but cannot get it to work...
>>    
>
> Could you define "cannot get it to work" ? We need more information to
> help ! ;p
>
>  
>> can you see please, what am i missing there ?
>>    
>
> Are you using this plugin in a page where there is another tab ?
> Because it is a know limitation/bug of tabset :(
>
>  
>> tpl file:
>> http://pastebin.com/m6e561481
>> php file:
>> http://pastebin.com/m7a5e647e
>>
>> test syntax for wiki page:
>> {TABS(name="test_the_tabs",tabs="tab 1|tab 2|tab 3")}
>> tab content 1/////tab content 2
>> /////
>> tab content 3
>> {TABS}
>>    
>
> A+
>  

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: Tabs WikiPlugin

by luci aka luciash d' being :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ah,

and no, i am not using the code in a page where there is another tab...
just in a normal wiki page.

it shows only the [No Tab] button and one blue 1px line (in Strasa)
instead of the tabs

luci


On 10/27/2009 01:09 PM, luci aka luciash d' being wrote:

> hi,
>
> i don't understand you. i wrote the code and i provided all the code in
> the pastebin where i am missing (obviously) something and (because of
> it) it doesn't work. i am asking for help with the code i write, not how
> to use an existing plugin. what more information do you need ?
>
> thank you
>
> luci
>
>
> On 10/27/2009 07:42 AM, Stephane Casset wrote:
>  
>> Le Tue, Oct 27, 2009 at 05:17:26AM +0100, luci aka luciash d' being écrivait :
>>  
>>    
>>> hi all,
>>> i am trying to put together a Tabs Wiki Plugin which would build up tabs
>>> using the Smarty block.tabset.php but cannot get it to work...
>>>    
>>>      
>> Could you define "cannot get it to work" ? We need more information to
>> help ! ;p
>>
>>  
>>    
>>> can you see please, what am i missing there ?
>>>    
>>>      
>> Are you using this plugin in a page where there is another tab ?
>> Because it is a know limitation/bug of tabset :(
>>
>>  
>>    
>>> tpl file:
>>> http://pastebin.com/m6e561481
>>> php file:
>>> http://pastebin.com/m7a5e647e
>>>
>>> test syntax for wiki page:
>>> {TABS(name="test_the_tabs",tabs="tab 1|tab 2|tab 3")}
>>> tab content 1/////tab content 2
>>> /////
>>> tab content 3
>>> {TABS}
>>>    
>>>      
>> A+
>>  
>>    
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Tikiwiki-devel mailing list
> Tikiwiki-devel@...
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>  

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: Tabs WikiPlugin

by Stephane Casset :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Tue, Oct 27, 2009 at 01:25:33PM +0100, luci aka luciash d' being écrivait :
> ah,
>
> and no, i am not using the code in a page where there is another tab...
> just in a normal wiki page.
>
> it shows only the [No Tab] button and one blue 1px line (in Strasa)
> instead of the tabs

This answer my previous question, now I know what I am looking for...
You should have state that in your first mail... It doesn't help to just
say ok I did something and it doesn't work... If you really want some
help... ;p

A+
--
Stéphane Casset            LOGIDÉE sàrl       Se faire plaisir d'apprendre
1a, rue Pasteur        Tel : +33 388 23 69 77           casset@...
F-67540 OSTWALD        Fax : +33 388 23 69 77           http://logidee.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: Tabs WikiPlugin

by gezza nagy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Luci

Thanks for picking up on this idea, it would be great to have this plugin! If I understand correctly it would be similiar to version plugin but taking it one step further by enabling dynamic tab switching (so no page reload) like in the admin panel, trackers, etc. Sounds great!

If I may add some ideas: please consider having subtabs within a tab and maybe also option to position the tabs (and subtabs) on top/bottom/left/right. Using pictures from filegallery as tab header (not just text, for example version plugin processes this nicely, see the mentioned page below) would also be nice and there is the question of TOC & heading numbering throughout the tabs (restart for each tab or contionous throughout the tabs). Oh, one more, at version plugin page caching caused some problems (I added some notes about this to the page mentioned below)

Maybe you can experiment with this work-in-progress content here to see the syntax processing results: http://tikiwiki.org/InfoTikiWikiOrgDev

If this could work in a such dynamic way of switching tabs, that would be quite impressive I think, it would bring content organisation to a new level, we could avoid having 20 feet long pages :)

Many thanks for your work, looking forward to it!
cheers,
gezza


From: luci aka luciash d' being <sf@...>
To: Tikiwiki developers <tikiwiki-devel@...>
Sent: Tue, October 27, 2009 1:25:33 PM
Subject: Re: [Tikiwiki-devel] Tabs WikiPlugin

ah,

and no, i am not using the code in a page where there is another tab...
just in a normal wiki page.

it shows only the [No Tab] button and one blue 1px line (in Strasa)
instead of the tabs

luci


On 10/27/2009 01:09 PM, luci aka luciash d' being wrote:

> hi,
>
> i don't understand you. i wrote the code and i provided all the code in
> the pastebin where i am missing (obviously) something and (because of
> it) it doesn't work. i am asking for help with the code i write, not how
> to use an existing plugin. what more information do you need ?
>
> thank you
>
> luci
>
>
> On 10/27/2009 07:42 AM, Stephane Casset wrote:

>> Le Tue, Oct 27, 2009 at 05:17:26AM +0100, luci aka luciash d' being écrivait :
>> 
>>   
>>> hi all,
>>> i am trying to put together a Tabs Wiki Plugin which would build up tabs
>>> using the Smarty block.tabset.php but cannot get it to work...
>>>   
>>>     
>> Could you define "cannot get it to work" ? We need more information to
>> help ! ;p
>>
>> 
>>   
>>> can you see please, what am i missing there ?
>>>   
>>>     
>> Are you using this plugin in a page where there is another tab ?
>> Because it is a know limitation/bug of tabset :(
>>
>> 
>>   
>>> tpl file:
>>> http://pastebin.com/m6e561481
>>> php file:
>>> http://pastebin.com/m7a5e647e

>>>
>>> test syntax for wiki page:
>>> {TABS(name="test_the_tabs",tabs="tab 1|tab 2|tab 3")}
>>> tab content 1/////tab content 2
>>> /////
>>> tab content 3
>>> {TABS}
>>>   
>>>     
>> A+
>> 
>>   
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Tikiwiki-devel mailing list
> Tikiwiki-devel@...
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: Tabs WikiPlugin

by luci aka luciash d' being :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, thanks, figured it out myself

luci


On 10/27/2009 05:53 PM, Stephane Casset wrote:

> Le Tue, Oct 27, 2009 at 01:25:33PM +0100, luci aka luciash d' being écrivait :
>  
>> ah,
>>
>> and no, i am not using the code in a page where there is another tab...
>> just in a normal wiki page.
>>
>> it shows only the [No Tab] button and one blue 1px line (in Strasa)
>> instead of the tabs
>>    
>
> This answer my previous question, now I know what I am looking for...
> You should have state that in your first mail... It doesn't help to just
> say ok I did something and it doesn't work... If you really want some
> help... ;p
>
> A+
>  

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel