Where are the CSS files?
5 posts
• Page 1 of 1
Where are the CSS files?
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
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

- Posts: 2
- Joined: Sat Jan 17, 2009 4:54 pm
Re: Where are the CSS files?
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!
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!
-

chus - Administrator

- Posts: 455
- Joined: Thu Sep 13, 2007 2:21 am
- Location: Costa Rica
Re: Where are the CSS files?
thanks Chus!
- bfyong
- Fresh Boarder

- Posts: 2
- Joined: Sat Jan 17, 2009 4:54 pm
Re: Where are the CSS files?
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
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

- Posts: 3
- Joined: Sun Jun 07, 2009 9:32 am
Re: Where are the CSS files?
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.
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

- Posts: 1
- Joined: Fri Sep 11, 2009 8:24 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest