User login

Documentation

Drupal, project, life documentation. This is where notes go to try to earn their way onto Drupal.org.

How to Disable Comments

Agaric's posted this before, this page should be consolidated with another one somewhere else, but people keep asking...

You can disable comments by going to Administer » Content » Content Types, and then on Blog Post (or the content type of your choice) edit it and make sure comments are off by default. You can also turn off comments on a given post (while editing it) under 'comment settings' I think.

Agaric's posted this before, this page should be consolidated with another one somewhere else, but people keep asking...

You can disable comments by going to Administer » Content » Content Types, and then on Blog Post (or the content type of your choice) edit it and make sure comments are off by default. You can also turn off comments on a given post (while editing it) under 'comment settings' I think.

Ask Agaric: Why can't I post content? (Login issue)

To a user:

When you have to get the replacement login it's because you'd forgotten your permanent password, and your regular password is wiped out when you use the temporary login. So when you use the link or temporary password to login you have to replace it with the password you want by taking the opportunity to set a new password.

To a user:

<

blockquote>When you have to get the replacement login it's because you'd forgotten your permanent password, and your regular password is wiped out when you use the temporary login. So when you use the link or temporary password to login you have to replace it with the password you want by taking the opportunity to set a new password.

Liz Burbank wrote:

thanks, but why am i periodically unable to log in and post? i used this
temporary login just for that reason, i do not wish to change my regular
password!

on 9/3/07 7:46 PM, Agaric Auto Support wrote:

Workflow improvements on server, SVN repository structure

From the Agaric archives way back in April:

  1. How to set up - or automatically create - "site@example.com" e-mails.

  2. Automatically "svn update" on specific test-sites directories (or would this have to be for all of test-sites, and so we need a different directory structure?) upon checking in a change to a site theme.

Drupal does not find example.com folders that are inside subdirectories.

From the Agaric archives way back in April:

  1. How to set up - or automatically create - "site@example.com" e-mails.

  2. Automatically "svn update" on specific test-sites directories (or would this have to be for all of test-sites, and so we need a different directory structure?) upon checking in a change to a site theme.

Drupal does not find example.com folders that are inside subdirectories.

So Dan, what that means is we have to decide whether we want a possible
hassle in checking out symlinks (essentially creating them outside version

Email and domain hosting on separate servers: MX Record Troubles and Solution

Setting MX Records Correctly to have e-mail accounts and forwarding handled on one server while the domain name and web site are handled by other servers.

(First Step: Setting them at all)

You MUST create an MX record with the A record for the domain (usually straight domain: example.com) for which you need e-mail.

Once this was set correctly as described below it worked despite the 'unknown RCPT TO' error message in the DNS report.

Setting MX Records Correctly to have e-mail accounts and forwarding handled on one server while the domain name and web site are handled by other servers.

(First Step: Setting them at all)

You MUST create an MX record with the A record for the domain (usually straight domain: example.com) for which you need e-mail.

Once this was set correctly as described below it worked despite the 'unknown RCPT TO' error message in the DNS report.

I can log into and get e-mail from test@example.org (with password test), but new mail I send doesn't get there.

Properly installing Subversion on Apache2 with SSL

Getting Subversion (SVN) to work on Apache 2, and apparently doing it right means SSL is involved.

debian latest version of svn
apt-get install subversion
not that Debian has the latest version.

  • all that not so relevant.

subversion apache configuration

Solution:

Apache2 SSL and Subversion in Debian on the freaks unidos wiki.

Getting Subversion (SVN) to work on Apache 2, and apparently doing it right means SSL is involved.

debian latest version of svn
apt-get install subversion
not that Debian has the latest version.

  • all that not so relevant.

subversion apache configuration

Solution:

Apache2 SSL and Subversion in Debian on the freaks unidos wiki.

NOTE: That page, that link above, has all the instructions. This page, Agaric's page, just describes what happened when we followed the instructions.

Find and replace on the GNU-Linux command line

Find and replace on the GNU/Linux command line

Chris Fernandez:

use SED for finding replacing the syntax is:
sed s/oldword/newword/g nameoldfile > newfile
or interative do to it on the same flye(warning)
sed -i s/oldword/newword/ namefile(do it with out the -i first)

I also asked Agaric's newest sysadmin type how to copy and paste between files. Answer:

"The mouse."

Find and replace on the GNU/Linux command line

Chris Fernandez:

use SED for finding replacing the syntax is:
sed s/oldword/newword/g nameoldfile > newfile
or interative do to it on the same flye(warning)
sed -i s/oldword/newword/ namefile(do it with out the -i first)

I also asked Agaric's newest sysadmin type how to copy and paste between files. Answer:

"The mouse."

Adding a URL alias in Drupal 4.7

When logged in (as an administrator of course) navigate to Administer » Url aliases (which is simply in the left-side personal menu as url aliases for you) then click the "add alias" tab.

http://example.org/admin/path

The existing system path is usually something like node/134 but in the case of views, it is whatever we've named them (which doesn't even need to have the word view, but we follow it as a convention). So, for Existing system path:

view/affiliates

When logged in (as an administrator of course) navigate to Administer » Url aliases (which is simply in the left-side personal menu as url aliases for you) then click the "add alias" tab.

http://example.org/admin/path

The existing system path is usually something like node/134 but in the case of views, it is whatever we've named them (which doesn't even need to have the word view, but we follow it as a convention). So, for Existing system path:

view/affiliates

and below that for the alias:

affiliates

And done! The desired link will now work.

Styles (CSS) in HTML document head, rather than included file

How to put cascading style sheet information in the head of an HTML document.

Not for web sites, which should have external style sheets.

Although on the other hand with such a push to have everything not make http requests, there are circumstances where you may want your CSS information embedded in the page.

From Yahoo's 13 rules for speeding up your web site:

How to put cascading style sheet information in the head of an HTML document.

Not for web sites, which should have external style sheets.

Although on the other hand with such a push to have everything not make http requests, there are circumstances where you may want your CSS information embedded in the page.

From Yahoo's 13 rules for speeding up your web site:

<

blockquote>

Go back to the directory I was in on command line shell

unix go back to the directory i was in
go backwards one directory

cd -

at least in the Korn shell. Worked on my Mac's bash and on Agaric's Debian server.

More common shell commands for moving around in the file structure...

Go to home directory:

cd ~

Go up one directory

cd ..

unix go back to the directory i was in
go backwards one directory

cd -

at least in the Korn shell. Worked on my Mac's bash and on Agaric's Debian server.

More common shell commands for moving around in the file structure...

Go to home directory:

cd ~

Go up one directory

cd ..

Putting text and HTML in forms in Drupal 5 FAPI

Form API

For '#type' => 'markup' form fields (which is the default type)

Use #value, not #description, to put in your HTML markup if you want anything to show up.

Agaric still wishes type markup could use all the same information but display it static, and not as a form, or even as a non-editable form.

Form API

For '#type' => 'markup' form fields (which is the default type)

Use #value, not #description, to put in your HTML markup if you want anything to show up.

Agaric still wishes type markup could use all the same information but display it static, and not as a form, or even as a non-editable form.

Syndicate content