Node field caption with images

Hi!

I'd like to display all node fields captions with specified images. For example: Field with price (caption Price) would be displayed with a $ image before the caption and phone field with phone image and so on. Is it possible? What/where should I add to get such effect? Any ideas?

Thanks for help and greets.

What is a "public://" path? Can someone give me an example?

Basically the subject says it all. Imagecache profiles module says to set your default image path to "public://" and I have no idea what that means. Can someone give me an example? If your path is sites/default/files/pictures/file.jpg, what is the public:// path?

Automatically redirect index to use language URL

Hello~

My first drupal.org post! My client had a drupal site set up and configured to their specific needs and now I am one of a handful of developers supporting it.

It is all set up so that any URL includes "/en/"

For example, www.site.com/en/about-us

The homepage was set up to be www.site.com/en.. so if I go to Site Configuration > Site Information, whatever I want to set as the front page is configured to always follow www.site.com/en. Even when we create and add content, in the URL path settings, it is set up so that whatever we put in would come after www.site.com/en/. So for example, for the URL path settings for a new node about our location would be entered as "about-us/location" and the full absolute url of the node would automatically be rendered as www.site.com/en/about-us/location.

I hope that helped give a little background.

So, my issue is that if a user manually types in www.site.com into their address bar and hits enter, we want the browser to automatically add the /en after the domain. Currently, it does not, it just stays as www.site.com. Once a user clicks on anything, that "/en/" is in every URL, but there is a possibility someone could manually get to our site without the "/en/" in the url and that could screw up our consolidated analytics.

Customize User Account Creation Process

I want to collect more data about my users. I also do not want to have the signature settings fields and Contact Settings and Locale Settings to display. How do I go about disabling those and adding custom fields to collect data?

I'm new to Druapal (about 3 months) so a point in the right direction would be much appreciated. Thank you.

Creating custom header and footer block to call from multiple .tpl files

I'm not sure how to do this, but I have

page.tpl.php
and
page--front.tpl.php

I don't want to repeat the code for the header or footer for both of those, so this is what I tried:
I created a
block--header.tpl.php
where I put my header code, then inside
page--front.tpl.php
I have this to test:
print render($page['header']);

However it did not work, I cleared the cache on the server and have regions[header] = Header
in my theme.info file, so I'm not sure how to accomplish this.

Change destination of "Promote to Front Page"

I want to have my site be protected by login, so that my front page is pretty much just a login page. Upon loggin in I want to expose my "front page" content. So for example, what I "promote to front page" I want that content not to appear on my front login page, but I do want it to appear on the page immediately displayed upon successful login. Not sure how to approach this.

Thanks in advance for any help!
Joe

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x