Private files and directory confusion

I've set the private file directory to sites/default/files/private and Drupal successfully automatically created the directory and set the permissions on it. I can successfully upload files into that directory and I see in my shell that the file is indeed located there.

-bash-3.2$ cat .htaccess
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Deny from all
Options None
Options +FollowSymLinks

major problem: views missing

We have a major problem at www.pamlicotoday.com in not being able to access views. This is the message we get: Fatal error: Class 'ViewsUiBaseViewsWizard' not found in /home1/pamlicot/public_html/sites/all/modules/views/views_ui.module on line 648

Need help ASAP. Views doesn't show up anywhere in the admin panel and we are at a loss ???? Again, site is pamlicotoday.com

How to actually view own unpublished content in Drupal 7?

According to the documentation at http://drupal.org/node/1106606 "By enabling 'View own unpublished content', you grant users access to their own unpublished content." Great, but then how can a user with that permission actually find her own unpublished content?

Overriding theme output of multiple value field

I have created a module that provides a custom field that outputs a specially formatted link. I am using this to create multi-value field to output a list of links. The default behaviour of Drupal is to output multiple value fields wrapped in DIVs i.e.

<div class="field-items">
	<div class="field-item even">{field item 1}</div>
	<div class="field-item odd">{field item 2}</div>
	.
	.
	etc
</div>

However I want to output this as an unordered list i.e.

Dropdowns menus in drupal7

Hi,

I am using Drupal 7 and Bartik 7.0 theme. I am unable to integrate the dropdown in the main menu. I have created child menu items and those items are enabled as well. Installed "Nice Menus" and "DHTML Menu", and the problem still the same.

Please guide me how to fix this problem.

Adding New Region

I started to modify an existing theme and wanted to add a region for an additional horizontal menu. I created a new file,
block.navigation2.tpl.php
and put it in theme folder. I then went into the info file and added the line directly below the existing navigation entry :

engine = phptemplate
regions[content] = Content
regions[navigation] = Menu
regions[secondnavigation] = Menu 2 <--------------- new entry
regions[banner1] = Banner 1
regions[banner2] = Banner 2
regions[banner3] = Banner 3
regions[banner4] = Banner 4
regions[banner5] = Banner 5
regions[banner6] = Banner 6
regions[user1] = User 1
regions[user2] = User 2
regions[user3] = User 3
regions[user4] = User 4
regions[extra1] = Extra 1
regions[extra2] = Extra 2
regions[copyright] = Copyright
regions[top1] = Top 1
regions[top2] = Top 2
regions[top3] = Top 3
regions[bottom1] = Bottom 1
regions[bottom2] = Bottom 2
regions[bottom3] = Bottom 3
regions[footer_message] = Footer

stylesheets[all][] = style.css
scripts[] = script.js

I then added the code to the page.tpl.php.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x