Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Color picker not working

[SOLVED] Color picker not working 12 Oct 2011 03:49 #201

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
Neither are huge problems.

Field validator for File type doesn't seem to work. In the configuration on the table field, if choose the file type and test in the box, there seem to be no combionation of acceptable values.

Colour picker - I have tried to use this, but it doesn't seem to work, would be a nice touch if it did although pretty low on priority.

oh, and by the way, "foreign" is the correct spelling rather than foreing. (I'm sure you know this, but does get a little confusing.

thanks for tool though, just as a way of setting up the basic component, it works as it is, I'm just trying to work out though, how close can get to a completed component within cook.

One question though, is there some way of editing the css files and php templates that Cook uses in the sandbox?
Last Edit: 08 Nov 2011 15:53 by admin.
The administrator has disabled public write access.

Re: file validator and color picker not working 13 Oct 2011 18:56 #233

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Colorpicker is not anymore working after a change in JDom:

Will be solved in next version.

For the moment you can correct in dom.php :
function pathToUrl($path)
{
	$relUrl = preg_replace("/^" . JPATH_SITE . "/", "", $path);
	return JURI::root(true) . $relUrl;
}

to :
function pathToUrl($path)
{
	$escaped = preg_replace("/\//", "\/", JPATH_SITE);
	$relUrl = preg_replace("/^" . $escaped . "/", "", $path);
	return JURI::root(true) . $relUrl;
}
Coding is now a piece of cake
The administrator has disabled public write access.

Re: file validator and color picker not working 14 Oct 2011 01:13 #236

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
great thanks.
The administrator has disabled public write access.

Re: file validator and color picker not working 14 Oct 2011 16:33 #241

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Just a detail :

Please open one ticket once for each problem. It is very important.
The cleanest will be the forum, the best users will be able to help each others.


CSS Files in the sandbox

This is already in project. You'll be able to customize CSS in the sandbox. There will not be any live CSS editor neither files hosting, but some entries to enter CSS url from your dev servers.
Can take some months.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: file validator and color picker not working 27 Oct 2011 11:54 #356

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

Get Started