List Manager Forum

No Text showing

User moon_489 2012-05-14 06:54:41

Hi,

cahnged templates a few time but always end up with the screen show the add a record button

Tha workd

The search works and when you click on the pencil edit you can edit but the area where the records should be just has the grey arrow block with no text showing., view source reveals the page is not populated,

Source from body follows. joomla 1.7

Thanks





















if (typeof jQuery == 'undefined') { document.write(unescape("%3Cscript src='/www/templates/perma_2.5/modules/jquery171.js' type='text/javascript'%3E%3C/script%3E")); }



jQuery.noConflict();













Manage Members













Calendar._DN = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"); Calendar._SDN = new Array ("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"); Calendar._FD = 0; Calendar._MN = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); Calendar._SMN = new Array ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); Calendar._TT = {};Calendar._TT = "About the Calendar"; Calendar._TT =
"DHTML Date/Time Selector\n" +
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
"\n\n" +
"Date selection:\n" +
"- Use the « and » buttons to select year\n" +
"- Use the buttons to select month\n" +
"- Hold mouse button on any of the above buttons for faster selection.";
Calendar._TT = "\n\n" +
"Time selection:\n" +
"- Click on any of the time parts to increase it\n" +
"- or Shift-click to decrease it\n" +
"- or click and drag for faster selection.";

Calendar._TT = "Click to move to the previous year. Click and hold for a list of years."; Calendar._TT = "Click to move to the previous month. Click and hold for a list of the months."; Calendar._TT = "Go to today"; Calendar._TT = "Click to move to the next month. Click and hold for a list of the months."; Calendar._TT = "Click to move to the next year. Click and hold for a list of years."; Calendar._TT = "Select a date."; Calendar._TT = "Drag to move"; Calendar._TT = "Today"; Calendar._TT = "Display %s first"; Calendar._TT = "0,6"; Calendar._TT = "Close"; Calendar._TT = "Today"; Calendar._TT = "(Shift-)Click or Drag to change the value."; Calendar._TT = "%Y-%m-%d"; Calendar._TT = "%a, %b %e"; Calendar._TT = "wk"; Calendar._TT = "Time:";

window.addEvent('domready', function() {
$$('.hasTip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts);
el.store('tip:text', parts);
}
});
var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false});
});
try{WFEditor.init({
token: "wfa988f8ba644e63ce67cfbe84fcc59509",
base_url: "http://mudgeebusiness.com.au/www/",
language: "en",
directionality: "ltr",
theme: "none",
compress: {"javascript":0,"css":0}
});}catch(e){alert(e);}

































































HomeAbout Mudgee MBAWhat We DoOur CommitteeEventsMeetingsMBA MembershipMember BenefitsCommittee LoginMember DirectoryContact UsManage Members


































Custom slogan





























































































xhtml

































































var arrDatos1535801389_;

var arrCabeceras1535801389_;

var altoform1535801389_;



var arrEditores1535801389_="";



function validateForm1535801389_(f) {

if (document.formvalidator.isValid(f)) {

f.check.value='d4cac78253cea7bb8d2ac359e55768e3'; //send token

return true;

}

else {

var msg = 'Some values are incorrect';

alert(msg);

}

return false;

}



