field label can not be hidden in drupal - drupal-7

I use the bartik theme in drupal7 as the default theme.And I completely override the page.tpl.php file.
design a two columns layout : the lefsidebar and the contentArea. Everything is ok except one problem.
the node's field label can not be set in the Manage display panel. And the node's body label was disappeared,and other's labels do exist but can not ,say, be set hidden ,above,inline.
I google the for solutions but bad luck no result.
Need your Help. Thanks.

I do not get the point in modifying the php file to do what you want. I think you just want to set a two-column layout, but you do not need to edit your code to do so. Have you tried the Display Suite module?

Related

Finding empty label in Windows form

I am new to Windows Form application and trying to build a small application.
I had dragged and dropped a label on the main form.
Then I deleted its text property to empty string basically hiding the label.
Now I would like to move this label to some other location on the form but unable to do so because I cannot find it.
I checked the designer file and its there.
But I cannot find it in the form so that I can grab it and move to a different location.
Please help.
Thanks
Use Document Outline. Look at the following images.
That happens to me several times, and a few weeks ago I found a way to get the empty label like this:
On the tab "Properties" just click on the arrow to show all controls and click on the label you want, this will automatically select the label on your form..

Adding sliders in specific pages

I am new to drupal, I created a theme using mother ship and added slider to the front page using the code. my issue is i need to add the same slider in another page also. Can some one help me to fix this issue?
Thanks
go to admin/structure/block, configure link next to the block with the slider, then you can set an option to either 1) display on every page except... or 2) display only on these pages. Enter the path (node/233) or path alias, one per line, in the textarea below the option radios.
Alternatively, you can use the Context module (http://drupal.org/project/context)

Drupal 7 add block of text to front page

I'm new to Drupal but I've found my way around it pretty easily. There's just one thing I haven't found out how to do, and it's so simple it has to be possible.
I created a template for the site's homepage as it will have a different layout (did it creating page--front.tpl-php). This page will display only the main menu, an image and a text of the company's mission statement. I've done everything but the mission text and I have no idea how to do just that: simply put a block of text there.
I know I can hard-code it on the HTML but I want my client to be able to change it eventually if he wants to, in a graphic way. I tried creating a content type but I can't remove the title field and some submitted info; I thought of using Views but it seems too complicated for what I need, isn't it?
The image I used is hard-coded on he HTML as I know it won't change, but maybe I should have created a view with both the image and the text? But then how would I get rid of the title field and submission info?
Can someone please suggest the best way, if possible, to do this? Perhaps I'm over-complicating.
Thank you.
The easiest way would be to create a region in your theme and then put a block into that region only on the home page.
In mytheme.info:
...
regions[front] = Front Page Text
...
In page--front.tpl.php:
echo render($page['front']);
Then in your blocks administration page create a block and assign it to the "Front Page Text" region with the content you want to output. You could also limit the block's visibility to <front> if you want to be sure, although if you don't output that region in any other template file it shouldn't make a difference.

Customize boring layout

Hi may i know how to customize the Cakephp interface layout? I would like my cake app layout to at least look something like this http://chocotemplates.com/preview/gui/spring-time/#
1) how to remove the left action button?
2) how to add the tab button at the header page?
3) Add margin * auto to make the site have left and right margin and make the body centered.
I have tried to change and i could not find the necessary file which allow me to edit these simple things above. Please advice.
My boring app print screen
CakePhp is a framework, not a CMS =)
you have probably used the bake function to create the Views, well first you'll need to redefine the layout so you could add the css/js files you'll need (in "/views/layouts").. and also to define the id's and class names of your elements.
so basically all you need to do is to modify your html/css manually in the views (.ctp files inside the /views folder).
But maybe you want to redefine the way that cake create the views when baking. Maybe there are some good samaritans on the internet that share their templates with the world.
Hope this helps =)
a) change the layout
/views/layouts/default.ctp
b) use custom templates for the views:
http://www.dereuromark.de/tag/custom-template/
you can change just about anything.

change the ajax progressbar of dotnetnukes

Is there a way to change the default ajax progressbar that is there in dotnetnukes.
Its not for changing the image but i would like to use an altogether different progressbar. The current one displays the progressbar at the bottom of the section. The requirement to replace it with one covering the entire section or part of it. The section has a search criteria on top and the results below. The progressbar needs to appear above the criteria so that the user will not change it while the search is going on.
That's the animated image you can replace with your own if you have one.
Agree with #DangIT, you can find the gif with name progressbar.gif in images folder in the root of dnn installation. just delete it, and place another image with the same name will do the trick for you

Resources