This forum is for assistance with theme development.

Q: Where can I edit my breadcrumb?

I was able to tweak my includes/menu.inc file a little bit, but I can't find where I can remove the div tag around it and stuff like that. I also want to remove the "»" characters. Any help would be great.

Thanks

Q: Post 20 recent articles

I want to post like 20 recent articles on my article homepage. I understand that I can do this with the "Popular content" block but I am already using it on another page and would ultimately like to have complete control over this anyway. Does anybody know how I could select the 20 most recent articles from the database and display them as a list or something?

Thanks!

Wanna view my theme so far?

I'm curious what you think of my theme so far. http://osmap.org/pt

It's based off of this mambo theme: http://tema.mambo.gen.tr/index.php?mos_change_template=wds_biznes_a

I wanted the theme to be wider, so I changed that. I had a tough time adding my box shadow effect to the middle column, because I had to add two DIV tags before each block, node, box, etc. Some places I couldn't add the tags, like the "edit" portion of the profile page, even with a custom user_profile.tpl file. Maybe I was just doing something wrong. Anyways, in places I couldn't add those two DIV tags to create the shadow, I made them in the page.tpl.php, and print them only if the q= variable meets certain conditions. I still have more conditions to add, as my middle column shadow box isn't showing up correctly on some pages still, like admin. If anyone knows a more elegant way, feel free to tell me.

I also made a few different color schemes, like orange and green. I think you can see them if you register and go to edit profile. Same thing, just different colors, happier looking.

Do you think it's a good start? I'm keeping it plain for now in case someone else wants to use or is willing to optimize the css and such so it's drupal themes worthy. I will probably add a logo to my site to make it look less cold. Because of the name of the site, it will be a cartoon pigeon like the Animaniacs Goodfeathers, with a city backdrop, something like that...

simple css/float question (or drupal solution?) to hide sidebar when blocks hidden...

Hi All,

i am working on a site for a community group (unpaid) that will mostly be static content with a members only area for latests news (like a blog), so want no blocks visible on most pages/most of the time (i have seperate navigation). i am a little stuck with this!

I know i can turn off blocks on certain pages and will be doing this - what i want is to have the second column (side bar) in my two column layout not be visible at all when the blocks are hidden/turned off (i.e. on these essentially static pages).

Specifically i want the site to be one column except for say the admin, user/login and add content pages.

I could make the static pages outside of drupal to over come this and have a part drupal site, though i want the option of authenticated members to be able to edit this essentially static content within drupal rather than source code/html - so they can 'own' the site and not rely on me or another coder to add/modify content.

Drupal 4.7 may (i have only word of mouth knowledge of the regions property) overcome this, or i could put the blocks at the top/bottom of the main content, tho would prefer to have them selctively in a sidebar and then the main column fill out the page (i.e. expand to 100% page width) when the blocks are hidden.

I am certain the solution is a simple css thing, though cannot think how to do it... or is there something in drupal?

How Do I Skip An Empty Breadcrumb

I'm trying to create a modified version of the box_grey theme (a phptemplate-based theme). Currently the template (in page.tpl.php) uses the following code to display a breadcrumb:

<?php print $breadcrumb ?>

This produces the following HTML on the home page (where there is no breadcrumb):

<div class="breadcrumb"></div>

If the breadcrumb class has a border (for example) the finished page shows an empty space. What I'd like to be able to do is conditionally wrap the "print breadcrumb" statement, so that it only displays if there is a breadcrumb. However, the obvious things like is_set($breadcrumb) or "$breadcrumb != null" don't work.

The footer code gives an idea of what I'd like to be able to do:

<?php if ($footer_message) : ?>
  <?php print $footer_message;?>
<?php endif; ?>

Any suggestions?

Also does anyone know why the $breadcrumb variable include the <div> stuff. Shouldn't this be left to the template (eg. like the footer)?

Look at this theme...Need Drupal Designer Input.

http://headsyestailsno.com/mockup_drupal.jpg

I designed a mockup of a theme I would like to have developed. It is a fairly straightforward modification of the marvin theme - cleaner colors, more of a web 2.0 look and feel. Unfortunately, I am css retarded and am unable to make the necessary modifications.

So I am looking for a designer to develop this simple theme for me. The color palette is already selected and there is little to no structural change to the default marvin theme.

Pages

Subscribe with RSS Subscribe to RSS - Theme development