Login link appearing to logged in users D7

On a D7 site, I created a login link with the path user/login. For some reason, the link remains visible to users that are already logged in. I thought this link is supposed to automatically disappear when a user is logged in. 

I also have a logout link that only appears to users that are logged in. 

Any ideas to get this working correctly?

[D7-Core : Comments ] Is it possible to print both the original post time and the edit time of a comment ?

Hi,

If a user edits a comment he published, i would like to add a little 'edited' or 'updated' label next to the comment saying this comment has been edited and print the date/time of the last edit while keeping the original time the comment was created on.
(I'm saying the last edit, in the case the user edited his comments several times.)

I duplicated the comment tpl file on my subtheme and used this to print the time/date

Drupal website creates new URL parameters each time I crawl the website

We have a large eCommerce site with lots of pages.  Each time we crawl the website, we are given URL's that have different URL parameters than we did on the previous crawl.  

Example, the first crawl may look like this:

website.com/whatever?cid=1234

second crawl:

website.com/whatever?cid=98731

So on and so forth.  There doesn't seem to be any rhyme or reason to how this occurs.  We believe this may be causing issues with our SEO of the website, when ideally we just want the URL to say:

website.com/whatever

password decryption in durpal 7

I want to decrypt all users password into plain text . So how can i do it for drupal 7 ?

Get ID of unpublished node for non-logged-in users

I've tried the following:

  • arg(1) returns 'denied'
  • $node is empty
  • $path_args = explode('/', current_path()); $path_args[1] is 'denied' as well

Thanks in advance!

EDIT: I was able to figure it out

$path = explode('/',$GLOBALS['_GET']['destination']);
print $path[1];

Municipal Council of Cascais closest to the citizen!

Cascais

The Municipal Council is the collegial executive body of the municipalities of Portugal, and its attributions, competencies and form of election are provided for in Law 169/99 of 18 September.

The Municipal Council of Cascais is made up of a president and ten councilors. The municipality is limited to the north by the municipality of Sintra and to the east by Oeiras and to the south and to the west it has coast in the Atlantic Ocean, in the famous Coast of Estoril.

Sectors: 
Government

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x