e I'm working on to the person who can commit to
"secrecy" and to working the problem out with me :)
--
Alister Cameron
Managing Director
Cameron Creative Pty Ltd
www.cameroncreative.com
Creative, Strategic, Innovative... never boring!
_
Levi
>
> On Sat, Mar 15, 2008 at 11:49 PM, Alister Cameron <
> [EMAIL PROTECTED]> wrote:
>
> > Hi folks,
> > This is my first post on this group.
> >
> > I am integrating PHPTAL and Wordpress 2.5.
> >
> > I have thus far converted just the in
between revenue generation and Open Source
right!
Is this not everyone's problem?!?!
-A
On Mon, Mar 17, 2008 at 9:21 PM, Kornel Lesinski <[EMAIL PROTECTED]>
wrote:
> On 16 Mar 2008, at 03:49, Alister Cameron wrote:
>
> > In Wordpress, a theme is installed in the /wp-con
Just a question I thought to ask...
Is there anyone on this list, who knows PHPTAL really well, who's in
Melbourne?
I like to work with local people :)
Many thanks,
-Alister
Alister Cameron // Blogologist
www.alistercameron.com
___
PHPTAL ma
Hi guys.
I am a little lost here.
I keep getting this error message:
Notice: Trying to get property of non-object in
/Users/acameron/Sites/dev.local/wp-content/themes/carrington-blog/cache/tpl_1230650091_1_1_14vanillagrie23eb3d7c9b4eeff8130736697dc2527.php
on line 202
Notice: Trying to get prope
Folks,
Much as I am impressed with PHPTAL and that's not about the change, I am
frustrated with a lot of things that, to my mind, should just work, but...
just don't!
For example...
This is a simple if then else PHP condition, within a TAL attribute. It
doesn't work. It takes the "false fork" n
Ok. I fixed it, but I'm not sure I understand "scope" here...
Can someone explain to me why the define is required?? Could this same
outcome have been achieved within the php logic of the tal:attribute ??
Many thanks!
-Alister
---
Alister R Cameron
CEO // Australis Media Pty Ltd
http://www.au
> ...
> }
>
> Then you would have to refer to that function as vanilla.nesting(). I hope
> that answers your question.
>
> Best regards,
> Levi
>
> And have a happy new years.
>
> Alister Cameron wrote:
>
> Ok. I fixed it, but I'm not sure I understand
Quick one, that is frying my brain...
This is a snippet from a template I'm working on:
${vanilla/nesting}
Now, can someone explain to me why the first line outputs the value of
vanilla/nesting correctly, but the next line throws a PHPTAL error,
saying 'Unable
to find path nst in current sc
In PHP it's just values in an array (or nested arrays). Created as:
$tpl[] = array(
"nesting" => $nesting
);
Then:
$template->set('vanilla', $tpl);
and so forth.
Does that help?
-A
2009/1/2 Maciej Łebkowski
> On Fri, Jan 2, 2009 at 08:47, Alister Came
Sorry.
Bit silly of me. I discovered after hitting "send" that I had, in fact,
missed something and the PHP variables we're not properly set for passing to
PHPTAL.
False alarm, folks!!
Thanks,
-Alister
2009/1/2 Alister Cameron
> In PHP it's just values in an array (or
Hi again.
After an aborted attempt about a year ago, I am now making great headway on
a PHPTAL WordPress theme. This has been a bit of a "holy grail" project for
me, and as someone with limited experience with PHP, a big challenge.
Good news is I am getting through it and have overcome all the obs
but I suggest that you avoid global variables - it's easy to shoot yourself
> in the foot with them :)When you need them, it might be sign that you're
> trying to put too much logic into the template.
>
>
>
> --
> regards, Kornel
>
>
>
>
On Mon, Jan 5, 2009 at 10:18 PM, Kornel Lesiński wrote:
> On 04-01-2009 at 00:05:39 Alister Cameron <
> alister.came...@cameroncreative.com> wrote:
>
> Can you please shed some light on what are "best practices" regarding
>> keeping PHPTAL "fast"?
>
pretty ugly getting to the data I want. That is not
really my skill set so I'm looking for help from a PHP guru with deep
WordPress experience to work with me on that.
Cheers,
-Alister
---
Alister Cameron // Blogologist
http://www.alistercamero
Further to my last message, if anyone is interested...
I've setup a Git repository here:
http://github.com/alicam/vanilla-theme
...and issue tracking here:
http://code.google.com/p/vanilla-theme
There's also a discussion group here:
http://groups.google.com/group/vanilla-theme-discussion
Than
some right and wrong ways to do things here...
Cheers,
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
Mob. 04 0404
Fax 03 8610 0050
Click here to find me online:
http://clicktoadd.me/alicam
___
PHPTAL mailing list
PHPTAL@l
Does this not then mean that the use of "structure" is something to be very
very careful with?
When I pull stuff in from WordPress I often need to use it because rather
than pulling in very "granular" data, I pull in a pre-formatted chunk of
HTML code -- perhaps a link (complete A tag, etc)...
If
I should add that one of my longer-term plans is to access lower-level
functions to get past the need for "structure" in these cases. But this will
take a lot more work and time. Yawn :)
On Mon, Jan 12, 2009 at 9:02 PM, Kornel Lesiński wrote:
> On 11-01-2009 at 00:28:51 Al
er_library/
>
> I'd be glad if you would share your filters.
>
>
> --
> regards,
> takeshin
>
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
&g
;
> --
> regards
> takeshin
>
> p.s. the magic keywords for Google are: macro site:phptal.motion-twin.com
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
iated.
Cheers,
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
Mob. 04 0404
Fax 03 8610 0050
Click here to find me online:
http://clicktoadd.me/alicam
___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.m
var_dump of the data is here:
http://www.alistercameron.com/tal.data.txt
As far as I can tell it's fine... there's an array called "entries" and so
forth... don't get the issue.
Cheers,
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
Mob. 04 04
reach ($html_data as $k=>$v) {
$phptal->$k = $v;
}
echo $phptal->execute();
Hence what you see in the var_dump...
Does that all help at all?
Cheers,
-Alister
PS... one thought... does that foreach above fail if I nest my arrays deeper
than just one level (as I have done)? Should it be rec
regards, Kornel
>
> ___
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
--
Alister Cameron
Managing Director
Cameron Creative Pty Ltd
www.cameroncreative.com
Creativ
TAL?
I can't replace the entire HTML tag coz that will throw a "tag nesting
error"...
Do you suggest I drop this function entirely and do it another way,
attribute by attribute? Or what?
Many thanks :)
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
M
Folks,
Can I force a recache on every page load while I'm in dev mode on a given
project?
Specifically I am using setSource for everything, rather than a static file,
and it seems to be different in my situation.
Thoughts?
-Alister
___
PHPTAL mailing l
string is
the translation key.)
Thanks for your help!
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
Mob. 04 0404
Fax 03 8610 0050
Click here to find me online:
http://clicktoadd.me/alicam
___
PHPTAL mailing list
PHPTA
in my efforts to keep i18n stuff in the
templates:
Any thoughts on this? This is where i18n plays a part in setting up
variables for a function call! Obviously the %s is retained in the
translation key, and I am assume there is a TAL equivalent?!
Thoughts welcome :)
-Alister
---
Alister Ca
like that. It's got all the regex
goodness you could ever hope for, as far as shrinking HTML goes.
Cheers,
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
Mob. 04 0404
Fax 03 8610 0050
Click here to find me online:
http://clicktoadd.me/alicam
On Fri,
rkup I can even come up with (which I haven't yet tested) is:
You must be logged in to post a
comment.
What WILL work, oh gurus?!
Cheers,
-Alister
---
Alister Cameron // Blogologist
http://www.alistercameron.com
Mob. 04 0404
Fax 03 8610 0050
Click here to find me on
Thanks heaps Kornel.
Can I extend this with variable substitution of the href attribute? As:
You must be logged in to post a comment.
??
-Alister
2009/8/18 Kornel Lesiński
> On 18-08-2009 at 08:25:32 Alister Cameron <
> alister.came...@cameroncreative.com> wrote:
>
> I h
32 matches
Mail list logo