Categories > TinyButStrong general >

TBS for Drupal

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Eugef
Date: 2007-10-10
Time: 16:21

TBS for Drupal

Do yo know Drupal CMS (www.drupal.org)?

I think, you know!

Drupal can work with different template engines (like phptemplate or smarty) but it cannot work with TBS.

I really like TBS, so i want ask the Author of TBS and everybody - "can you make TBS to work like a Drupal theme engines?"
By: Skrol29
Date: 2007-10-11
Time: 01:10

Re: TBS for Drupal

Hi Eugef,

I don't know Drupal CMS but I'm ok to make a TBS plug-in for it if someone can drive me for this.

By: Eugef
Date: 2007-10-11
Time: 11:35

Re: TBS for Drupal

I can drive You for this.
What I have to do?
By: Skrol29
Date: 2007-10-12
Time: 01:23

Re: TBS for Drupal

I have 2 questions :

1) In the Drupal world, what are Template Theme Engines for ?
Like the Smarty Theme Engine: http://drupal.org/project/smarty
What a TBS Theme Engine should do?

2) PHP Template modules for a CMS System usually consist in giving a hook to display any dynamic contents embeded into a page which is part of the CMS site. This means that the CMS system displays a page which is first merged by the Template System.
For this job, we need to know the door that the CMS gives to insert any external HTML content or any PHP sub-script. Do you know this door for Drupal?
By: Skrol29
Date: 2007-10-12
Time: 01:27

Re: TBS for Drupal

Maybe we could discuss this by email.
skrol29 at freesurf dot fr
By: Eugef
Date: 2007-10-12
Time: 10:03

Re: TBS for Drupal

1. A theme engine must allow Drupal to use template files written using TBS syntax.
Like the module for Smarty integrates it into Drupal - so we must develop module to integrate TBS into Drupal too.

2. I'm a novice in Drpal, so now i can't answer this question. But i will study this problem in a few days.
By: Skrol29
Date: 2007-10-12
Time: 13:37

Re: TBS for Drupal

So if I understand (1), a TBS Theme Engine should convert TBS template or TBS snippets into Drupal Templates.
By: Eugef
Date: 2007-10-17
Time: 13:35

Re: TBS for Drupal

Not to CONVERT but to INTEGRATE. Because Drupal can work with different template engines. Drupal only says "This template variable must have this value" aтв the rest do template engine.
By: buzzy
Date: 2010-07-09
Time: 17:34

Re: TBS for Drupal

any news about this topic ?

I have an application made with tbs/spip and i want to change for drupal cms.
By: Skrol29
Date: 2010-07-10
Time: 23:32

Re: TBS for Drupal

Hi buzzy,

I have a beta version of the Drupal plugin for TinyButStrong. It should be quite compatible with the Spip plugin for TBS.

But I have a problem with the current beta version, the Drupal pluging is a "filter", which means it cannot retrieve the ID of the current node (article). This is because in the drupal world, a filter can be applied on many things that may be a node or not.
I can fix this by migrating the plugin to be a node plugin instead of a filter. But it's not done yet.