Please bear in mind that I'm a newbie with Linux.
I'm running Xubuntu, Apache2.2.8 (Ubuntu), PHP 5.2.4, MySQL 5.
When using FireFox 3.0, the site works as expected.
When using Internet Explorer 7, login fails, redisplaying the login page with the message:
Access denied
You are not authorized to access this page.
When I use the Drupal administration to look at the Drupal logs, I see the following for the Firefox login:
Details
Type user Date Sunday, July 20, 2008 - 19:35 User peter http://71.254.147.252:5080/drupal5/?q=user/2 Location http://www.cardenasdow.us/drupal5/?destination=node Referrer http://71.254.147.252:5080/drupal5/ Message Session opened for /peter/. Severity notice Hostname 71.254.147.252
And for the Internet Explorer login:
Details
Type user Date Sunday, July 20, 2008 - 19:36 User peter http://71.254.147.252:5080/drupal5/?q=user/2 Location http://www.cardenasdow.us/drupal5/?destination=node Referrer http://71.254.147.252:5080/drupal5/?q=node Message Session opened for /peter/. Severity notice Hostname 71.254.147.252
The only difference (other than the time) is the "Referrer" link. I read up on Clean URLs, but cannot seem to get them working correctly. I have the Apache Rewrite module loaded, and in the .htaccess file I have:
RewriteEngine on Options All RewriteCond %{HTTP_HOST} ^cardenasdow.us$ [NC] RewriteRule ^(.*)$ http://www.cardenasdow.us/$1 [L,R=301] RewriteBase /drupal5 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I used the Drupal module administration to load the Path module.
A lot of the posts I've read about this are on the confusing side because it is unclear where the file they're telling me to modify actually is. It's also not apparent where things get installed. Here's what I think I know of my directory structure:
Apache is in /etc/apache2. It has the following subdirectories:
conf.d mods-available mods-enabled sites-available sites-enabled
Drupal is in /etc/drupal/5 with subdirectories
profiles default
sites default
My website documents are in /var/www.
Drupal documents are in /var/www/drupal5.
I've tried clearing cache tables (cache, cache_filters, cache_menu, cache_page) in the drupal database to no avail.
How do I get this to work for IE7?
*Peter Dow* / Dow Software Services, Inc. 909 793-9050 pdow@dowsoftware.com mailto:pdow@dowsoftware.com /
When I browse to
http://www.cardenasdow.us/drupal5
on FF2 or IE6 on Win 2K or FF3, IE7, or Safari Beta on Windows Vista, it works every time.
Are you running IE7 on Xubuntu or on Windows? Because on Linux, IE7 is only a beta.
HTH.
Hi Fred,
Now that I'm a little more awake, I should've mentioned that getting to the login page is no problem for FF or IE. The problem is that after entering a valid userid and password, IE gets the Access Denied message.
Thanks for checking though.
*Peter Dow* / Dow Software Services, Inc. 909 793-9050 pdow@dowsoftware.com mailto:pdow@dowsoftware.com /
Fred Jones wrote:
When I browse to
http://www.cardenasdow.us/drupal5
on FF2 or IE6 on Win 2K or FF3, IE7, or Safari Beta on Windows Vista, it works every time.
Are you running IE7 on Xubuntu or on Windows? Because on Linux, IE7 is only a beta.
HTH.
I have included the Site Title and Slogan in a header background image that occupies the header of my site. Can someone please tell me how to code (and where to put it) a link so that a click anywhere in the header takes the user to the front page? I would have no problem with this if it were simple HTML, but the compartmentalized PhP structure of Drupal has me pretty confused.
Thanks in advance,
Steve Hays Classics Ohio University
do one thing,
tell me in simple manner not an paragraph,
i guide u,
also u have any bitmap for ur expected output, send to me,
i tell u..
On Mon, Jul 21, 2008 at 7:35 PM, Steve Hays hays@ohio.edu wrote:
I have included the Site Title and Slogan in a header background image that occupies the header of my site. Can someone please tell me how to code (and where to put it) a link so that a click anywhere in the header takes the user to the front page? I would have no problem with this if it were simple HTML, but the compartmentalized PhP structure of Drupal has me pretty confused.
Thanks in advance,
Steve Hays Classics Ohio University
-- [ Drupal support list | http://lists.drupal.org/ ]
I will try.
HTML output: <div id = "header"> </header> (no text content) On .css #header {background: } is an image.
Where can I place Drupal l() function to make header a link?
Does that make sense? Thanks.
Steve
On Jul 21, 2008, at 10:14 AM, bharani kumar wrote:
do one thing,
tell me in simple manner not an paragraph,
i guide u,
also u have any bitmap for ur expected output, send to me,
i tell u..
On Mon, Jul 21, 2008 at 7:35 PM, Steve Hays hays@ohio.edu wrote: I have included the Site Title and Slogan in a header background image that occupies the header of my site. Can someone please tell me how to code (and where to put it) a link so that a click anywhere in the header takes the user to the front page? I would have no problem with this if it were simple HTML, but the compartmentalized PhP structure of Drupal has me pretty confused.
Thanks in advance,
Steve Hays Classics Ohio University
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Steve,
Sounds like you must have edited the page.tpl.page for the theme you are using in order to get the header image you wanted. Is that correct? That's where the html goes as well.
Why don't you post that snippet of the code and then I or someone can post back with the simple snippet you'll need to get that to be a hyperlink.
But you could try on your own as well --, just make sure that the php part is "off" near where you have the header image, and put in the html. <?php turns php on and ?> turns it off. Html happily goes outside of those tags.
Shai
So then you just go inside the theme folder for the theme you are using and go to page.
On Mon, Jul 21, 2008 at 10:05 AM, Steve Hays hays@ohio.edu wrote:
I have included the Site Title and Slogan in a header background image that occupies the header of my site. Can someone please tell me how to code (and where to put it) a link so that a click anywhere in the header takes the user to the front page? I would have no problem with this if it were simple HTML, but the compartmentalized PhP structure of Drupal has me pretty confused.
Thanks in advance,
Steve Hays Classics Ohio University
-- [ Drupal support list | http://lists.drupal.org/ ]
Shai,
I did not edit the page.tpl. Instead, I disabled the title and slogan in the theme configuration. Then in .css I replaced the header background image with my new image.
The result is that the HTML output of the header on all pages is blank <div id = "header"> </div>
What you said, though, enabled me to figure it out. I simply needed to set the a href statement around the whole header div, and it worked.
By the way, I simply set it as <a href = "home">, which works on local host. I hope this won't cause problems after upload? I.e., I don't need to use the Drupal l() function to maintain proper internal links?
Thanks for the pointer. Now that I see it, I feel pretty stupid for needing to bother people with this.
Steve
On Jul 21, 2008, at 10:16 AM, Shai Gluskin wrote:
Hi Steve,
Sounds like you must have edited the page.tpl.page for the theme you are using in order to get the header image you wanted. Is that correct? That's where the html goes as well.
Why don't you post that snippet of the code and then I or someone can post back with the simple snippet you'll need to get that to be a hyperlink.
But you could try on your own as well --, just make sure that the php part is "off" near where you have the header image, and put in the html. <?php turns php on and ?> turns it off. Html happily goes outside of those tags.
Shai
So then you just go inside the theme folder for the theme you are using and go to page.
On Mon, Jul 21, 2008 at 10:05 AM, Steve Hays <hays@ohio.edu> wrote: I have included the Site Title and Slogan in a header background image that occupies the header of my site. Can someone please tell me how to code (and where to put it) a link so that a click anywhere in the header takes the user to the front page? I would have no problem with this if it were simple HTML, but the compartmentalized PhP structure of Drupal has me pretty confused.
Thanks in advance,
Steve Hays Classics Ohio University
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
On Mon, Jul 21, 2008 at 10:42 AM, Steve Hays <hays@ohio.edu> wrote:
Shai,
I did not edit the page.tpl. Instead, I disabled the title and slogan in the theme configuration. Then in .css I replaced the header background image with my new image.
The result is that the HTML output of the header on all pages is blank <div id = "header"> </div>
What you said, though, enabled me to figure it out. I simply needed to set the a href statement around the whole header div, and it worked.
By the way, I simply set it as <a href = "home">, which works on local host. I hope this won't cause problems after upload? I.e., I don't need to use the Drupal l() function to maintain proper internal links?
Thanks for the pointer. Now that I see it, I feel pretty stupid for needing to bother people with this.
Steve
On Jul 21, 2008, at 10:16 AM, Shai Gluskin wrote:
Hi Steve,
Sounds like you must have edited the page.tpl.page for the theme you are using in order to get the header image you wanted. Is that correct? That's where the html goes as well.
Why don't you post that snippet of the code and then I or someone can post back with the simple snippet you'll need to get that to be a hyperlink.
But you could try on your own as well --, just make sure that the php part is "off" near where you have the header image, and put in the html. <?php turns php on and ?> turns it off. Html happily goes outside of those tags.
Shai
So then you just go inside the theme folder for the theme you are using and go to page.
On Mon, Jul 21, 2008 at 10:05 AM, Steve Hays <hays@ohio.edu> wrote:
I have included the Site Title and Slogan in a header background image that occupies the header of my site. Can someone please tell me how to code (and where to put it) a link so that a click anywhere in the header takes the user to the front page? I would have no problem with this if it were simple HTML, but the compartmentalized PhP structure of Drupal has me pretty confused.
Thanks in advance,
Steve Hays Classics Ohio University
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
Hi Steve,
Looks like this module does what you want:
http://drupal.org/project/blogger
However, it is for D5. Check the issue queue and see what the time line for D6 is.
There might be a solution using views. You shouldn't need profile module at all for this, if I understand your needs. A custom snippet might do the trick if the blogger module isn't going to be ready soon for D6. In general, I think your approach you are taking is more complicated than it needs to be.
As an aside... Drupal 6 is really awesome... but it's having a long ramp up time for many good reasons. In general, for someone seeking support, ease of use and is a "beginner" - I recommend D5 at this moment in time. Sounds like you may be pretty far in and it isn't worth starting over.
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
Steve, one more thing...
To be clear, the blogger module doesn't replace the blog module, it provides some extra functionality for it.
Shai
On Mon, Jul 21, 2008 at 12:40 PM, Shai Gluskin shai@content2zero.com wrote:
Hi Steve,
Looks like this module does what you want:
http://drupal.org/project/blogger
However, it is for D5. Check the issue queue and see what the time line for D6 is.
There might be a solution using views. You shouldn't need profile module at all for this, if I understand your needs. A custom snippet might do the trick if the blogger module isn't going to be ready soon for D6. In general, I think your approach you are taking is more complicated than it needs to be.
As an aside... Drupal 6 is really awesome... but it's having a long ramp up time for many good reasons. In general, for someone seeking support, ease of use and is a "beginner" - I recommend D5 at this moment in time. Sounds like you may be pretty far in and it isn't worth starting over.
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
I like Bill's approach.
If you haven't wrapped your brain around Views arguments... here is a great page in the drupal manuel to help:
This also serves as an example for my point about D6 -- that manual page is for D5 and Views 1. I'm not familiar with the new Views. Arguments are certainly there, and hopefully they are easier to use. The basic idea of arguments is the same. But there isn't a new drupal manual page (yet) for instructions in using arguments for Views 2.
good luck,
Shai
On Mon, Jul 21, 2008 at 12:41 PM, Shai Gluskin shai@content2zero.com wrote:
Steve, one more thing...
To be clear, the blogger module doesn't replace the blog module, it provides some extra functionality for it.
Shai
On Mon, Jul 21, 2008 at 12:40 PM, Shai Gluskin shai@content2zero.com wrote:
Hi Steve,
Looks like this module does what you want:
http://drupal.org/project/blogger
However, it is for D5. Check the issue queue and see what the time line for D6 is.
There might be a solution using views. You shouldn't need profile module at all for this, if I understand your needs. A custom snippet might do the trick if the blogger module isn't going to be ready soon for D6. In general, I think your approach you are taking is more complicated than it needs to be.
As an aside... Drupal 6 is really awesome... but it's having a long ramp up time for many good reasons. In general, for someone seeking support, ease of use and is a "beginner" - I recommend D5 at this moment in time. Sounds like you may be pretty far in and it isn't worth starting over.
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
Shai Gluskin wrote:
<snip good stuff> As an aside... Drupal 6 is really awesome... but it's having a long ramp up time for many good reasons. In general, for someone seeking support, ease of use and is a "beginner" - I recommend D5 at this moment in time. Sounds like you may be pretty far in and it isn't worth starting over.
Three or four weeks ago I would have agreed with this. However, having spent some quality time recently with Views2, CCK, Date, Calendar, and OG, I'd say that the time of D6 has arrived. These modules have been working incredibly well in the testing we have been doing.
Views2 is phenomenal -- it was pretty amazing in the D5 version, but the D6 version is an amazing leap forward -- and, IMO, easier for a newcomer to use, especially with the Advanced Help module installed.
My .02
Cheers,
Bill
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Bill,
That sure sounds like good news! I am sort of embarked in the same thing...
Did you test upgrading Views 1 views to Views 2?
Victor
On Mon, Jul 21, 2008 at 1:45 PM, Bill Fitzgerald bill@funnymonkey.com wrote:
Shai Gluskin wrote:
<snip good stuff> As an aside... Drupal 6 is really awesome... but it's having a long ramp
up
time for many good reasons. In general, for someone seeking support, ease
of
use and is a "beginner" - I recommend D5 at this moment in time. Sounds
like
you may be pretty far in and it isn't worth starting over.
Three or four weeks ago I would have agreed with this. However, having spent some quality time recently with Views2, CCK, Date, Calendar, and OG, I'd say that the time of D6 has arrived. These modules have been working incredibly well in the testing we have been doing.
Views2 is phenomenal -- it was pretty amazing in the D5 version, but the D6 version is an amazing leap forward -- and, IMO, easier for a newcomer to use, especially with the Advanced Help module installed.
My .02
Cheers,
Bill
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160
-- [ Drupal support list | http://lists.drupal.org/ ]
Hello, Victor,
I have not tested the upgrade path, in large part because for our use cases upgrading from D5 to D6 will involve upgrading cck node types, and fields -- and the actual views are predicated on those fields -- so without the fields upgrading cleanly, the views upgrade is a less pressing concern.
I suspect that when we start upgrading from D5 to D6, we'll use update.php for CCK, but not for views, as I'd rather rebuild the views cleanly in D6. Will it take longer? Maybe, but it'll also run more smoothly, and we'll have the peace of mind of knowing that the views are clean.
I'd love to hear from anyone who has embarked on the scripted upgrade from D5 to D6.
Cheers,
Bill
Victor Kane wrote:
Hi Bill,
That sure sounds like good news! I am sort of embarked in the same thing...
Did you test upgrading Views 1 views to Views 2?
Victor
On Mon, Jul 21, 2008 at 1:45 PM, Bill Fitzgerald bill@funnymonkey.com wrote:
Shai Gluskin wrote:
<snip good stuff> As an aside... Drupal 6 is really awesome... but it's having a long ramp
up
time for many good reasons. In general, for someone seeking support, ease
of
use and is a "beginner" - I recommend D5 at this moment in time. Sounds
like
you may be pretty far in and it isn't worth starting over.
Three or four weeks ago I would have agreed with this. However, having spent some quality time recently with Views2, CCK, Date, Calendar, and OG, I'd say that the time of D6 has arrived. These modules have been working incredibly well in the testing we have been doing.
Views2 is phenomenal -- it was pretty amazing in the D5 version, but the D6 version is an amazing leap forward -- and, IMO, easier for a newcomer to use, especially with the Advanced Help module installed.
My .02
Cheers,
Bill
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160
-- [ Drupal support list | http://lists.drupal.org/ ]
I'm gonna be checking that out then over the next few days, if anyone else has info, will be interesting...
Victor
On Mon, Jul 21, 2008 at 2:07 PM, Bill Fitzgerald bill@funnymonkey.com wrote:
Hello, Victor,
I have not tested the upgrade path, in large part because for our use cases upgrading from D5 to D6 will involve upgrading cck node types, and fields -- and the actual views are predicated on those fields -- so without the fields upgrading cleanly, the views upgrade is a less pressing concern.
I suspect that when we start upgrading from D5 to D6, we'll use update.php for CCK, but not for views, as I'd rather rebuild the views cleanly in D6. Will it take longer? Maybe, but it'll also run more smoothly, and we'll have the peace of mind of knowing that the views are clean.
I'd love to hear from anyone who has embarked on the scripted upgrade from D5 to D6.
Cheers,
Bill
Victor Kane wrote:
Hi Bill,
That sure sounds like good news! I am sort of embarked in the same
thing...
Did you test upgrading Views 1 views to Views 2?
Victor
On Mon, Jul 21, 2008 at 1:45 PM, Bill Fitzgerald bill@funnymonkey.com wrote:
Shai Gluskin wrote:
<snip good stuff> As an aside... Drupal 6 is really awesome... but it's having a long
ramp
up
time for many good reasons. In general, for someone seeking support,
ease
of
use and is a "beginner" - I recommend D5 at this moment in time. Sounds
like
you may be pretty far in and it isn't worth starting over.
Three or four weeks ago I would have agreed with this. However, having spent some quality time recently with Views2, CCK, Date, Calendar, and OG, I'd say that the time of D6 has arrived. These modules have been working incredibly well in the testing we have been doing.
Views2 is phenomenal -- it was pretty amazing in the D5 version, but the D6 version is an amazing leap forward -- and, IMO, easier for a newcomer to use, especially with the Advanced Help module installed.
My .02
Cheers,
Bill
Shai
On Mon, Jul 21, 2008 at 12:03 PM, Steve Hays hays@ohio.edu wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160
-- [ Drupal support list | http://lists.drupal.org/ ]
--
Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160
-- [ Drupal support list | http://lists.drupal.org/ ]
Hello, Steve,
First, I'd like to echo what Shai said -- ask away, as we have all been there.
Second, re your specific situation, would it work to filter your blog based on username?
If so, create a Views argument that filters based on username -- and, you can specify the title of the page with the argument setting -- and, you could set a header for the entire view.
Ping back if this is insufficient detail --
Cheers,
Bill
Steve Hays wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
Bill,
I've installed Advanced Help, studied the documentation for Arg in Views, and experimented with both Arg and Attachment. I still haven't been able to make any progress.
I think that what you suggest may misconceive what I'm trying to do. It looks like your procedure would produce a list of entries in "Joe's Blog" and another page listing the entries in "Sue's Blog."
What I want is one page that lists all blogs on the site: Joe's Blog Sue's Blog, etc.
I have produced that in Views. What I can't seem to manage is a way to include links to those titles that would take me to the top level of each--the equivalent of <a href = "/blog/joe">Joe's blog</a> <a href = "/blog/sue">Sue's blog</a>
I have available the variable $account_blog_url (from Profile) to supply the url, and as a workaround I have managed to replace the normal Drupal link from user-picture to "user/$uid" with a link to "blog/$uid" in template_preprocess_user_picture. That is a clunky sort of workaround, though--requiring that I instruct the user, "Click on the picture to go to the blog." There is no template_preprocess_user_blogname, which is a customized field I introduced into the Profile. If there were, a simple Drupal linking at the preprocess level would seem to be the thing to do. A programmer would probably know how to do such a thing, but I don't. And I simply can't conceive of how to do it in Views.
So, I guess I need more guidance if you have time and energy to provide it.
Thanks in advance,
Steve
On Jul 21, 2008, at 12:40 PM, Bill Fitzgerald wrote:
Hello, Steve,
First, I'd like to echo what Shai said -- ask away, as we have all been there.
Second, re your specific situation, would it work to filter your blog based on username?
If so, create a Views argument that filters based on username -- and, you can specify the title of the page with the argument setting -- and, you could set a header for the entire view.
Ping back if this is insufficient detail --
Cheers,
Bill
Steve Hays wrote:
Shai,
Many thanks both for your help and your kindness.
Since you urge me not to knock my head against the wall too long, here's a problem I have probably spent 10 hours on and not produced a reasonable solution to--just a hacked work-around.
I want my students to be able to develop individual blogs. I have developed (via Views in Drupal 6.3) a page that lists all Member Blogs. I have added a blog_name field to the Profiles page, and obviously I would like that name to be linked to the individual blog. The blog's default url is (of course) blogs/$uid. I have constructed a blog_url field in Profile so I can pull it along with the blog_name in Views.
But that makes for an ugly page display: My_Blog http:// etc.
What I would like, of course is to use the $account_blog_url variable in an a href statement so the url address is invisible to the user, but I don't know how to get Views or Profiles to produce such a link.
Any ideas?
Thanks again,
Steve
On Jul 21, 2008, at 11:01 AM, Shai Gluskin wrote:
Steve,
Do NOT feel stupid. We've all been there and continue to be there in many ways.
It's way more efficient in use of the world's resources (which includes your brain power) for you to ask and get quick help -- it took me three minutes to write that email, than for you to bang your head, potentially for hours. People have helped me so many times and I'm sure you will help others -- or already have. No knowledge in Drupal is "comprehensive" -- you don't have to be a "ninja" or anything special to answer a question that you know the answer to.
Regarding your situation. Congratulations on figuring it out.
Indeed, no need to use the Drupal l() function.
Regarding the href-- there are different opinions on this, and sometimes it depends on whether you have a multi-site or not. But my strong preference for any single installation site is for all href's to pages inside the site to be "root relative." All references should start with a forward slash after the first quotes. In this case I would no need to provide any specific page path since it is the default home page. Here is how I would do the href:
<a href="/">
best,
Shai
--
Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160
-- [ Drupal support list | http://lists.drupal.org/ ]
Didn't know they had IE7 for Linux. Thanks for checking.
Sure: http://www.tatanka.com.br/ies4linux/page/Beta
Now that I'm a little more awake, I should've mentioned that getting to the login page is no problem for FF or IE. The problem is that after entering a valid userid and password, IE gets the Access Denied message.
Beyond my expertise at this point...
Fred
What version of Drupal is installed?
Follow the general instructions at http://drupal.org/node/15365 and then the instructions on the specific Ubuntu page (http://drupal.org/node/134439).
Victor Kane http://awebfactory.com.ar
On Mon, Jul 21, 2008 at 2:15 AM, Peter Dow (DSS) pdow@dowsoftware.com wrote:
Please bear in mind that I'm a newbie with Linux.
I'm running Xubuntu, Apache2.2.8 (Ubuntu), PHP 5.2.4, MySQL 5.
When using FireFox 3.0, the site works as expected.
When using Internet Explorer 7, login fails, redisplaying the login page with the message: Access denied You are not authorized to access this page.
When I use the Drupal administration to look at the Drupal logs, I see the following for the Firefox login:
Details Type user Date Sunday, July 20, 2008 - 19:35 User peterhttp://71.254.147.252:5080/drupal5/?q=user/2 Location http://www.cardenasdow.us/drupal5/?destination=node Referrer http://71.254.147.252:5080/drupal5/ Message Session opened for *peter*. Severity notice Hostname 71.254.147.252
And for the Internet Explorer login:
Details Type user Date Sunday, July 20, 2008 - 19:36 User peterhttp://71.254.147.252:5080/drupal5/?q=user/2 Location http://www.cardenasdow.us/drupal5/?destination=node Referrer http://71.254.147.252:5080/drupal5/?q=node Message Session opened for * peter*. Severity notice Hostname 71.254.147.252 The only difference (other than the time) is the "Referrer" link. I read up on Clean URLs, but cannot seem to get them working correctly. I have the Apache Rewrite module loaded, and in the .htaccess file I have:
RewriteEngine on Options All RewriteCond %{HTTP_HOST} ^cardenasdow.us$ [NC] RewriteRule ^(.*)$ http://www.cardenasdow.us/$1 [L,R=301] RewriteBase /drupal5 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I used the Drupal module administration to load the Path module.
A lot of the posts I've read about this are on the confusing side because it is unclear where the file they're telling me to modify actually is. It's also not apparent where things get installed. Here's what I think I know of my directory structure:
Apache is in /etc/apache2. It has the following subdirectories:
conf.d mods-available mods-enabled sites-available sites-enabled
Drupal is in /etc/drupal/5 with subdirectories
profiles default
sites default
My website documents are in /var/www.
Drupal documents are in /var/www/drupal5.
I've tried clearing cache tables (cache, cache_filters, cache_menu, cache_page) in the drupal database to no avail.
How do I get this to work for IE7?
*Peter Dow* * Dow Software Services, Inc. 909 793-9050 pdow@dowsoftware.com *
-- [ Drupal support list | http://lists.drupal.org/ ]
Drupal 5.
Good tip about a2enmod -- I'd copied it from mods-available to mods-enabled.
Re your 2nd link (134439), I'm pretty much "Method 2: virtual hosts" and "Option A", although I only have the one site. I've done everything it said and still no joy -- I still get the "Not Found The requested URL /drupal5/admin/settings/clean-urls was not found on this server."
I don't know if it's related, but I use no-ip.com for DNS. It's set up to do a "port 80 redirect", meaning a URL like "www.cardenasdow.us" actually goes to "www.cardenasdow.us:5080" (in my case). My router forwards the 5080 to 80 on the Drupal server.
Victor Kane wrote:
What version of Drupal is installed?
Follow the general instructions at http://drupal.org/node/15365 and then the instructions on the specific Ubuntu page (http://drupal.org/node/134439).
Victor Kane http://awebfactory.com.ar