Saturday, 23 August 2014 17:24
beggarly

Where are the CSS files?

Displays your chosen modules in highly customizable tabs

Where are the CSS files?

Postby bfyong » Sat Jan 17, 2009 4:59 pm

Hi,
I read from the web everyone are talking about tweaking the CSS file in /modules/mod_dinamods/scripts
but i dont find this folder in there. no CSS file, no script folder.

I downloaded and installed the version 2.0 dinamod.
Do i need to download the script folder somewhere else?

thanks
bfyong
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Sat Jan 17, 2009 4:54 pm

Re: Where are the CSS files?

Postby chus » Mon Jan 19, 2009 4:12 pm

Hi!

Up from version 2.0, the module doesn't have any css files. The style declaration is added directly to the <head> part of your website in order to avoid a writting permission problem some user could have experienced earlier.

If you would like to make any css changes, you need to edit helper.php.

Thank you!
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Where are the CSS files?

Postby bfyong » Tue Jan 20, 2009 5:41 am

thanks Chus!
bfyong
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Sat Jan 17, 2009 4:54 pm

Re: Where are the CSS files?

Postby hajopaj » Sun Jun 07, 2009 9:34 am

Can you tell me how to change the helper.php to get images in the tab title?
I would like to have different images for each tab title.

Would be cool to have this feature in the next version.
But already now it is a very good extension. I like it.

Thanx
Hajopaj
hajopaj
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Sun Jun 07, 2009 9:32 am

Re: Where are the CSS files?

Postby alfpc » Fri Sep 11, 2009 8:35 pm

Actually I could modify the line of code that name the class of each li of the list in the tabs

the line is in the file:
/modules/mod_diamods/tmpl/top.php

the line modified was the #15:

<li class="dm_menu_item_<?php echo $dinamods_id;?>"><a href="<?php echo $href; ?>" rel="dm_tab_<?php echo $dinamods_id; ?>_<?php echo $k; ?>"<?php echo $k == 1 ? ..............

I just added _<?php echo $k; ?> after the <li> code.This is the code that vary the numbers in the rel attribute of the <a> tag.

I don't know any PHP but this was easy to do.

now my li class say
<li class="dm_menu_item_1_1">
<li class="dm_menu_item_1_2">
<li class="dm_menu_item_1_3">

allow me to add style to each class individually.
alfpc
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri Sep 11, 2009 8:24 pm


Return to Dinamods



Who is online

Users browsing this forum: No registered users and 1 guest

cron