Ask a Question related to PHP Development, Design and Development.
-
mcanada #1
My Own Tags
I am currently working on a modular system where I need to implement
SNIPPETS. I need to be able to write on my php pages something like
[[mysnippet]], so that the module mysnippet gets inserted on that
part on the page. (btw, includes are not an option).
Any thoughts?
----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
[url]http://www.phpfreaks.com[/url]
[url]http://www.phpfreaks.com/forums[/url]
mcanada Guest
-
How to treat template tags as comment tags?
Hi all, I am using DW MX to edit templates for a FreeMarker application. The template tag fromat is like so: <ul> <#list birds as bird>... -
Why does CF use tags?
In a recent post I asked the question, is CFML valid XML. More precise, I stated it wasn't. It can be, but CFML allows constructs that are invalid... -
ASP.NET tags
hi A further addition . . . My designer is using an Apple Mac to design his pages (as good designers do) - he seems to think that the .NET tags... -
Alt tags
You want the alt attribute to be the same color as the background color of the cell? I'm not sure what you are asking for. The alt attribute is... -
Using ParseChildren attribute to load child tags - VS removes tags
I am building a poll control, nested in the tag I have child tags to setup the poll options. Everything works fine, but when I edit a property in... -
sirmanson #2
Re: My Own Tags
You can use Output Buffering to manipulate the resulting html before
it get's shown to the user. Basically you parse through the
output buffer for any of your tags [TAG] and replace them with the
snippet.
[url]http://us3.php.net/manual/en/function.ob-start.php[/url]
Aaron Eden
VP Webglimmer Internet Solutions
[url]http://www.webglimmer.com[/url]
PHP Hosting solutions starting at just $6/mo
----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
[url]http://www.phpfreaks.com[/url]
[url]http://www.phpfreaks.com/forums[/url]
sirmanson Guest



Reply With Quote