function showMessage(param){

/* efectos 5

//update

if(param==0){

$('1535801389_divmessage').setText('Record saved');

}



else{

//delete

$('1535801389_divmessage').setText('Record deleted');

}



new Fx.Style($('1535801389_lm_message'),'background-color', {duration: 1000}).start('#fff','#FEFDC3');

new Fx.Style($('1535801389_lm_message'),'opacity', {duration: 1000}).start('0','1')

new Fx.Style($('1535801389_divmessage'),'opacity', {duration: 1000}).start('0','1').chain(function(){

new Fx.Style($('1535801389_divmessage'),'opacity', {duration: 7000}).start('1','0');

new Fx.Style($('1535801389_lm_message'),'background-color', {duration: 7000}).start('#FEFDC3','#fff');

new Fx.Style($('1535801389_lm_message'),'opacity', {duration: 6000}).start('1','0');

}); */



//update

if(param==0){

$('1535801389_divmessage').set('text','Record saved');

}



else{

//delete

$('1535801389_divmessage').set('text','Record deleted');

}





$('1535801389_divmessage').set('tween', {duration: 1000});

$('1535801389_lm_message').set('tween', {duration: 1000});







/* efectos 6*/

$('1535801389_divmessage').set('tween',{

duration: 5000,

transition: Fx.Transitions.linear,

link: 'chain'

});

$('1535801389_divmessage').tween('opacity', '1').tween('opacity', '0');







$('1535801389_lm_message').set('tween',{

duration: 5000,

transition: Fx.Transitions.linear,

link: 'chain'

});

$('1535801389_lm_message').tween('opacity', '1').tween('opacity', '0');











}





function editValue1535801389_(key){

$('1535801389_list_adminForm').reset();

$('1535801389_list_adminForm').idrecord.value='';

showForm1535801389_();





for(var i=0;i0&&nuevapag=parseInt(('1535801389_pagtotales').value)){

$('1535801389_pagactual').value=nuevapag;

createTableData1535801389_();

}

}



function goToPage1535801389_(page){

if(page==1)

$('1535801389_pagactual').value=1;

else

$('1535801389_pagactual').value=$('1535801389_pagtotales').value;

createTableData1535801389_();

}



function repaginar1535801389_(){

var numreg=0;

for (var r in arrDatos1535801389_) {

if(arrDatos1535801389_!='#'){

numreg++;

}

}

$('1535801389_pagactual').setProperty('value',1);

var porpag=$('1535801389_porpag').getProperty('value');

var total=Math.ceil(numreg/porpag);

$('1535801389_pagtotales').setProperty('value',total);

}





function orderForColumn1535801389_(ordercol,numcol){



if(arrCabeceras1535801389_==null)

arrCabeceras1535801389_=true;

else

arrCabeceras1535801389_=!arrCabeceras1535801389_;



var arrCopy=new Object();

var arrTemp=new Array();

var ind=0;



for (var r in arrDatos1535801389_) {

arrTemp=arrDatos1535801389_;

}





//TODO aqui cambiar funciones para especificar tipo de campo (is_numeric??)

if(arrCabeceras1535801389_){

arrTemp.sort(function(a, b){

var nameA="";

var nameB="";

if(a!=null) nameA=a.toLowerCase().replace(/]+(>|$)/g, "");

if(b!=null) nameB=b.toLowerCase().replace(/]+(>|$)/g, "");

if(!isNaN(nameA)&&!isNaN(nameB)){

nameA=parseFloat(nameA);

nameB=parseFloat(nameB);



}

if (nameA nameB)

return -1

return 0 //default return value (no sorting)

});

}

else{

arrTemp.sort(function(a, b){

var nameA="";

var nameB="";

if(a!=null) nameA=a.toLowerCase().replace(/]+(>|$)/g, "");

if(b!=null) nameB=b.toLowerCase().replace(/]+(>|$)/g, "");

if(!isNaN(nameA)&&!isNaN(nameB)){

nameA=parseFloat(nameA);

nameB=parseFloat(nameB);



}



if (nameA nameB)

return 1

return 0 //default return value (no sorting)

});

}



for(var i=0;iarrTemp.length;i++){

arrCopy=arrTemp;

}





arrDatos1535801389_=null;



arrDatos153801389_=arrCopy;



createTableData1535801389_();



}











