Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Testers needed for plugin - CB Customizetab

  • sstark
  • sstark
  • OFFLINE
  • Posts: 86
  • Thanks: 0
  • Karma: 0
17 years 9 months 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 or Create an account to join the conversation.

17 years 9 months 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 or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 9 months 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 or Create an account to join the conversation.

  • youngarmy
  • youngarmy
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 0
17 years 9 months 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 or Create an account to join the conversation.

17 years 9 months 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 or Create an account to join the conversation.

  • pointri
  • pointri
  • OFFLINE
  • Posts: 118
  • Thanks: 0
  • Karma: 27
17 years 9 months 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum