Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Links in table - Text vs icon 19 Dec 2012 11:58 #6182

I have made teh page gulfdatablade.dk where we offer safety datasheets for our lubricants here ind Denmark.

What I would love is to have the linkstext changed for an PDF Icon. That would look better and It would free some mores space in the name colum.

I would also like for the categori name to show op on top of the grid, when a customer uses the menu.

Can somebody help me to make those 2 changes Please.

Please Log in or Create an account to join the conversation.

Re: Links in table - Text vs icon 19 Dec 2012 19:28 #6202

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I think the best is to use a CSS property.

If I remember well the property is 'markup' in JDom.

set
'markup' => 'div',
'style' => array(
	'background-img' => '...',
	'width' => '20px',
	'height' => '20px',
...
),

OR

'cssClass' => 'my-pdf-icon-class'
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.077 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started