function recogeDatos1535801389_(){

arrCabeceras1535801389_=JSON.parse($('1535801389_cb_resultado').getChildren().value);

arrDatos1535801389_=JSON.parse($('1535801389_cb_resultado').getChildren().value);

repaginar1535801389_();

if(arrDatos1535801389_!=null&&arrDatos1535801389_.length==0)

arrDatos1535801389_=null;

var nameorder="Surname";







var numorder=-1;

var idorder=-1;

var colorder=-1;

if(nameorder!=""){



for(var i=0;iarrCabeceras1535801389_.length;i++){



if(arrCabeceras1535801389_=='1'){

numorder++;

}

if(arrCabeceras1535801389_==nameorder){



idorder=arrCabeceras1535801389_;

colorder=numorder;

}

}

}



if(colorder!=-1)



orderForColumn1535801389_(idorder,colorder);



if ($('1535801389_filtertext').value!=""){

filtraDatos1535801389_();



}



}





function filtraDatos1535801389_(){



var busca=$('1535801389_filtertext').value.toLowerCase();

for (var r in arrDatos1535801389_) {



var arrReg=arrDatos153501389_;

arrDatos1535801389_='#';



for(var o in arrDatos1535801389_){





if(o!="id"&&o!="idrecord"&&o!="idfield"&&arrDatos1535801389_!=null)

if(arrDatos1535801389_.toLowerCase().replace(/]+(>|$)/g, "").indexOf(busca)>-1) arrDatos1535801389_='0';





}



}

repaginar1535801389_();

createTableData1535801389_();



}





/*

FUNCION PARA REGENERAR LA TABLA DE DATOS A PARTIR DE LOS ARRAYS DE LAS CONSULTAS



*/



function createTableData1535801389_(){





var arrtotales=new Array();







while($('1535801389_list_table').lastChild)$('1535801389_list_table').removeChild($('1535801389_list_table').lastChild);



var thead=new Element('thead');





var trhead=new Element('tr');

for(var i=0;i(pagact-1)*porpag&&numreg=pagact*porpag){

var trdato;

if(numreg%2==0)

trdato=new Element('tr',{'class':'lm_trwhite'});



else

trdato=new Element('tr',{'class':'lm_trblack'});



for(var i=0;iarrCabeceras1535801389_.length;i++){

if(arrCabeceras1535801389_=='1'&&arrCabeceras1535801389_!='10'){

;

var tddato= new Element('td');

if(arrDatos1535801389_]!=null){



//totales





if(arrCabeceras1535801389_=='6'){

//USER

tddato.setProperty('html',arrDatos1535801389_);

}

else{

if(arrCabeceras1535801389_=='8'){

//PROGRESS

var valordato=arrDatos1535801389_];

var intervalo=arrCabeceras1535801389_-arrCabeceras1535801389_;

var valorreal=valordato-arrCabeceras1535801389_;

var porc=parseInt((valorreal*100)/intervalo);



tddato.setProperty('html',""+porc+"%");

//tddato.setProperty('html',""+arrDatos1535801389_]+"%");

}

else{

tddato.setProperty('html',arrDatos1535801389_]);

}

}

}



$(trdato).adopt(tddato);

}



}



var imgedit = new Element('img').setProperties({src:'http://mudgeebusiness.com.au/www/modules/mod_listmanager/assets/img/btedit.png','class':'lm_selectable lm_hasTip2',

'title':'Edit :: Edit record contents',

id:r,'name':'imgedit'

});

var imgdelete = new Element('img').setProperties({src:'http://mudgeebusiness.com.au/www/modules/mod_listmanager/assets/img/btdelete.png','class':'lm_selectable lm_hasTip2',

'title':'Delete :: Delete record',

id:arrDatos1535801389_,'name':'imgdelete'

});

var tdopt= new Element('td',{'class':'lm_lasttd lm_lasttdoff'});





$(tdopt).adopt(imgdelete);





$(tdopt).adopt(imgedit);

$(trdato).adopt(tdopt);





$(tbody).adopt(trdato);

}

}

}



///linea extra de totales



///linea de totales







///////////////////////////////////////////////////////fin totales/////////////////////////////









//fin linea extra de totales



$('1535801389_list_table').adopt(tbody);

// add onmouseover tr





var numElems=0;

