Want to change html markup of menu items

Hi Folks,

I need to change the markup for the menu items.
I get something like
<li><a href="">Text1 – Text2</a></li>
for each list item.

I want to wrap each Text part with a span and remove the hyphen.
I've searched around and found the functions theme_menu_link in menu.inc and theme_link in theme.inc.
I think I should change it there, but I can't manage to find out how I can do this in my theme?!

Differentiate between User and Guest

Hi!

Is there a way to change (for example the main menu entries) if a user is logged in or if he is just a guest.

Like on this site where since my login "Login/Register" changed to "Your Dashboard".

I want to have some sites front which disappear if a user is logged in. Also the Main-Menu entries should disappear.

But what is the correct way to do this?

Greetings straightflush

UC Drupal 7 Hide Prices / add to cart button

Hi all and thanks in advance for any help. I have found quite a bit of info on hiding prices etc in ubercart but its all for d6. Any one have ideas for uc in 7? I'm trying to use uc as a catalog and so far the whole drupal + uc has been really good especially for a newb..

thanks again.

Theme taxonomy creation form

Hi!

I'm developing a project where a regular user can create taxonomy's for a special kind of content. I'm theming the taxonomy form using the template suggestions. My problem is when I try to change some parts in the form output like the the relations groups (I dont want it to be collpased).

I tried to create a function called taxonomy_form_alter but did'nt work. ¿it's possible to change the default values?

Thanks!

jquery ui not load css

I have use this code for insert jquery UI component on my site,


drupal_add_library('system', 'ui.tabs');

if possible disable auto insert css jquery ui tabs file ??

thanks

How do I duplicate a Drupal 7 installation on localserver?

Hello,

I'm just starting my second site with Drupal 7. I'd like to start from what I've done in my first site because I don't want to begin from fresh drupal installation and reinstall lots of modules again.

In my localserver (using MAMP) I have my first site in the folder 'site1'.
Should I duplicate this folder, then duplicate database and eventually change database settings to point to new one?

Is there any other way to this? Let's say a Module, through the Console (in Mac), ....?

thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x