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?

help with sInfoEmpty
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: help with sInfoEmpty
#27529
help with sInfoEmpty 12 Years ago Karma: 0
The following has worked successfully on a separate server with data in the tables, however I am having trouble getting the oLanguage_sInfoEmpty to work properly.

What am I missing? Should I be using oLanguage_sZeroRecords instead?

{arijdatatable bPaginate="true"; iDisplayLength="5"; sPaginationType="full_numbers"; bAutoWidth="false"; oLanguage_sInfoEmtpy="No events to display."}
{arisqltable }
{arisqltablecolumns}
{arisqltablecolumn id="Image" hidden="true"}{/arisqltablecolumn}
{arisqltablecolumn alias=" " virtual="true" pos="-1"}
{coltemplate}<img src="administrator/components/com_evo/images/event/icon/{$Image}" width="40" height="30" />{/coltemplate}
{/arisqltablecolumn}
{/arisqltablecolumns}
{arisqltablequery}SELECT ev_image AS Image, start_date as Date, start_times as Time, event_name AS Event, venue_id AS Venue FROM #__ysg_events WHERE vid = <?php echo $_GET['vid']; ?>{/arisqltablequery}
{/arisqltable}
{/arijdatatable}
sbi
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#27608
Re:help with sInfoEmpty 12 Years ago Karma: 747
Hello,

Use the next code:

Code:


{arijdatatable bPaginate="true" iDisplayLength="5" sPaginationType="full_numbers" bAutoWidth="false" oLanguage_sZeroRecords="No events to display."}
{arisqltable}
{arisqltablecolumns}
{arisqltablecolumn id="Image" hidden="true"}{/arisqltablecolumn}
{arisqltablecolumn alias=" " virtual="true" pos="-1"}
{coltemplate}<img src="administrator/components/com_evo/images/event/icon/{$Image}" width="40" height="30" />{/coltemplate}
{/arisqltablecolumn}
{/arisqltablecolumns}
{arisqltablequery}SELECT ev_image AS Image, start_date as Date, start_times as Time, event_name AS Event, venue_id AS Venue FROM #__ysg_events WHERE vid = <?php echo $_GET['vid']; ?>{/arisqltablequery}
{/arisqltable}
{/arijdatatable}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#27643
Re:help with sInfoEmpty 12 Years ago Karma: 0
Thanks for the reply,

It's still not showing a table at all. yousaygo.com/what/venue-2

Thanks!
sbi
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#27645
Re:help with sInfoEmpty 12 Years ago Karma: 747
The message is shown if a table contains data, but a user enter a search string in "Search" textbox and it return 0 records. In your case the table doesn't contain data and it is not rendered.

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