$('1535801389_list_table').getElements('tr').each(function(elemtr){

if (numElems>0){

var bgcolortr=$(elemtr).getStyle('background-color');

$(elemtr).addEvent('mouseover',function(elem){

//$(elemtr).setStyle('background-color','#ffe097');

$(elemtr).addClass('lm_tr_hover');

if($(elemtr).getLast('td').getProperty('id')!='totalline'){





$(elemtr).getLast('td').addClass('lm_lasttdon');

$(elemtr).getLast('td').removeClass('lm_lasttdoff');



}

});

$(elemtr).addEvent('mouseout',function(elem){

//$(elemtr).setStyle('background-color',bgcolortr);

$(elemtr).removeClass('lm_tr_hover');







if($(elemtr).getLast('td').getProperty('id')!='totalline'){



$(elemtr).getLast('td').removeClass('lm_lasttdon');

$(elemtr).getLast('td').addClass('lm_lasttdoff');



}



});

}

numElems++;

});



$('1535801389_list_table').getElements('img').each( function(elem){

elem.addEvent('click',function(){editValue1535801389_(elem.getProperty('id'));});

});

$('1535801389_list_table').getElements('img').each( function(elem){

elem.addEvent('click',function(){deleteValue1535801389_(elem.getProperty('id'));});

});



var toolTips = new Tips($$('.lm_hasTip2'));









}





function submitAjaxForm1535801389_(param,validate){



// Validar formulario



if (!validate||validateForm1535801389_($('1535801389_list_adminForm'))){



$('1535801389_list_adminForm').task.value=param;



// Guardamos la consulta

$('1535801389_queryString').value = $('1535801389_list_adminForm').toQueryString();

if ($('1535801389_lm_intform')!=null){

//$('1535801389_lm_intform').destroy();

$('1535801389_lm_intform').destroy();

$('1535801389_newForm').empty();



}



// Create form element

var form = new Element('form').setProperties({

action :"index.php",

'id' :'1535801389_lm_intform'

});



//var code="";



//recogeEditores1535801389_();

if(validate) eval(arrEditores1535801389_);

$('1535801389_list_adminForm').getElements('').each(function(elem){

elemTag=$(elem).get('tag');

elemName="";

elemValue="";







if (elemTag=='select'){

elemName=$(elem).get('name');

elemValue= $(elem).getElements('option').get('value');



$(elem).getElements('option').each(function(opt){





if($(opt).getProperty('selected')){

elemName=$(elem).getProperty('name');

elemValue=$(opt).getProperty('value');

}

});

} else {

//si el class no es lm_text para evitar el textarea



/*

if (elemTag=='textarea'&&!($(elem).hasClass('lm_text'))){



var str=WFEditor.getContent('xxxx');+"";

str.replace("xxxx","fld_1");

eval(str);



}*/





elemName=$(elem).getProperty('name');

elemValue=$(elem).getProperty('value');



}



//alert(elemTag+':'+elemName+':'+elemValue);

var elemTemp = new Element('input').setProperties({

type:'hidden',

name:elemName,

value:elemValue

});



elemTemp.inject(form);



//code+="";



//$(elem).clone().inject(form);

});







$('1535801389_list_adminForm').getElements('').each(function(elem){





var elemTemp = new Element('input').setProperties({

type:'hidden',

name:$(elem).getProperty('name'),

value:$(elem).getProperty('value')

});



elemTemp.inject(form);



//code+="";

});







//form.set('html',code);

form.inject($('1535801389_newForm'));

/*



var myAjax = new Ajax("index.php", {

method: 'post',

data: $('1535801389_lm_intform').toQueryString(),

update: $('1535801389_cb_resultado'),

onComplete : function(){



recogeDatos1535801389_();

createTableData1535801389_();

//update

if(validate)

showMessage(0);



},

onFailure : function(err){

alert(err.responseText);

}

}).request();*/



//alert($('1535801389_lm_intform').get('html'));



//form.inject($('1535801389_test'));







var req = new Form.Request($('1535801389_lm_intform'), $('1535801389_cb_resultado'), {

requestOptions: {

//'spinnerTarget': $('1535801389_cb_intform')



},

onFailure : function(error){alert(error.status+" : "+error.statusText);},

onSuccess : function(){

recogeDatos1535801389_();

createTableData1535801389_();

//update

if(validate)

showMessage(0);

}

}).send();

/*



var req = new Request({

noCache:true,

url: 'http://mudgeebusiness.com.au/www/index.php',

method: 'post',

onSuccess : function(){

recogeDatos1535801389_();

createTableData1535801389_();

//update

if(validate)

showMessage(0);

}

}).send($('1535801389_lm_intform').toQueryString());



*/



// $('1535801389_list_adminForm').reset();



if(validate){

ocultaForm1535801389_();

}



return true;

}

return false;



}





