CSS, JS and images files

Front-end location

Stylesheets, images and JavaScript files related to your theme should be placed in:

/httpdocs/design/yourtheme/css
/httpdocs/design/yourtheme/images
/httpdocs/design/yourtheme/js

Relative paths

When linking to front-end assets from layout and view scripts, use paths relative from the root of the site. e.g.:

<img src="/design/yourtheme/images/logo.png">

Favicon.ico

If your theme has a favicon.ico, save it in /httpdocs/design/yourtheme/ and link to it from the layout.phtml file like this:

<link type="image/x-icon" href="/design/yourtheme/favicon.ico" rel="shortcut icon">
Related nodes
$nodes = $this->node->getCollection()->getRelated();