Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
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...
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:
Create a node-flexinode-n.tpl.php file
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.
Upload the node-flexinode-n.tpl.php file into your active theme.
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.
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.
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.