function ocultaForm1535801389_(){



$('1535801389_list_adminForm').reset();



//resetear textarea



$('1535801389_list_adminForm').getElements('').each(function(elem){



elem.set("text","");



});



$('1535801389_list_adminForm').idrecord.value='';

var fin=$('1535801389_cb_form').getStyle('height');



$('1535801389_list_adminForm').getElements('td').each(function(elem){

// new Fx.Style($(elem),'opacity', {duration: 1500}).start('1','0');



$(elem).set('tween',{

duration: 1000,

transition: Fx.Transitions.linear,

link: 'chain'

});





$(elem).tween('opacity','1', '0');

});





$('1535801389_cb_form').set('tween',{

duration: 1000,

transition: Fx.Transitions.linear,

link: 'chain'

});





$('1535801389_cb_form').tween('height', '0').tween('display', 'none');



/*

new Fx.Style($('1535801389_cb_form'),'height', {duration: 2000,transition: Fx.Transitions.Elastic.easeIn}).start(fin,'0').chain(function(){



$('1535801389_cb_form').setStyle('display', 'none');

});*/

}



function showForm1535801389_(){

if ($('1535801389_cb_form').getStyle('display')!='block'){

$('1535801389_cb_form').setStyle('display', 'block');

//var fin=40*arrCabeceras1535801389_.length;

var fin=altoform1535801389_;





//$('1535801389_lm_message').set('tween', {duration: 1000});













if ($('1535801389_cb_form').getProperty('height')==null){

$('1535801389_cb_form').getElements('td').each(function(elem){

//new Fx.Style($(elem),'opacity', {duration: 1500}).start('0','1')

// $(elem).tween('opacity', '1');





$(elem).set('tween',{

duration: 1000,

transition: Fx.Transitions.linear,

link: 'chain'

});

$(elem).tween('opacity', '0','1');







})



//new Fx.Style($('1535801389_cb_form'),'height', {duration: 2000,transition: Fx.Transitions.Elastic.easeOut}).start('0',fin+'');

//$('1535801389_cb_form').tween('height', fin+'');





$('1535801389_cb_form').set('tween',{

duration: 2000,

transition: Fx.Transitions.Elastic.easeOut,

link: 'chain'

});

$('1535801389_cb_form').tween('height', '0',fin+'');





}

}

}



function setPorpag1535801389_(){

str=$('1535801389_porpag').getProperty('value');

var val = parseInt(str);

if(isNaN(val)||val==0) val=10;

//e.target.value=val;

$('1535801389_porpag').setProperty('value',val);



repaginar1535801389_();

createTableData1535801389_();

}





function showAll1535801389_(){





var totalrecords= parseInt($('1535801389_pagtotales').value)*parseInt($('1535801389_porpag').value);

$('1535801389_porpag').setProperty('value',totalrecords);

setPorpag1535801389_();



}







