Author |
Message |
Topic: exclude all middile initials with or without a per |
blackhawkmx
Replies: 5
Views: 15524
|
Forum: Tips and Tricks Posted: Sat Sep 05, 2009 2:12 am Subject: exclude all middile initials with or without a per |
how can i tell regex_replace to exclude all middle initials in a name?
i.e. larry t. brown or larry t brown should reas as larry brown
thanks! |
Topic: change values with a href link? |
blackhawkmx
Replies: 2
Views: 6039
|
Forum: General Posted: Sat Mar 28, 2009 3:25 pm Subject: change values with a href link? |
Actually...yes that's what i'm trying to do - change a javascript variable once a user clicks on a link - I'll play around with that as my focus now - thank you for the response mohrt!
-bh |
Topic: change values with a href link? |
blackhawkmx
Replies: 2
Views: 6039
|
Forum: General Posted: Fri Mar 27, 2009 3:31 pm Subject: change values with a href link? |
Sup peeps,
Is there a way to change a value after clicking on a link. for example i would like
{assign var='test' value='true'}
to change to
{assign var='test' value='f ... |
Topic: help with javascript array and smarty |
blackhawkmx
Replies: 1
Views: 4752
|
Forum: General Posted: Thu Jan 08, 2009 6:17 am Subject: help with javascript array and smarty |
is there a way i can loop all the values of a javascript array?
If that object was something like....
[code]
image1 = new Array("slide01.gif","slide02.gif","slide03.gif&q ... |
Topic: help with regex_replace |
blackhawkmx
Replies: 1
Views: 4335
|
Forum: General Posted: Thu Dec 11, 2008 4:06 pm Subject: help with regex_replace |
I'm trying to teach myself more with using patterns. what is the basic syntax to remove everything before and after a specific pattern? for example
sally has a, nice=cat in the house
I want st ... |
Topic: split_list_first and split_list_second smarty plugins |
blackhawkmx
Replies: 2
Views: 7655
|
Forum: Plugins Posted: Thu Dec 11, 2008 3:23 pm Subject: split_list_first and split_list_second smarty plugins |
Hi Nick,
is there any way we can return all parts of the string, not just the first or the last part. for example I will have
one@two@three@four
and want to return
one
two
three
four
... |
Topic: looking for a good wysiwyg editor |
blackhawkmx
Replies: 2
Views: 6645
|
Forum: General Posted: Tue Dec 09, 2008 11:55 pm Subject: looking for a good wysiwyg editor |
no luck bro,
I tried
...
$fck_description = $_POST['description'];
$fck_description = stripslashes($fck_description);
...
but it didnt change my situation...
In a ... |
Topic: looking for a good wysiwyg editor |
blackhawkmx
Replies: 2
Views: 6645
|
Forum: General Posted: Tue Dec 09, 2008 11:05 pm Subject: looking for a good wysiwyg editor |
as it stands, i'm using the fckeditor to add content for web site. I'm using the fckeditor plugin for smarty. But the issue is that I would like to put in some php or smarty code into the source cod ... |
Topic: help with outfilters |
blackhawkmx
Replies: 2
Views: 5842
|
Forum: General Posted: Sat Nov 22, 2008 2:37 pm Subject: help with outfilters |
yeah, thanks for the good tip! |
Topic: help with outfilters |
blackhawkmx
Replies: 2
Views: 5842
|
Forum: General Posted: Thu Nov 20, 2008 5:30 pm Subject: help with outfilters |
Is it possible to use an outputfilter to mask a url name in the status bar and also in the properties window when clicked on? for example take something like...
http://mysite.com/item.php?pag ... |
Topic: check javascript with smarty? |
blackhawkmx
Replies: 1
Views: 4852
|
Forum: General Posted: Fri Oct 31, 2008 3:54 pm Subject: check javascript with smarty? |
is there a way to check if javascript is disabled or enabled with smarty, in an if statement within the .tpl code?
thanks |
Topic: would love to see smarty for wordpress |
blackhawkmx
Replies: 6
Views: 36401
|
Forum: Article Discussions Posted: Fri Oct 17, 2008 7:24 pm Subject: would love to see smarty for wordpress |
Just thought it would be a really cool idea if smarty could be installed on Wordpress to modify theme pages. that would be hot! The syntax on the theme pages don't look complicated at all, reminds m ... |
Topic: communication with .htaccess |
blackhawkmx
Replies: 3
Views: 13148
|
Forum: Feature Requests Posted: Wed Oct 15, 2008 4:24 pm Subject: communication with .htaccess |
i got it!
function changelink($output, &$page)
{
return str_replace('index.php?page=', '', $output);
}
$page->register_outputfilter('changelink'); ... |
Topic: communication with .htaccess |
blackhawkmx
Replies: 3
Views: 13148
|
Forum: Feature Requests Posted: Wed Oct 15, 2008 3:34 pm Subject: communication with .htaccess |
In my case celeb you are absolutely right. I only have 5 different page to come across, and it would only take me 2 minutes to make the change manaully.
But what do you say about a website that ... |
Topic: communication with .htaccess |
blackhawkmx
Replies: 3
Views: 13148
|
Forum: Feature Requests Posted: Wed Oct 15, 2008 2:19 pm Subject: communication with .htaccess |
not sure if this question should fall under this section or under tips and tricks.
I know that mod_rewrite does not change links, but is there a way that smarty or php can communicate with my .htacce ... |
|