05 | 12 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 62 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser

TOPIC: Different color in first row.

Different color in first row. 10 years 1 month ago #7117

  • 9944990
  • 9944990's Avatar
  • Offline
  • Осваиваюсь на форуме
  • Posts: 27
  • Karma: 0
Hello,

I have set colors as below:

Table Header Color: #ffffff
Primary Row Color: #ffffff
Alternate Row Color: #eeeeee

The problem I have now is that in some pages the first page gets white (#ffffff) color and in other pages (#eeeeee).

For more information check the snapshots.
Attachments:
The administrator has disabled public write access.

Different color in first row. 10 years 1 month ago #7118

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
The administrator has disabled public write access.

Different color in first row. 10 years 1 month ago #7119

  • 9944990
  • 9944990's Avatar
  • Offline
  • Осваиваюсь на форуме
  • Posts: 27
  • Karma: 0
Will not critical but would be better if we had this fixed in future releases. I am in process of doing some CSS modifications.

I find this very complicated for example I am trying to style title of the song I see it uses two classes .commleft and .commname and .commname does not exist at all in style.css.

Also I can not find download td not only image or counts I want to hide the whole download td in case user is on mobile devices.
The administrator has disabled public write access.

Different color in first row. 10 years 1 month ago #7120

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Ok. I'll fix it in future releases.

I added commname and some other classes of table's cells for users. One user asked me about that. Hope they'll using it in their styles.

If You want to hide download column You have to disable it in Commedia content plugin's options or in tags.

If You want to change it's code You can do it in plugins/content/commedia/commedia.php
The administrator has disabled public write access.

Different color in first row. 10 years 1 month ago #7121

  • 9944990
  • 9944990's Avatar
  • Offline
  • Осваиваюсь на форуме
  • Posts: 27
  • Karma: 0
OK That is good actually I want to hide the download ONLY on mobile devices using CSS or jQuery.
The administrator has disabled public write access.

Different color in first row. 10 years 1 month ago #7122

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
You can find that code in plugins/content/commedia/commedia.php:
$_down = strtolower(trim(findpattern($match,"download=")));
		        if ($_down == 'yes') $showDownload = 1;
		         else if ($_down == 'no') $showDownload = 0;
   		          else if ($_down == 'group') $showDownload = 2;
                   else $showDownload = $this->params->def('showDownload', '1');

You can put some code right after that:
If (/*detection of mobile devices*/) showDownload = 0;

See "php how detect the mobile device" in Google.
Last Edit: 10 years 1 month ago by admin.
The administrator has disabled public write access.
Time to create page: 0.897 seconds
for children older than 12 years