window.addEvent('load', function() {



submitAjaxForm1535801389_("show",false);





$('1535801389_porpag').addEvent('keyup',function(e) {

str=$('1535801389_porpag').getProperty('value');

str = str.replace(//g,''); // remove everything except the

$('1535801389_porpag').setProperty('value',str);

if (e.keyCode == '13'){

setPorpag1535801389_();

}

});



$('1535801389_porpag').addEvent('blur',function(e) { setPorpag1535801389_();});

$('1535801389_porpag').addEvent('change',function(e) { setPorpag1535801389_();});



$('1535801389_cb_form').setStyle('display', 'block');

altoform1535801389_=$('1535801389_cb_form').getStyle('height');

$('1535801389_cb_form').setStyle('display', 'none');



$('1535801389_btadd').addEvent('click',function(e) {

$('1535801389_list_adminForm').reset();

$('1535801389_list_adminForm').idrecord.value='';

showForm1535801389_();

});





$('1535801389_queryString').setStyle('display', 'none');



$('1535801389_exportpdf').addEvent('click', function(e) {

$('1535801389_exportdocuments').task.value='showPdf';

$('1535801389_exportdocuments').format.value='pdfr';

$('1535801389_exportdocuments').submit();

return true;

});



$('1535801389_exportexcel').addEvent('click', function(e) {

$('1535801389_exportdocuments').task.value='showExcel';

$('1535801389_exportdocuments').format.value='excel';

$('1535801389_exportdocuments').submit();

return true;

});







$('1535801389_saveform').addEvent('click', function(e){

submitAjaxForm1535801389_("save",true);

});



$('1535801389_cancelform').addEvent('click', function(e){

ocultaForm1535801389_();

});



$$('#1535801389_list_adminForm input').each(function(el) {

el.addEvent('keydown',function(e) {

if (e.key=='enter'){

e.stop();

e.stopPropagation();

}

}.bind(el));

});















});



















Membership

































window.addEvent('load', function() {

document.formvalidator.setHandler('elem22', function(value) {



regex=/^(\d|-)?(\d|,)*\.?\d*$/;

if (!regex.test(value)){

alert("Value must be numeric");

return false;

}

























patron=/^*?{0,0}$/;

if (!patron.test(value)) {

alert("Value must contain 0 decimal(s)");

return false;

}





return true;

});

});





window.addEvent('load', function() {

document.formvalidator.setHandler('elem23', function(value) {



regex=/^(\d|-)?(\d|,)*\.?\d*$/;

if (!regex.test(value)){

alert("Value must be numeric");

return false;

}

























patron=/^*?{0,0}$/;

if (!patron.test(value)) {

alert("Value must contain 0 decimal(s)");

return false;

}





return true;

});

});





window.addEvent('load', function() {

document.formvalidator.setHandler('elem24', function(value) {



regex=/^(\d|-)?(\d|,)*\.?\d*$/;

if (!regex.test(value)){

alert("Value must be numeric");

return false;

}

























patron=/^*?{0,0}$/;

if (!patron.test(value)) {

alert("Value must contain 0 decimal(s)");

return false;

}





return true;

});

});



ORGANISATIONFIRST NAMESalutationSurnameADDRESSADDRESS 2CITYStatePcodeTELEPHONEMOBILEEMAILDATE PAID 2012AMMOUNT PAID 2012









    

*Required

















































































Show











   





/













































Export to  

Export to  















































































Monday the 14th.



Custom text here

Copyright 2012©





















Site by Graphical Constructions









var pkBaseURL = (("https:" == document.location.protocol) ? "https://graphicalconstructions.com.au/stats/" : "http://graphicalconstructions.com.au/stats/");

document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));



try {

var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 6);

piwikTracker.trackPageView();

piwikTracker.enableLinkTracking();

} catch( err ) {}









Moonsoft support 2012-05-14 10:38:13

Hello,
please check your fields configuration, to confirm at least one of your columns is marked as 'visible' for the front-end.
Data is being loaded through ajax call, so we can't check if records are recovered with the source code. If the configuration is ok, and you don't get any other javascript error, please give us the url where we can test on your site the behaviour.
You can place a ticket if you don't want to public your website at this forum.

Thank you, regards

User moon_489 2012-05-17 05:31:28

Yes right in 1 ,

Now works fine!

Many Thanks

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
List Manager

Build different lists for your site

Buy now!