| 
Welcome, Guest

Testers needed for plugin - CB Customizetab
(1 viewing) (1) Guest

TOPIC: Testers needed for plugin - CB Customizetab

Re:Testers needed for plugin - CB Customizetab 4 years, 11 months ago #33827

  • Posts:
  • Karma:
hi,

thanks for trying my version, however it doesn't look like I can help you. I just tested it in IE7 on my own site, and it works. Also, your error message makes little to no sense to me, I think something is wrong someplace that is not part of the code.
StevenStark.com - Work | Smart-Love.ca - Dating

Re:Testers needed for plugin - CB Customizetab 4 years, 11 months ago #33839

  • Posts:
  • Karma:
I do seriously think it would be perfect to have a plug with this name be one that would allow a user to pick a site template

My site has many disabled users and being able to select a high contrast or a purple theme.

The joomla template picker doesnt save between pages.

SoM

Re:Testers needed for plugin - CB Customizetab 4 years, 11 months ago #33840

  • Posts:
  • Karma:
I posted a version with template selector in this thread. It selects the template based on who is being viewed, but you can easily modify it to choose template based on the logged in user.

For me joomla template picker does save between pages.

mikko

Re:Testers needed for plugin - CB Customizetab 4 years, 11 months ago #33859

  • Posts:
  • Karma:
@sstark


I just uninstalled the plugin and reinstalled your version.
There is no error on the page but on the left at the bottom of IE7 : Error on this page.


Line: 12
Caracter: 223
Error: Object expected

There is something wrong with the java script, maybe syntax error ?

Post edited by: youngarmy, at: 2007/03/19 15:14

Re:Testers needed for plugin - CB Customizetab 4 years, 11 months ago #33863

  • Posts:
  • Karma:
mikko wrote:
For me joomla template picker does save between pages.

mikko


what version of joomla?

how can yours work and mine doesnt?

SoM

Re: ColorPicker.js 4 years, 11 months ago #33898

  • Posts:
  • Karma:
Assuming that you're sticking with the current JavaScript to pick the colors, here's a slight untested improvement on the color picker in terms of the interface. The changes should be in colorpicker.js, around line 233:

function hColorPickerMouseDown(){
if(cp.cpColor.r || (cp.cpColor.r===0)) cp.cpColor = '#'+hex(cp.cpColor.r)+hex(cp.cpColor.g)+hex(cp.cpColor.b);
cp.cpInput.value = cp.cpColor;
cp.cpInput.style.color = cp.cpColor;
cp.cpInput.style.backgroundColor = cp.cpColor;
hideColorPicker();
}


and in customize.php lines 337-343 to load the colors in when loading the dialog:

function makeColorRow($name, $desc, $current, $row){
$return = '<tr class="row'.$row.'">'
.'<td class="sectiontableentry'.$row.'">'.$desc.':</td>'
.'<td class="sectiontableentry'.$row.'"><input size="7" id="'.$name.'" name="'.$name.'" '
.'value="'.$current.'" style="background-color:'.$current.'; color:'.$current.';" onclick="attachColorPicker(this);" /></td></tr>';
return $return;
}


It just makes the input's background the color chosen. I have an allergy to hex numerals.

Post edited by: pointri, at: 2007/03/19 22:33
Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.
http://www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.
Time to create page: 0.91 seconds