Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: TinyMCE on Smarty ( ready to work for every one )
cowboystyle

Replies: 7
Views: 24907

PostForum: Feature Requests   Posted: Thu Jan 03, 2008 9:13 pm   Subject: TinyMCE on Smarty ( ready to work for every one )
I wouldn't directly include the TinyMCE source within a template, why not just link the file using <script src="tinymce.js">?
  Topic: Search engine friendly URLs $10 for solution
cowboystyle

Replies: 3
Views: 4186

PostForum: General   Posted: Thu Jan 03, 2008 3:08 pm   Subject: Search engine friendly URLs $10 for solution
I've found this to be very helpful:

.htaccess file in the directory you'd like to rewrite:

Options +FollowSymLinks
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteC ...
  Topic: html_options can generate invalid X/HTML
cowboystyle

Replies: 5
Views: 12365

PostForum: Bugs   Posted: Mon Dec 04, 2006 4:15 pm   Subject: html_options can generate invalid X/HTML
Yup, that's it... here's the "fix" (worked on my companies setup):

Go to: /smarty/templates/plugins directory
Open file: functions.html_options.php
Change line # 95, modify: onChange -& ...
  Topic: html_options can generate invalid X/HTML
cowboystyle

Replies: 5
Views: 12365

PostForum: Bugs   Posted: Fri Dec 01, 2006 11:47 pm   Subject: html_options can generate invalid X/HTML
html_options, current version is generating code which is NOT XHTML 1.0 Strict, see here:

This code...
{html_options options=$partners name=type selected=$type}

Is producing this xhtml node... ...
  Topic: Switch control structures
cowboystyle

Replies: 25
Views: 140723

PostForum: Feature Requests   Posted: Mon Oct 02, 2006 4:07 pm   Subject: Switch control structures
throwing my support for this feature, wondering whether mulitple {if}{elseif}{/if} statements are slower than an implementation of {switch}.
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP