Forum Activity for @ultrajam

SteveX
@ultrajam
04/14/14 10:18:31AM
2,589 posts

jamroom.net jrDocs autolink


Jamroom Developers

Also on jrDocs here on jamroom.net, I can't enter a table into the Text section text field.

<table>

  <tr>
    <th>Control</th>
    <th>Large Screens</th>
    <th>Small Screens</th>
    <th>iPhone</th>
    <th>Android</th>
  </tr>


  <tr>
    <td>Zoom</td>
    <td>Large Zoom for sizes larger than 400x350px</td>
    <td>Small Zoom for sizes smaller than 400x350px</td>
    <td>Not present. Zooming is accomplished by a two finger pinch.</td>
    <td>"Touch" style control</td>
  </tr>
  <tr>
    <td>Pan</td>
    <td>Present for sizes larger than 400x350px</td>
    <td>Not present for sizes smaller than 400x350px</td>
    <td>Not present. Panning is accomplished by touch.</td>
    <td>Not present. Panning is accomplished by touch.</td>
  </tr>
  <tr>
    <td>MapType</td>
    <td>Horizontal Bar for screens 300px wide and larger</td>
    <td>Dropdown for screens smaller than 300px wide</td>
    <td>Same as Large/Small Screens</td>
    <td>Same as Large/Small Screens</td>
  </tr>
  <tr>
    <td>Scale</td>
    <td>Not present</td>
    <td>Not present</td>
    <td>Not present</td>
    <td>Not present</td>
  </tr>

</table>

This is the validation error, which lists td tr table and th as allowed:
Quote:You have entered an invalid value for "text" - value must be printable characters with the following allowed HTML tags: span,strong,em,a,b,u,i,p,div,br,img,h1,h2,h3,h4,pre,hr,ul,ol,li,big,table,tr,th,td
SteveX
@ultrajam
04/14/14 08:50:32AM
2,589 posts

jamroom.net jrDocs autolink


Jamroom Developers

Works for the two links already entered, but I can break it :)

Entered another url above them, saw this, and thought of you ;)
links-glitch.png links-glitch.png - 39KB

updated by @ultrajam: 04/14/14 08:50:58AM
SteveX
@ultrajam
04/13/14 01:34:40PM
2,589 posts

Foxycart skin


Using Jamroom

There are templates in the foxycart control panel for several pages. I forget where, but you see them when configuring at foxycart.
SteveX
@ultrajam
04/13/14 01:31:34PM
2,589 posts

Media Pro Light Settings


Using Jamroom

Not sure on media pro, but on elastic top right menu ACP > Skin Settings
SteveX
@ultrajam
04/13/14 01:27:51PM
2,589 posts

jamroom.net jrDocs autolink


Jamroom Developers

https://www.jamroom.net/ultrajam/documentation/modules/1770/googlemaps#examples-demo-and-docs
I made a text section with two links in, but the second link isnt being parsed correctly because it is similar to the first.

If I change the second url to
http://jam.ultrajam.net/googlemaps/docsdeveloper_docs
It breaks in the same place.

But if I change it to
http://jam.ultrajam.net/googlemaps/xxxxxdocs/developer_docs
Then both urls are whole.
updated by @ultrajam: 05/15/14 03:31:58AM
SteveX
@ultrajam
04/12/14 02:51:49PM
2,589 posts

jrFoxyCart_add_to_cart Button


Jamroom Developers

They're smarty functions in /modules/jrFoxyCart/lib/functions.php

smarty_function_jrFoxyCart_add_to_cart
SteveX
@ultrajam
04/11/14 10:48:13AM
2,589 posts

Custom form field attributes in form designer


Jamroom Developers

Ok, thanks Brian. I'll give that a try over the weekend.
SteveX
@ultrajam
04/11/14 08:15:02AM
2,589 posts

Custom form field attributes in form designer


Jamroom Developers

Yes, I see that now, it works fine as a field in a module item.

It's a javascript color picker where the js can have several options and events to configure the color picker.

I wanted to pass these options in as attributes to add data- attributes to the input.

The intention was to be able to pass them in in the options field in form designer and have it work for module items as well, but it is actually in a config setting that I wanted to use it.

The attributes:
Quote:// flat: bool,
// showInput: bool,
// showInitial: bool,
// allowEmpty: bool,
// showAlpha: bool,
// disabled: bool,
// localStorageKey: string,
// showPalette: bool,
// showPaletteOnly: bool,
// showSelectionPalette: bool,
// clickoutFiresChange: bool,
// cancelText: string,
// chooseText: string,
// containerClassName: string,
// replacerClassName: string,
// preferredFormat: string,
// maxSelectionSize: int,
// palette: [[string]],
// selectionPalette: [string]

The script: http://bgrins.github.io/spectrum/
updated by @ultrajam: 04/11/14 08:15:40AM
SteveX
@ultrajam
04/11/14 07:57:06AM
2,589 posts

Custom form field attributes in form designer


Jamroom Developers

Thanks Brian.

Should that also work for a jrCore_register_setting function in config.php?

I already had an attributes function, but I'm not seeing any attributes in the fdebug.
SteveX
@ultrajam
04/11/14 02:51:17AM
2,589 posts

Custom form field attributes in form designer


Jamroom Developers

The help text is fine, but I've run into another problem - maybe attributes aren't the right way to go?

How do I get those attributes into the form_field_display function?

I have them defined in a form_field_spectrum_attributes function, but don't see them in my fdebug when passing that into the form_field_display function $_tmp array as either
'attributes' => array('myattribute1','myattribute2'), 
or as
'myattribute1' => 'xxx',
'myattribute2' => 'yyy',

How do I get those attributes in there?
updated by @ultrajam: 04/11/14 02:53:20AM
  162