Categories > TinyButStrong general >

CSS and File Names (Two seperate questions)

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Ari
Date: 2006-11-06
Time: 15:03

CSS and File Names (Two seperate questions)

Hi folks,
I'm new to TBS and have a few questions.

1) Can TBS handle CSS tableless? in other words, can CSS be classified as a  [block] for a mysql array the same way you can do with a <tr>?

2) TBS takes  the template but spits it out from the .php file it was called from. Is there a way to spit it out as a different file completely? Example: I LoadTemplate(xxx.htm) and TBS interprets it. How do I spit out the file xxx.htm to the browser and not tbsblahblah.php.

Thanks!
Ari
By: Skrol29
Date: 2006-11-07
Time: 00:54

Re: CSS and File Names (Two seperate questions)

Hi,

1) Yes of course. The syntax "block=tag" works for any HTML and XML tags. So it works great for CSS tableless. Don't forget you can extend block over several tags.
See http://www.tinybutstrong.com/manual.php#html_block_prm_block

2) You must call a PHP script to run TBS. but you can make up this call using URL rewriting for example. That's what is commonly done to make sure your page is well taken in account by Search Engine like Google.
By: Ari
Date: 2006-11-07
Time: 10:25

Re: CSS and File Names (Two seperate questions)

Could you either give me an example of a rewrite function or tell me where I can read more about this?

Ari
By: Skrol29
Date: 2006-11-11
Time: 03:16

Re: CSS and File Names (Two seperate questions)