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.
What all do I need to have if I wanted to make a users only page?
I think I need to do some includes.. or.. something, but as to what I have no clue. All I've figured out is
if ($user->uid) {
?
OMG THX 4 RGSTRN!!1one
?php
} else {
?
html
RGSTR PLZKTHXU
/html
?php
(took out < and >)
but..
the problem is I don't know what I need to put before it so that it includes some of the drupal code to actually tell if it is a logged in user or not. any suggestions?
Im having trouble figuring out how to make the blocks go where I want them! Lets say this:
I have a page called "Games".
In that page I want 3 different blocks to show up in the CENTER (as the content of that page) each of which will contain screenshots and descriptions for each of the 3 games... How do I do this? theres only a "left" and a "right" option in placing blocks!?
I just startet using Drupal 4.2.0. Being uable to find a german translation i want to translate at least a minimum of the text used in the frontend.
But i afraid I encountered a strange problem in the very beginning of this process: in my localestable i found many entries having a location-column looking like "/blog/?q=node&PHPSESSID=6cfb31ef00910...". So my nice handcrafted translations won't be found by any user not having the PHPSESSIONID stored in the localestable (virtually and of course hopefully nearly all users. :-) ).
I have confirmed stories are set to read / write and user permissions (tried using user 1 and a user belonging to an admin group with administer permissions), but clicking on Administer at the bottom of a story or in Content Management clicking Edit Node, results in nothing, the browsers acts as it is opening a new page, but you do not actually go anywhere but where you allready were.