Testers needed for plugin - CB Customizetab

17 years 1 month ago #33827 by sstark
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

Please Log in to join the conversation.

17 years 1 month ago #33839 by steveometer
Replied by steveometer on topic Re:Testers needed for plugin - CB Customizetab
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

Please Log in to join the conversation.

17 years 1 month ago #33840 by mikko
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

Please Log in to join the conversation.

17 years 1 month ago #33859 by youngarmy
Replied by youngarmy on topic Re:Testers needed for plugin - CB Customizetab
@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

Please Log in to join the conversation.

17 years 1 month ago #33863 by steveometer
Replied by steveometer on topic Re:Testers needed for plugin - CB Customizetab
mikko wrote:

For me joomla template picker does save between pages.

mikko


what version of joomla?

how can yours work and mine doesnt?

SoM

Please Log in to join the conversation.

17 years 1 month ago #33898 by pointri
Replied by pointri on topic Re: ColorPicker.js
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:

[code:1]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();
}[/code:1]

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

[code:1]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;
}[/code:1]

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.
www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.222 seconds

Facebook Twitter LinkedIn