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

Syndicate path alias as a full url?

If I use a full url (http://whatever.com) in the path alias of a story, the listing shows up on the front page (and appropriate categories) using that exact link -- so clicking on the title sends you directly to that url.

However, links created for syndication are delivered using the base drupal url followed by the the path alias (instead of just the url) -- so clicking the title brings you to a typical drupal generated page for that content type.

Help Understanding Clean URLs

I'm new to drupal and I'm trying to get clean URLs working.

Mod_rewrite is enabled on my host's server, according to mt host's forums.

I can go to www.subdomain.example.com/admin/settings (my drupal site is installed in a subdomain directory)
or www.subdomain.example.com/admin/blocks or whatever and access the corresponding pages.

Navigation block is dissapeared

Today when I went to my site (www.seishinkan.be) my navigation menu had dissapeared... I can't correct 'cause I can't login in my administrationpanel...

what do I have to do?

I have already tried to go to www.seishinkan.be/?q=admin/block but without succes...

Thanx for the answers!!

Greets,
jan

HDI: Add conditional php to fleximax layouts?

I was asked this by email earlier and instead of posting under the original flexiMAX patch for flexinode.module, I thought I would post a new thread.

The question was:

Do you have any suggestions as to how I would go about parsing PHP in the fleximax layout field? I'd like to use a conditional to vary the page layout without using a separate node type.

Answer: At the moment you can't directly. Php code is ignored because the default is just a HTML filter on FlexiMAX layouts. But what you can do is the following if you're using a phptemplate based theme:

  1. Create a node-flexinode-n.tpl.php file
  2. where n is the content type ID. If you go to ADMINISTER -> CONTENT -> CONTENT_TYPES and hover your mouse over the EDIT CONTENT TYPE link you should see a link like this: /admin/node/types/edit_type/2 The number 2 is the content type ID.

  3. Upload the node-flexinode-n.tpl.php file into your active theme.
  4. That will override your fleximax layout automatically.

Obviously you need to insert the correct non-fleximax field IDs..e.g.

  • example #1: <?php print $node->flexinode_8; ?> will output your fleximax {8} field.
  • example #2: <img src="/ <?php print $node->flexinode_6->filepath ?> "> will output an image field.

Banner module not showing text ads

Using 4.6.5, banner module from CVS (1/2/2006 download) on a Linux shared server.

This one seems a tricky install. Not as smooth as a lot of modules I've put in or used. I thank the author for all his obvious hard work on this.

I finally managed to get graphic ads working after realizing that I had to upload the graphic portion separate from the URL. It showed correctly everywhere but the block I had configured for it. Once I split it into two parts (URL and graphic) this shows well in the block and seems to work.

Help please: render view from view module into node

Has anyone managed to use the function at the end of the views module to embed a view into a node? I looked at the handbook here http://drupal.org/node/42592, and there are some nice snippets, but the code, I believe, works only within the views module, not in the body of a node.

Pages

Subscribe with RSS Subscribe to RSS - Post installation