Author |
Message |
Topic: Stop caching of {include file} |
sayian
Replies: 6
Views: 9662
|
Forum: General Posted: Wed Mar 22, 2006 7:43 am Subject: Stop caching of {include file} |
ive figured it out .. nevermind ..
I still cant get the page title to change tho. |
Topic: Stop caching of {include file} |
sayian
Replies: 6
Views: 9662
|
Forum: General Posted: Wed Mar 22, 2006 6:07 am Subject: Stop caching of {include file} |
Ok, i have it working, and i have assigned the same variable assignments that are in my header.php file
my file structure is like this.
index.php
require's header.php
and footer.php
the ... |
Topic: Stop caching of {include file} |
sayian
Replies: 6
Views: 9662
|
Forum: General Posted: Wed Mar 22, 2006 5:53 am Subject: Stop caching of {include file} |
Is their any other solution, to include my non cached header template?
That didnt quite work for me.
Can i not do somthing like?
{dynamic}{insert file="header.tpl"}{/dynamic}
or somthing els ... |
Topic: Stop caching of {include file} |
sayian
Replies: 6
Views: 9662
|
Forum: General Posted: Wed Mar 22, 2006 5:34 am Subject: Stop caching of {include file} |
is their anyway to change the page title using this method?? |
Topic: strip whitespace, newlines |
sayian
Replies: 1
Views: 6205
|
Forum: General Posted: Wed Mar 22, 2006 1:24 am Subject: strip whitespace, newlines |
Hi, im currently using the output filter
$smarty->load_filter('output', 'trimwhitespace');
Is their any other filter that strips or compress's the out even more?
Maybe removing returns, ec ... |
Topic: Stop caching of {include file} |
sayian
Replies: 6
Views: 9662
|
Forum: General Posted: Tue Mar 21, 2006 9:45 pm Subject: Stop caching of {include file} |
Ok thanks, then how can i set the title of the header file? b/c i was setting the title like {include file="file" title="Title of Page"}
Cheers |
Topic: Use SmartyValidate |
sayian
Replies: 2
Views: 5044
|
Forum: General Posted: Tue Mar 21, 2006 9:32 am Subject: Use SmartyValidate |
No you cannot use smartyvalidate without installing smarty. |
Topic: Stop caching of {include file} |
sayian
Replies: 6
Views: 9662
|
Forum: General Posted: Tue Mar 21, 2006 9:30 am Subject: Stop caching of {include file} |
Hello
Im including my header file in smarty by doing
{include file="header.tpl""}
Is it possible to stop caching on this file, if i am caching the document it is included in?
Cheers |
Topic: The Best way to hide your templates (.tpl files) |
sayian
Replies: 15
Views: 62378
|
Forum: Tips and Tricks Posted: Wed Mar 08, 2006 2:44 am Subject: The Best way to hide your templates (.tpl files) |
Also, please note that if you ever want to disable error reporting, this method will prove trivial. |
Topic: Dynamic Table Columns |
sayian
Replies: 17
Views: 322086
|
Forum: Tips and Tricks Posted: Tue Mar 07, 2006 11:21 pm Subject: Dynamic Table Columns |
Just to let everyone know, this solution does not work.
If you have 4 rows, and you set your cols to 6.
it will add 2 rows of "bad" data ie: nothing, blank, red x's for images. ect.
The only ... |
Topic: Assign Array |
sayian
Replies: 2
Views: 6665
|
Forum: General Posted: Fri Dec 16, 2005 1:46 am Subject: Assign Array |
Hi, is it possible to assign these values all togeather instead of having to type $smarty->assign over and over
example
$smarty->assign('status',$status);
$smarty->assign('first_nam ... |
Topic: Results in 2 columns |
sayian
Replies: 4
Views: 7535
|
Forum: General Posted: Mon Nov 14, 2005 12:11 pm Subject: Results in 2 columns |
Why not just use CSS to float the results? |
Topic: HTML Checkboxes |
sayian
Replies: 0
Views: 3431
|
Forum: General Posted: Wed Nov 02, 2005 2:11 am Subject: HTML Checkboxes |
I need some help to understand how to use html checkboxes .. im sorry but i just dont get it.
In my form .. i have 3 options for a search. Show users with pics, show users online, show users i can ... |
Topic: Do somthing every 6 rows |
sayian
Replies: 4
Views: 6818
|
Forum: General Posted: Tue Nov 01, 2005 5:31 am Subject: Do somthing every 6 rows |
Yes, i figured that out after i made this post, i appologize , i just overlooked the need for the tr and td elements, thank you for your time. |
Topic: Do somthing every 6 rows |
sayian
Replies: 4
Views: 6818
|
Forum: General Posted: Tue Nov 01, 2005 4:08 am Subject: Do somthing every 6 rows |
Im having problem getting this to work properly boots.
{foreach name=foo item=pl from=$results}
<tr>
<td width="28%"><div class="PhotoCell ... |
|