This forum is for assistance with theme development.

Custom field Integration

I was a wordpress user, but I am starting to expirament with other things like Drupal. I have been working with it for a couple of days and still have yet to find a solution to my problem.

I have a website that I am setting up with product pictures. I would like to have the value of a custom field displayed within my template so I could do something like:

<img height="FIELD1VALUE" width="FIELD2VALUE" src="FIELD3VALUE" />

Is this possible with drupal?

tagadelic - show only "my" tags as cloud?

hi guys,

i use the following snipped to show user tags on profile page


<?php
drupal_set_html_head('<style type="text/css">@import url('.drupal_get_path('module','tagadelic').'/tagadelic.css);</style>');
$vocs = array(9); //user tags

$output = theme('tagadelic_weighted',tagadelic_get_weighted_tags($vocs));
print $output;
?>

is there a way to show only the tags of the current user as tagcloud?

greets

Lausch

How to create a block view to an existing default page?

The View module only allows you to create block based on a "View" page. In other words, both page and block must be View (CCK).

But what if you want to create a view block that links to existing page? For instance: mysite.com/user, mysite.com/blog, mysite.com/forum (achieved via default profile, blog, and forum modules). I like their layouts already, so I don't want to mess them up with CCK or View.

HOW TO: secondary menu(selected) -> highlight primary(parent) menu??

i can't speak english very well. because, i'm korean.

my solve is...

ex)
primary menu : menu1 menu2 menu3 menu4
secondary menu : menu3-1 menu3-2 menu3-3

selected 'menu3-3' -> highlight 'menu1'(parent menu).

sorry!

but, i will wait until help me.
please, help!!

Theming forum threads

Hi,

I've been slowly banging my head on this for the past few days.

I want to theme my forum, and have gotten a bit stuck on how a thread list is displayed (i.e. a forum node and its associated comments). Most of the documentation I have found has been on how to theme the list of forums, or the list of forum topics, but not a list of forum threads.

A forum is made up of three type of lists that could be themed, e.g.

-Forum A  <item in a forum list>
-Forum B  <item in a forum  list>
-Forum C  <item in a forum  list>
   -Topic A  <item in a topic  list>
   -Topic B  <item in a topic  list>
   -Topic C  <item in a topic  list>
       -Main Node   <item in a thread list> 
       -Comment 1 <item in a thread list>
       -Comment 2 <item in a thread list>

I've managed to theme the forum list and the topic list, but the thread list is leaving me a little worse for the wear.

I'm using FlatForum to theme each individual node or comment in a thread, but I want to be able to wrap the whole thread with a header and footer similar to what you see at http://www.terminus1525.ca/node/35825 Essentially at the top and bottom of each thread I want a "Add a new comment >>" link and a pager.

Now I've managed to do this at the top of the thread by creating a custom page-forum.tpl.php file where I do the following:

Password field in registration page

Hello all,

I have started from the registration page.
I have configured the registration page( administrator -> user management -> profile).

I have added the field that'll take a password from the user.
I don't know how to made it non-readable (in form of asterisk ******* )

Please help me.

I have installed Drupal5.x, PHP5.x, MySQL5.x, apache2.x, (WAMP)

Thanks in advance
Paresh Kendre.

Pages

Subscribe with RSS Subscribe to RSS - Theme development