Hi,
I have a profile field whose value is dynamically generated in code.
How do I save the field?
$user->profile_fieldname="node/$nid"; profile_save_profile($user); I have also tried profile_save_profile($user,"fieldname") but its expecting something for &$edit.
What is the correct way of saving profile?
Thanks,
V
I have used Drupal before, and thought this was possible, but I can't remember how to do it. Can someone help?
1.) How do you change the HTML that is allowed in stories? I can't get <i> or <blockquote> to work.
2.) Is there a module to dowlnoad or something that will add something where I can simply highlight the text I want to create a link with in a story and click a button that will popup a window (like Moveable Type does) so I can just put the URL in there rather than hassling with the <a href> tag all the time? I link to LONG newspaper URLs and it is a pain.
Thanks.
Vince
Vince_Leibowitz wrote:
I have used Drupal before, and thought this was possible, but I can't remember how to do it. Can someone help?
1.) How do you change the HTML that is allowed in stories? I can't get <i> or <blockquote> to work.
Look in the handbook for 'input filters'. You can control a lot of that quite nicely.
2.) Is there a module to dowlnoad or something that will add something where I can simply highlight the text I want to create a link with in a story and click a button that will popup a window (like Moveable Type does) so I can just put the URL in there rather than hassling with the <a href> tag all the time? I link to LONG newspaper URLs and it is a pain.
The modules TinyMCE and HTMLArea both add wysiwyg editors to Drupal that have that functionality.
Earl,
Thanks a MILLION!!! This is really a big help!
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org]On Behalf Of Earl Miles Sent: Saturday, December 10, 2005 3:00 PM To: support@drupal.org Subject: Re: [support] HTML in stories; links in stories....
Vince_Leibowitz wrote:
I have used Drupal before, and thought this was possible, but I can't remember how to do it. Can someone help?
1.) How do you change the HTML that is allowed in stories? I can't get <i> or <blockquote> to work.
Look in the handbook for 'input filters'. You can control a lot of that quite nicely.
2.) Is there a module to dowlnoad or something that will add something
where
I can simply highlight the text I want to create a link with in a story
and
click a button that will popup a window (like Moveable Type does) so I can just put the URL in there rather than hassling with the <a href> tag all
the
time? I link to LONG newspaper URLs and it is a pain.
The modules TinyMCE and HTMLArea both add wysiwyg editors to Drupal that have that functionality. -- [ Drupal support list | http://lists.drupal.org/ ]
Is there anyone who could help me install TinyMCE? It is way over my head.
After I thought I had it installed, it came up with this: Could not find the TinyMCE engine installed at modules/tinymce/tinymce/. Please download TinyMCE, uncompress it and copy the folder into modules/tinymce.
So, I tried in CPanel to create a tinymce subfolder in tinymce, but it would not let me. I know I've got the engine in there, but it isn't finding it. Also, the instructions from what I downloaded from drupal said to go somewhere else and download ANOTHER TinyMCE thing, which has more files in it and I have no Idea what i am supposed to do next. Plus, when trying to do this:
mysql -u user -p drupal < tinymce.mysql
(with appropriate things substituted) I get this error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u capitola_drpl1 -p capitola_drpl1 < tinymce.mysql' at line 1
I have no idea what it means as I have never used MySQL before and know nothing about it. Thanks.
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org]On Behalf Of Vince_Leibowitz Sent: Saturday, December 10, 2005 3:28 PM To: support@drupal.org Subject: RE: [support] HTML in stories; links in stories....
Earl,
Thanks a MILLION!!! This is really a big help!
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org]On Behalf Of Earl Miles Sent: Saturday, December 10, 2005 3:00 PM To: support@drupal.org Subject: Re: [support] HTML in stories; links in stories....
Vince_Leibowitz wrote:
I have used Drupal before, and thought this was possible, but I can't remember how to do it. Can someone help?
1.) How do you change the HTML that is allowed in stories? I can't get <i> or <blockquote> to work.
Look in the handbook for 'input filters'. You can control a lot of that quite nicely.
2.) Is there a module to dowlnoad or something that will add something
where
I can simply highlight the text I want to create a link with in a story
and
click a button that will popup a window (like Moveable Type does) so I can just put the URL in there rather than hassling with the <a href> tag all
the
time? I link to LONG newspaper URLs and it is a pain.
The modules TinyMCE and HTMLArea both add wysiwyg editors to Drupal that have that functionality. -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Vince_Leibowitz wrote:
Is there anyone who could help me install TinyMCE? It is way over my head.
After I thought I had it installed, it came up with this: Could not find the TinyMCE engine installed at modules/tinymce/tinymce/. Please download TinyMCE, uncompress it and copy the folder into modules/tinymce.
So, I tried in CPanel to create a tinymce subfolder in tinymce, but it would not let me. I know I've got the engine in there, but it isn't finding it. Also, the instructions from what I downloaded from drupal said to go somewhere else and download ANOTHER TinyMCE thing, which has more files in it and I have no Idea what i am supposed to do next. Plus, when trying to do this:
mysql -u user -p drupal < tinymce.mysql
(with appropriate things substituted) I get this error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u capitola_drpl1 -p capitola_drpl1 < tinymce.mysql' at line 1
I have no idea what it means as I have never used MySQL before and know nothing about it. Thanks.
I can't give you all the help you need, I'm afraid, but I can clear up a bit of confusion:
In both cases, the Drupal module is just a wrapper for another piece of software. In TinyMCE's case, it's actually an external wysiwyg editor that has to be installed by itself. The Drupal module, then, is what lets Drupal know the editor is there and embeds it into your Drupal installation. So you do need to go download that other thing. I seem to recall it's relatively easy to install that part, and just needs to be inside your modules/tinymce directory. But it's been some time since I've looked at it.
Drupal.org/services has a list of people that can help.
Ber
On Sat, December 10, 2005 21:59, Vince_Leibowitz wrote:
Is there anyone who could help me install TinyMCE? It is way over my head.
After I thought I had it installed, it came up with this: Could not find the TinyMCE engine installed at modules/tinymce/tinymce/. Please download TinyMCE, uncompress it and copy the folder into modules/tinymce.
So, I tried in CPanel to create a tinymce subfolder in tinymce, but it would not let me. I know I've got the engine in there, but it isn't finding it. Also, the instructions from what I downloaded from drupal said to go somewhere else and download ANOTHER TinyMCE thing, which has more files in it and I have no Idea what i am supposed to do next. Plus, when trying to do this:
mysql -u user -p drupal < tinymce.mysql
(with appropriate things substituted) I get this error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u capitola_drpl1 -p capitola_drpl1 < tinymce.mysql' at line 1
I have no idea what it means as I have never used MySQL before and know nothing about it. Thanks.
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org]On Behalf Of Vince_Leibowitz Sent: Saturday, December 10, 2005 3:28 PM To: support@drupal.org Subject: RE: [support] HTML in stories; links in stories....
Earl,
Thanks a MILLION!!! This is really a big help!
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org]On Behalf Of Earl Miles Sent: Saturday, December 10, 2005 3:00 PM To: support@drupal.org Subject: Re: [support] HTML in stories; links in stories....
Vince_Leibowitz wrote:
I have used Drupal before, and thought this was possible, but I can't remember how to do it. Can someone help?
1.) How do you change the HTML that is allowed in stories? I can't get
<i> or <blockquote> to work.
Look in the handbook for 'input filters'. You can control a lot of that quite nicely.
2.) Is there a module to dowlnoad or something that will add something
where
I can simply highlight the text I want to create a link with in a story
and
click a button that will popup a window (like Moveable Type does) so I can just put the URL in there rather than hassling with the <a href> tag all
the
time? I link to LONG newspaper URLs and it is a pain.
The modules TinyMCE and HTMLArea both add wysiwyg editors to Drupal that have that functionality. -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
How do I get my catergories or whatever those things are to list in my little menu on the left hand side where everything is? Thanks.
On Sat, December 10, 2005 20:46, Vince_Leibowitz wrote:
How do I get my catergories or whatever those things are to list in my little menu on the left hand side where everything is? Thanks.
taxonomy_menu module
And please do not reply to other mails, it breaks the threading.
Ber