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.
i've created new custom theme, and after i install it on my site and log out from my site i cannot login again to my site, i've tried user url but the page not appear, all thats after i installed my new custom theme.
I've created a new content type called Portfolio, which has the following fields:
title
category
description
imageS
I want to create a page with all the first pictures of all my projects. After that, clicking on the right image all the fields related to that project have to be shown.
I've created a new view, called portfolio, and using the template file node--portfolio.tpl.php with the following code:
When I use token_replace to get the username, I store this in a var, then use that var as a parameter - it results in an empty view being printed. However, to test it, I have simply manually set the var with the desired string immediately before I use it as a parameter, this works perfectly. It returns a view with results.
When I print the output and type of the var before using it as a parameter it is correct, but it does not work.