Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
(...searched for 'drupal selective display of blocks' with no luck...)
How do themes/modules/block admin selectively display it's block based on the user login status.
E.g. In a basic configuration you get a user login/navigation block depending on the logged in status.
User not logged in - only 'User login' block is displayed
User logged in - only 'Navigation' block is displayed
In adminster/blocks both 'user login' and 'navigation' are enabled in left sidebar.
How can I make it right aligned and more importantly move 'read more' to the rightmost position so it is obvious to the end user where to click to read the full node.
Hello,
I am working on 2 sections ("news" and "projects") that have content that should be published for a limited time based on what the user has chosen as start and end publishing date) and then go into an archive page.
What is the best way to do this? By using views? Flexinodes with customised queries? Or something else?
Warning: Got error 127 from storage engine query: SELECT data, created, headers, expire FROM cache WHERE cid = 'variables' in /home/blogfeas/public_html/includes/database.mysql.inc on line 120
Warning: Got error 127 from storage engine query: UPDATE cache SET data = 'a:342:{s:13:\"theme_default\";s:10:\"pushbutton\";s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:19:\"file_directory_temp\";s:4:\"/tmp\";s:18:\"default_nodes_main\";s:2:\"15\";s:13:\"teaser_length\";s:3:\"200\";s:12:\"node_preview\";s:1:\"0\";s:4:\"wipe\";s:13:\"Re-index site\";s:17:\"search_cron_limit\";s:3:\"100\";s:17:\"minimum_word_size\";s:1:\"3\";s:11:\"overlap_cjk\";i:1;s:19:\"node_rank_relevance\";s:1:\"6\";s:16:\"node_rank_recent\";s:1:\"4\";s:18:\"node_rank_comments\";s:1:\"5\";s:36:\"googleanalytics_track_anonymous user\";i:1;s:40:\"googleanalytics_track_authenticated user\";i:1;s:23:\"googleanalytics_account\";s:11:\"UA-413469-6\";s:26 in /home/blogfeas/public_html/includes/database.mysql.inc on line 120
Warning: Cannot modify header information - headers already sent by (output started at /home/blogfeas/public_html/includes/database.mysql.inc:120) in /home/blogfeas/public_html/includes/bootstrap.inc on line 550
Warning: Cannot modify header information - headers already sent by (output started at /home/blogfeas/public_html/includes/database.mysql.inc:120) in /home/blogfeas/public_html/includes/bootstrap.inc on line 551
I am sure it is possible to do this, but i dont know where to start:
I would like the administrator of the site to share files to a user, so when the person logs in to his account, he can view the file. Nobody else can see it, but the current member.
Same goes to other members. Each user will have a page where to go and check for files sent by the admin.
Any advice would be much appreciated!