This forum is for assistance with theme development.

How to print URL from profile in D6?

Hi,
I need to create custom profile block using URL from profiles. I have

<?php if (isset($profile['profile_url'])): ?>
  <?php print $profile['profile_url']->value .'<br />'; ?>
<?php endif; ?>

But I don't know how to change displayed text of this link. Is there any solution?

why is $title indented and $content not?

I have been building my sites theme based on garland I am having this strange problem with the titles of each page but not the main page title. That is the front page of my site works fine.

On each internal page the page title is indented so say I put in the code print $title; the title is indented 20px to the right from the body copy.

If I change this to say print $content; there is no indentation?

I have been through every line of my css code and can't find the problem.

MySQL Query in Block with multiple taxonomy terms

I'm trying to establish a block for my page that draws node ids for nodes that are fall into two terms. They must be a member of each term, but with the way the database is set up, I'm having a problem getting it to work. Here is what I have currently that isn't working.

/comment/$nid and /comment/reply/$nid to /$nidpathalias/comment and /$nidpathalias/comment/reply

I just can´t make my theme work because I completely different site layouts (for various reasons) for different subsections of my site. The theme depends heavily on the path where a node is found. The path is nicely generated by pathauto. So far so good. But the different subsections all have their own very customized blogs and other comment-able nodes the problem is that for some totally unclear reason the programmer of the comments.module made the comments no go into node/$nid/comment or node/$nid/comment/reply where they would maybe be catched by the pathalias of the node but into a highly uncustomizable /comment/$nid /comments/reply/$nid - that is perpathcustomizing.

Is there any way to make either pathauto create normal pathaliases for all comments - so a user who hits "reply" or a user who has put in the wrong email adress does not get to a generic /comment theme but to the more accurate /nodepathalias/ theme???

I already removed the reply link for anonymous users so its only ugly and unconsistent for logged in users (removed functionality but oh well). But I can not figure out how to make the comment module return me to the article page marking the error (for wrong email adress f.e.) instead of the stupid /comment/reply/$nid page nor can I make all comments have a nice path.

Themes not loading (Taxonomy Theme related?)

I'm working on a site that uses different themes for different sections. All 4 themes were working for months, but now all of them but the one set as default have stopped loading. Instead, Drupal loads the default theme for all the pages.

I have a mirror of that site which is still working, and I have copied all he files from the mirror to the dev site, but nothing has changed, it still doesn't work.

Bold and Strong Tags being stripped out for FireFox

This one's really weird. Noticed that tags that are definitely allowed in the html filter are being stripped out of the source for FireFox only. Strong and Bold aren't working in user posts. Italics and em tags are fine. ULs are fine. This doesn't happen in IE6 nor in Safari.

When I view source, the tags just aren't there. Drupal ate them.

Tried this on different kinds of content types.

Does not happen with other themes. Text shows up bold with them on FireFox.

Pages

Subscribe with RSS Subscribe to RSS - Theme development