11
baloch
HI i am trying to assign data to template but it giving me error please help
  • 2009/6/21 8:50

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


require('../../../mainfile.php');
global $xoopsOption,$xoopsUser,$xoopsTpl;


include_once "adminheader.php";
$xoopsOption['template_main'] = 'audio_adminindex.html';

//Display the admin menu
xoops_module_admin_menu(0,_AM_AU_ADMENU0);

/**
* To use this as a template you need to write code to display
* whatever it is you want displaying between here...
*/

$audiodata = audioLoader();
$xoopsTpl->assign('audios', $audiodata);
function audioLoader(){
global $xoopsDB;
$audios =array();
$q=1;
$query = $xoopsDB->queryF(' SELECT * FROM ' . $xoopsDB->prefix('audios')); while($myrow = $xoopsDB->fetchArray($query) )
{
$audios[$q]['id'] = $myrow['id'];
$audios[$q]['title'] = $myrow['title'];
$audios[$q]['play'] = $myrow['play'];
$audios[$q]['source'] = $myrow['source'];
$audios[$q]['type'] = $myrow['type'];
$audios[$q]['size'] = $myrow['size'];
$audios[$q]['download'] = $myrow['download'];
$q++;
}
return $audios;



}

i am following kaotik tutorial

it is givng me this error
Fatal error: Call to a member function assign() on a non-object in

please help



12
baloch
exim admin theme not hiding the links accordance to user permission
  • 2008/12/15 6:46

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Hi guys, i did a fresh install XOOPS 2.3.2b everything else works fine. I am having problem with user permissions. i have assigned the access right to users but user still can see the system links for modules, templates, blocks etc even if they dont have access permission. I guess it should be hidden then if user have no permission to access them. rather showing up and telling the user you dont have permission to use this section...



13
baloch
Re: x_movie module installation help
  • 2008/4/15 18:01

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Hi guys. i fixed the language and templates of x_movie video. I am not too good in php and MySQL still a beginner. if you want you can download it from the following link.http://www.balochwarna.org/bvideos.zip

to view in action www.balochwarna.org/modules/bvideos
I am gona try to improve it soon.



14
baloch
Re: Plz help me to format the news as follows by editing template....
  • 2007/12/31 10:22

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Thanks Scrpt_lu it worked. actually i edited my news template it had errors dats y it was not showing up



15
baloch
Re: Plz help me to format the news as follows by editing template....
  • 2007/12/31 9:03

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Ams is for article i want one for news module. I tried the above xmspotlight_09212k7.zip. It says updated the news and the news is ticked but it doesnt appear anywhere. or may be i am not understanding how it works? Xmspotlight has no readme file



16
baloch
Plz help me to format the news as follows by editing template....
  • 2007/12/31 8:00

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Hi guys, anyone there to help me i want to format my news as follwos
breaking news one column
and bottom 4 to 6 news in two columns
and more releases links one column
Resized Image

any one can help me to format the news like that by editing templates?

Thanks in advance



17
baloch
Re: Logging into the site problems
  • 2007/12/13 14:25

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


I Have the same problem i am running protector module. every time i login it says thank you for loggin in when i click on adminstration it will say you are not allowed it will kick me out.

now i am running anynoums proxy it is working like charm now.



18
baloch
Css transparent theme with some vista touch
  • 2007/9/13 7:51

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Hello guys, I have developed a css transparent theme with vista touch. but it is not fully ready yet to go for xoops. i need some suggestions and commments as i have very little knowledge developing XOOPS themes.


you can view my theme in action at
www.balochwarna.org



19
baloch
Re: looking for vista-style for new website
  • 2007/9/13 7:48

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


I have delveoped a vista style transparent css theme but unfrotunatly it is not ready to go on xoops.
but i will soon provide the download link here.

you can view the theme in action on
www.balochwarna.org



20
baloch
Re: Need help regarding news layout by topic
  • 2007/5/30 18:45

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Thanks a ton dude. it worked




TopTop
« 1 (2) 3 »



Login

Who's Online

233 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits