TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 8 of 8
Search took 0.04 seconds.
Search: Posts Made By: nightowl
Forum: General 03-06-2009, 11:22 AM
Replies: 4
Views: 753
Posted By nightowl
yes, that is possible. But I don't want to assign...

yes, that is possible. But I don't want to assign values to all possible vars in the template. There are numerous places where you want to foresee that you can add data, but often you don't actually...
Forum: General 03-05-2009, 01:59 PM
Replies: 4
Views: 753
Posted By nightowl
Anybody who can help me with this?

Anybody who can help me with this?
Forum: General 02-06-2009, 03:33 PM
Replies: 4
Views: 753
Posted By nightowl
PHPTal: unset variables

When I design a template that refers to some var

e.g.


<span tal:content="title"></span>


If my PHP script doesn't set this var, an error is thrown by PHPTal.
Forum: General 02-06-2009, 03:31 PM
Replies: 13
Views: 1,234
Posted By nightowl
if you post a question, and you find the answer...

if you post a question, and you find the answer yourself, it's just polite to post the answer. a lot of people are reading, but you can't expect everyone who doens't know the answer to say "i care,...
Forum: Libraries & Extensions 01-08-2009, 03:18 PM
Replies: 27
Views: 4,969
Posted By nightowl
as I said ... "About the 3-D-array and...

as I said ... "About the 3-D-array and patTemplate: it also depends on your PHP code.".So yes, you are right. I thought that Smarty maybe has something to tackle it, dunno. I don't know Smarty...
Forum: Libraries & Extensions 01-08-2009, 03:12 PM
Replies: 27
Views: 4,969
Posted By nightowl
as I said ... "About the 3-D-array and...

as I said ... "About the 3-D-array and patTemplate: it also depends on your PHP code.".So yes, you are right. I thought that Smarty maybe has something to tackle it, dunno. I don't know Smarty...
Forum: Libraries & Extensions 01-08-2009, 12:23 PM
Replies: 27
Views: 4,969
Posted By nightowl
The idea to use macro's for the form / show...

The idea to use macro's for the form / show results question is great. It seems like a valid alternative to adding the conditon statements.


I had gotten to this point.


search.php:


<?php
Forum: Libraries & Extensions 01-07-2009, 01:09 PM
Replies: 27
Views: 4,969
Posted By nightowl
2 questions about PHPTal: - first of all, I'm...

2 questions about PHPTal:

- first of all, I'm used to putting all logic concerning a certain part of the app in 1 PHP page. eg. a form to search and show results, would be in 1 PHP page with a...
Showing results 1 to 8 of 8

 

All times are GMT. The time now is 07:14 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design