Drupal is up and running but how do I ...?

Guests and Robots

i dont want my site indexed until i am finished with it. there seems to be a large number of guests on my site. i added a robots.txt file and the number of guests immediately dropped way down. in the past week the number of guests has been getting higher than i think is realistic and i think it might be some new or other bots. i then 'beefed up' my robots.txt file and added:

Options +FollowSymlinks
RewriteEngine On
RewriteBase /

to my .htaccess

i still i have unrealistically high numbers of guests. so:

SEO Question - Collapsed Menu Contents Invisible to Spiders?

Hi - I installed Lynx to take a look at our site today to get a sense of how a spider might crawl it.

Our menu is currently not expanded, mainly because it has about 130 items in it, so rolled it up to a few categories. Looking at the source, it shows only the 5 links.

However, I would love to have all it show up as available links for spiders. I can see this done on other sites (like b5media) - wondering if anyone has any experience on how this is done.

-G

Can you pass a filter into a view by the URL?

Hiya,
Been working on this one for a bit and just can't quite get it. Here's the scenario. I have a content type "Portfolio Pieces" - I want to create a view that displays all images from a specific gallery in the sidebar of each node.
Now, I could create a separate block view for each piece and configure it to only appear on that node's page - but that would be 20+ views and not very intuitive to add new portfolio pieces in the future.
I could also do this in a custom block where I did a db_query based on the URL of the page. Better, but, lets just say I want to do this with a view for arguments sake.

So I've set up a block view configured to appear on 'portfolio/*' and every "Portfolio Piece" is aliased to 'portfolio/node_title'. I've then went and created a gallery for every "Portfolio Piece" that has been named "node_title"

Now, in the docs this is the example it gives on argument handling code:

// Show full node view, rather than teaser, if an argument exists
if ($args[0]) {
$view->page_type = 'node';
}
return $args;

This indicates that I _can_ change the view itself through the argument handling code if I want.... so I tried this...

if ($args[0]==portfolio && $args[1]) {

$view->filter = array (
array (
'tablename' => 'term_data',
'field' => 'name',
'operator' => '=',
'options' => '$args[1]',

List title with a link to the first attachment in node

I've done a bit of searching. But so far I have not found how to do this.

I have created a new content type using flexinode (for arguments' sake, let's call this content type flexinode-3) that contains nothing more than a title and the by default (with the attachment module) include attachment option.

I would like to list, in a block, a certain number of nodes of this type (which I know how to do). However, I would like the link to go to the first attachment in the node (as opposed to the default node page)?

So this is what I have.

Authorship Access

I have created a page and assigned a user as the Author of the page. The user has "Edit Own Pages" permission but when I logon as that user and test the access to that page, it doesn't work.

If I assign the user "Super Admin" permission (basically everything) access works just fine.

I've gone over this issue several times. It works on a test site we have but not on our main site.

I'm assuming that something is wrong in the database but I have no idea as to where to go.

Has anyone else experienced this problem?

Suggestions welcome.

Thanks!

Public v. Private download method...

When do you choose one over the other?

What exactly does "public download" do? When would you decide to use it (other than to use the color picker tool in the Garland theme in D5)? I know that private is supposed to be better, security-wise, but if you're the only account with the permissions to upload and download files, does it really matter?

Just wondering.

Pages

Subscribe with RSS Subscribe to RSS - Post installation