Reply to Re: WordPress question....

Your name:

Reply:


Posted by maya on 10/26/07 13:21

thank you all for your responses.. all points well taken..

I guess I will have no choice but to try the plugin, but I still don't
understand why I can't use my own code to send email.. there are other
things I don't understand about this WordPress installation, like if I
add one php file where all other files are for my blog (I mean where
main index.php is) I get a 404 on that php file if I try to load it on
the browser.. this doesn't make too much sense.. call it 'open
source', call it whatever you want, it should be more flexible than that..

thank you very much..


NC wrote:
> On Oct 23, 8:16 am, maya <maya778...@yahoo.com> wrote:
>> I want to do my own form, w/o having to use a plugin..
>
> There is a reason plugins are used in WordPress. If you modify
> WordPress codebase, the results will impact every page and/or post
> generated by WordPress. If you want your form to appear only on
> certain page(s), you need to implement it within a plugin.
>
>> I tried a contact plugin, but you can't specify what
>> address to send email to, which renders the plugin
>> pretty useless..
>
> So try another one... This one seems to be OK:
>
> http://wordpress.org/extend/plugins/cforms/
>
>> It is set to go to the default wordpress email. [oh really?
>> what address exactly???]
>
> The one that's associated with the user whose name is "admin" and
> whose ID number is 1.
>
>> I have my own php-code for sending email, that works fine
>> if the form submitting is OUTSIDE WP-installation;
>
> So wrap it into a plugin, and your problem is solved...
>
>> I have used this code on numerous occasions, with two
>> different php-hostings.. does anybody know WHY it doesn't
>> it work with Word Press
>
> Because you are putting it in the wrong place, perhaps? :)
>
>> I mean if I can't use my own code for stuff for something
>> simple like this then what is the point of open-source???? ;)
>
> Open source or not, you need to understand the inner workings of the
> system you are trying to extend...
>
> Cheers,
> NC
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация