Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

CSS with arisqltable
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: CSS with arisqltable
#1680
CSS with arisqltable 8 Years, 6 Months ago Karma: 0
I just installed the Smart Content Component.

I've successfully created a sqltable, but I'm unable to have it formatted at all.

This is my sqltable code:
Code:


{arisqltable}
    {ariconnectionstring dbHost="<? echo $db_host ?>" dbUser="<? echo $db_username ?>" dbPass="<? echo $db_password ?>" dbName="<? echo $db_database ?>" dbType="mysql"}
    {arisqltablecolumns}
      {arisqltablecolumn id="RESORT" alias="Resort" className="snowtableentry1"}
      {arisqltablecolumn id="NEW24" alias="24hr" className="snowtableentry1"}
    {/arisqltablecolumns}
    {arisqltablequery}
<? echo $sql ?>
    {/arisqltablequery}
{/arisqltable}



And the resulting HTML:
Code:


<!--<div id="jts_49d7f2b67b479"> -->
<table style="width:100%" cellPadding="0" cellSpacing="0"><thead><tr><th>ResortName</th><th>New24</th></tr></thead><tbody><tr><td>Arapahoe Basin</td><td>10</td></tr>...</tbody></table>

<!-- </div> -->




As you can see, there are no classes on the rows or data. What am i missing?

Thanks
The administrator has disabled public write access.
 
#1681
Re:CSS with arisqltable 8 Years, 6 Months ago Karma: 0
Nevermind... My id's didn't match my database column names.

I've moved on to wrapping the sqltable in a sorted table now. I found the css for the sort table buried in the js folder for the plugin. So i'm editing style.css in the blue theme directory to change the style. I'd have to think there's a better way to do this, like creating my own template at least.

Where is the active template set for Jtablesorter? Can i create my own? And better yet, can I just add a section to my main CSS file and use it?

Thanks
The administrator has disabled public write access.
 
#1682
Re:CSS with arisqltable 8 Years, 6 Months ago Karma: 667
Hello,

You can use 'CSS Templates' for creating your own CSS template. Active CSS Template will be automatic loaded on frontend. And editing CSS in plugin folder isn't better solution because after upgrading or re-installing the component this change will be lost, use 'CSS Templates' that override needed CSS rules.

PS: You can omit {ariconnectionstring} if you are used Joomla database.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#1683
Re:CSS with arisqltable 8 Years, 6 Months ago Karma: 0
Hi, thanks for the quick response.

I also found a post referencing ThemeRoller on the jquery site. This looks like it could help with what I'm trying. I created a theme, but how do i use it now?

I uploaded it to: /plugins/content/arismartcontent/system/ari_jquery_ui_loader49d7df5b27d95/js/1.5.2/themes/
but am not able to select it from the jquery ui plugin configuration screen.
The administrator has disabled public write access.
 
#1684
Re:CSS with arisqltable 8 Years, 6 Months ago Karma: 0
sorry, one more question too...

Is it possible to configure it so that <h3> headers aren't created for the title of tabs and accordion items?
The administrator has disabled public write access.
 
#1691
Re:CSS with arisqltable 8 Years, 6 Months ago Karma: 667
You can't change tab layout, if you have any problem with H3 style you can override it with help 'CSS Templates'. About ARI JQuery UI Loader and ThemeRoller, currently you can't create new theme, but you can submit feature request and we'll implement it in one of future releases.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1