Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] CSS class not applied to Bricks, JDom

Missing css classes on bricks 12 Jun 2013 05:50 #7442

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
missing css classes on the bricks in the layout
The administrator has disabled public write access.

CSS class not applied to Bricks, JDom 11 Jul 2013 22:00 #7935

  • jhallock
  • jhallock's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 0
I am trying to specify the CSS class for my elements.

When setting the "CSS Class" to the brick in J-Cook, it is not applied to my component when I download.

The same is true for individual form elements inside the form brick.

I added the class "myCssClass" to both bricks and form elements in J-Cook, then downloaded the component, and searched all files inside for "myCssClass". It does not appear anywhere in the component.


I am also attempting to use JDom while customizing my component. I want to add a date picker range, and I cannot figure out how to apply a css class.
	<?php echo JDom::_('html.form.input.range', array(
			'rangeNameSpace' => 'html.form.input.calendar',
			'dataKey' => 'filter_period',
			'dataValueFrom' => $this->filters['period_start']->from,
			'dataValueTo' => $this->filters['period_end']->to,
			'labelFrom' => "CHRONOS_JSEARCH_FROM",
			'labelTo' => "CHRONOS_JSEARCH_TO",
			'size' => 12,
			'alignHz' => true,
			'dateFormat' => 'Y-m-d'
		));
	?>

What do I need to add to this to code to add a css class to the element?

Thank you.
The administrator has disabled public write access.

Missing css classes on bricks 17 Jul 2013 14:29 #10495

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
The classes in the "bricks" are still missing in the generated component, I know it's probably a minor bug, but I guess it would be easy to fix.
thanks in advance
The administrator has disabled public write access.

Missing css classes on bricks 23 Sep 2013 18:19 #11160

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.113 seconds

Get Started