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


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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 14 Years, 12 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 14 Years, 12 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 14 Years, 12 Months ago Karma: 746
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 14 Years, 12 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 14 Years, 12 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 14 Years, 12 Months ago Karma: 746
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