Posts

Showing posts from February, 2013

GetData - Joomla! Forum - community, help and support

Image
hi, i followed hello world tutorials, , , looking @ core components tried make own component. i'm stuck following: want edit item (say greeting), model has method getdata retrieves record database. data loaded in view by: code: select all function display($tpl = null) {       $item =& $this->get('data');          parent::display($tpl); } and assigned template by code: select all $this->assignref('item', $item); now extend view showing related items (say countries use particular greeting). i made method getcountries() in model retrieves data table in database, , changed view adding: code: select all function display($tpl = null) {       $item =& $this->get('data');          $countries =& $this->get('countries');          parent::display($tpl); } code: select all $this->assignref('item', $item); $this->assignref('countries', $countries); someh...

Print Function

hi i trying create print button , need action script.  print (target, type) function know target name of file want print can tell me type for.   thanks natasha hi, i learned how that.  code in actionscript files pretty stratght forward.  use flash 8 actionscript2.   here's did.  script inserted on main timeline  made movieclip button _over, _up, _down, , _quit labels.  resr actionscript text.   stop(); // movieclip acting button var printed:boolean = false; printbtn.onrollover = function() { printbtn.gotoandstop("_over"); }; printbtn.onrollout = function() { if (!printed) {   printbtn.gotoandplay("_quit"); } }; printbtn.onreleaseoutside = function() { if (!printed) {   printbtn.gotoandplay("_quit"); } }; printbtn.onpress = function() { printbtn.gotoandstop("_down"); }; printbtn.onrelease = function() { printed = true; printbtn.gotoandstop("_up");     // create printjob object  // starts actionscript text var my_pj:p...

Rewrite button interupt on multiple pins to one pin

for project, i'm trying rewrite code read button presses on several pins code read button presses on 1 analog pin. this original code, reads few simple push buttons: code: [select] // buttons interrupt // interrupt handler button presses isr(pcint1_vect) {   unsigned long m = millis();   currentbuttons[lbutton] = digitalread(lbuttonpin);   currentbuttons[mbutton] = digitalread(mbuttonpin);   currentbuttons[rbutton] = digitalread(rbuttonpin);   (int loop = 0; loop < numbuttons; loop++)   {     // button down press     if ((previousbuttons[loop] == up) && (currentbuttons[loop] == down))     {       lastbuttontimedown[loop] = m;     }     // button release press     else if ((previousbuttons[loop] == down) && (currentbuttons[loop] == up))     {       lastbuttontimedown[loop] = 0;     }     previousbuttons[loop...

Getting rid of Tables in custom template - Joomla! Forum - community, help and support

update: found file producing these tables - components/com_content/content.html.php. went in , replaced tables outputting in functions (someone needs refresher on proper oop programming , not commingling display functionality) div structure. so, solves tables issue part. see there's 1 more sneaky table being put in there class="blog", i'm off track down. seems yet include file or such. the article title issue looks bug me. in db, item_title set 0, function displays title still receiving item_title 1 in $params variable. problematic. however, doesn't appear templating issue longer, i'll repost problem elsewhere. but handful of folks posted regarding tables received 0 replies, suggest did , edit content.html.php file. left tables in fo other functions i'm not clear produce , sort of looked tables made sense them. i've attached version of file if you're not php savvy. you'll see used bunch of "custom" class names can hook general.css fo...

Client Area Component - possible developers? - Joomla! Forum - community, help and support

Image
hey all, just wondering has ever seen client area component 1.0.x? i have found support/ticketing components (not many!) , similar i'd done not same. i moved web-design site joomla , want clients able logon , access own page of current , previous questions/orders... when post reply notified email , vice versa. i'd option add urls and/or attachments. nothing complex! i approached commercial developer said joomla not optimal system creating such component , offered develop me cms scratch! am being told tall tales or truth? i'm not developer have no idea i'm bit surprised got told ive seen far more complex components... can recommend commercial/freelance developers? or advice @ great! cheers, g Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Likert scale greater than 5?

Image
anyone know how can likert question has more 5 choices answer??? hi there   currently isn't possible.   you should consider submitting request it.   click here submit request .   cheers... rick     click here adobe authorized captivate , robohelp html training click here sorcerstone blog click here robohelp , captivate ebooks More discussions in Advanced Adobe Captivate Users adobe

PHP - email validation - MX / A check

i want validate email exists without sending out confirmation email, not syntax check (looking @ , . ).   if you're on linux server, can use checkdnsrr check against mx or record see if domain legit.  unfortunately function isn't supported on windows server version of php until 5.3 comes out (current being 5.29).  suggestions make easy? is familiar technique validate emails? More discussions in Develop server-side applications in Dreamweaver adobe

Uno to Uno i2c problems

hi there, i working on automation project involving i2c communication between 2 arduino unos. first has adafruit lcd shield mounted on it, , serves "master". "slave" arduino has adafruit motor shield connected, along 2 stepper motors , electronic pneumatic air solenoid. master arduino used allowing user select type of test run, sending data slave. slave has incrementing counter (since implemented on cycle testing machine) pinged master display. first issue i'm having master seems freeze when connected slave. doesn't happen every time, , can avoided plugging power master first, power logic , motors on slave arduino. however, doing doesn't work, , master not run setup code (displaying company name , setup prompts), , display blank screen. none of buttons, including reset work, forcing me power cycle both arduinos. need have pullup resistor between 2 arduinos prevent problem? reading elsewhere in forums uno's have built in pullup resistor, mig...

Setting IP using SD. First page loads. Can't reload web page.

i have been trying set arduino read ip information sd card. far have part working. bit i've having issue refreshing web page. can load page on first attempt after page hangs. the file "network.txt" read , parsed set mac, ip, subnet mask, gateway , dns each value on it's own line blank line @ end. far part working fine. but server portion in loop works once , not serve page unless reset arduino. attached code. forgive me if looks bit messy. please note i'm using 1.0.6 ide. it's 1 find accepts sscanf valid mentioned works fine. code: [select] #include <sd.h> #include <spi.h> #include <ethernet.h> byte mymac[6]; byte myip[4]; byte mynm[4]; byte mygw[4]; byte mydns[4]; ethernetserver server(80); void setup() {  serial.begin(9600);    pinmode(10,output);  //digitalwrite(10,high);  if(!sd.begin(4)) serial.println("sd fail");  else serial.println("sd ok");  file fh = sd.open("netwo...

How to "View Cart" in Joomla Wrapper - Joomla! Forum - community, help and support

i'm trying integrate ultrcart ( http://www.ultracart.com ) joomla site via joomla wrapper.  know how create "buy item" link,  given page, (however, takes me ultracart site), , know how "view cart" display display "view cart" in joomla wrapper, how do this: end user clicks on item, , displays purchased item in shopping cart. hi personally not wrap cart - login not linked , think run lot of issues... but may others ? cheers Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Playback Controls and URL

Image
hi everyone,   i new captivate , working in v3. have 2 questions hope can me with:   1. playback controls appear @ bottom of screen, in recorded area. is there way ensure appear below actual recording rather on recording?   2. possible show url in captivate project allow user click on , taken url destination?   hope can help..   noel england hi there   for placement of playback controls, click project > skin > borders tab , ensure bottom border enabled.   for linking bit, need insert text caption formatted link. ( blue , underlined ) insert click box object , layer above formatted text. configure click box open url.   cheers... rick     click here adobe authorized captivate , robohelp html training click here sorcerstone blog click here robohelp , captivate ebooks More discussions in Adobe Captivate adobe

Error getting license License server communication problem: E_LIC_RESOURCE_ITEM_UNKNOWN

hi,   i getting error when trying download adobe ebook adobe digital edition.   error getting license license server communication problem: e_lic_resource_item_unknown     and follwoing error faced   error creating backup file:\\homrsvr\home\lbszk\my digitaleditpions\backup_manifest.xml error detail: error #2038   please help e_lic_resource_item_unknown caused misconfiguration on wherever got book from.  need contact technical support straightened out.   -- jim lester adobe systems More discussions in Adobe Digital Editions adobe

Login & Redirection to multiple joomla sites from a single page - Joomla! Forum - community, help and support

hi, i have number of joomla websites i'd accessed single login... there sort of front page bit of php code , after logging in, depdendent on login, user redirected appropriate location.... i'm confused how redirect user , log them in joomla site @ same time... i've tried searching previous people have done i'm not sure i'm using correct search terms... thanks! i don't have solution you, i'm in same situation.  have found fair amount using "multisites" , "shared login" search terms.  popular request.  there several options available in downloads here: http://extensions.joomla.org/index.php? ... &itemid=35 so far haven't made of them work me.  considering buying 1 elearningforce.  have heard positive things them , answered email promptly. good luck, post again if figure out. soulman Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x ...

Loading Audition causes USB mouse and keyboard to stop working. Help!

all of sudden, audition causes usb mouse , keyboard stop working. usb "sound" happens audition loading. have reboot mouse , keyboard working cannot run audition. i'm right in middle of project. nothing different. fine until afternoon. please, suggestions welcome. cause this? have , running soon. thanks. hmmm. suggestion can give download latest drivers usb mouse , keyboard.   if isn't option or doesn't work, maybe getting usb ps2 adapters hook them up. (assuming isn't wireless setup.)   other that, have heard things microsoft intellipoint causing problems in audition. intellipoint, knowledge, works mouse control.   hope helps, ~bill More discussions in Audition 3.0.1 and earlier adobe

JCE mambot install - Joomla! Forum - community, help and support

(manually installing jce fixed problem) hello,   rebuilding site , can't seem install jce mambot odd reason. try install through mambot installer weird message! warning: asort() expects parameter 1 array, string given in /home/content/p/r/o/mysite/html/includes/joomla.php on line 5288 sql error: db function failed error number 2013 lost connection mysql server during query sql=select id jos_mambots element = 'jce editor mambot' sql = select id jos_mambots element = 'jce editor mambot' ma db function failed error number 2006 mysql server has gone away sql=select id, title, module, position, content, showtitle, params jos_modules m m.published = 1 , m.position = 'debug' , m.client_id = 1 order m.ordering sql = select id, title, module, position, content, showtitle, params jos_modules m m.published = 1 , m.position = 'debug' , m.client_id = 1 order m.ordering any hero out there know problem is? never seen before? installation of jce prior 1 way s...

Empty Space on Contact page! - Joomla! Forum - community, help and support

Image
i have created template site here: http://www.greencarbonplc.com/index.php ... 1&itemid=2 but there large empty space above contact form, not appear on other page. has ideas? hi, a reason .componentheading in css. look @ site, no other menu items uses since content, contact paga component does. could bug  best. Board index Joomla! Older Version Support Joomla! 1.0 Templates & CSS - 1.0.x

Problem mit mehreren NeoPixel Strip's

Image
hallo zusammen, ich bin gerade bau eines würfels welcher auf jeder seite ein 8x8 neopixel gitter kriegt. ich habe jede seite einzeln als strip gebaut, d.h. pro strip sind das 64 neopixel_led's. der anfang der ansteuerung funktionierte auch noch recht gut, allerdings merke ih jetzt als ich eine funktion (turn_right(front) anwenden will, das diese nicht richtig funktionieren will, sobald mehrere strip's aktiv sind. genauer gesagt sie wird mindestens 2 mal aus geführt nachher nicht mehr. kann mir jemand helfen? die if abfragen in der void loop sollten denn durchlauf durch diese loop beschleunigen. hier noch mein code code: [select] #include <adafruit_neopixel.h> #ifdef __avr__ #include <avr/power.h> #endif //pin definition each side/each led-strip 64 pixel's #define pin0 6 #define pin1 7 #define pin2 8 #define pin3 9 #define pin4 10 #define pin5 11 // define strip's adafruit_neopixel strip0 = adafruit_neopixel(64, pin0, neo_grb + neo_khz800); //front...

Foutmelding na verhuizing naar ander provider - Joomla! Forum - community, help and support

fatal error: cannot redeclare mosgetparam() (previously declared in /home/comp/domains/comp.nl/public_html/includes/joomla.php:3021) in /home/comp/domains/comp.nl/public_html/includes/joomla.php on line 9200 ik ben van  host veranderd, en heb de aanwijzingen op dit site http://www.joomlablog.nl/joomla/algemee ... bsite.html gevolg. ik krijg de bovenvermelde melding, weet iemand hoe en wat? probeer joomla-diagnostics eerst even. ( http://www.joomla-addons.org ) kijk dan welke foutmeldingen je krijgt, dan kunnen makkelijker helpen namelijk Board index Joomla! International Language Support International Zone Dutch Forum Joomla! 1.0 Installatie 1.0.x

High side switch for Car lights (50% Duty c.)

Image
hi, i'll try short possible , on subject. i've been trying while turn car lights on/off 50% duty cycle. my car's lights turned on relay placed on high side and don't want change ! what tried: circuit 1 (total fail, x2 mosfet fried) mosfet:  fdd4243 transistor: 2n2222 , 2n3904 circuit 2 (first time success, don't know did , fried driver, then, instant fried one) mosfet: irf5305pbf driver: tc4426epa my question is: circuit should try, driver should buy ? i found high side p mosfet drivers on internet coudn't find them local how current lamps take? both these devices have rds on of 50mohms, 10a flowing dissipate 5w - without heatsink they'll fry! choose 1 lower rds on - <10mohm. and heatsink allan Arduino Forum > Using Arduino > Project Guidance > High side switch for Car lights (50% Duty c.) ...

Thread: Windows Boot Loader

Image
hello there... wondering if rid of grub , have windows boot manager booting tasks....? have windows 7 professional (64-bit) , ubuntu 9.10 (64-bit) installed on 1 hard drive. (i think grub version 1.97~beta4) posted altomineuk hello there... wondering if rid of grub , have windows boot manager booting tasks....? have windows 7 professional (64-bit) , ubuntu 9.10 (64-bit) installed on 1 hard drive. (i think grub version 1.97~beta4) you can't rid of grub (that know of), can use windows bootloader choose between linux , windows. when choose linux take grub. here link windows bootloader editor program (to run in windows) i'm unsure if works in 7 works great me in vista. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Windows Bo...

Thread: Problems all of the sudden installing wine.

Image
running ubuntu 9.10 64-bit. installed alternate installer. took following steps try install wine no luck. first, added thiurd party source wine's site repository, jumped on terminal , did following: code: jguy@jguy-desktop:~$ sudo apt-get install wine [sudo] password jguy: reading package lists... done building dependency tree reading state information... done packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation: following packages have unmet dependencies: wine: depends: wine1.2 not going installed e: broken packages jguy@jguy-desktop:~$ apt-cache policy wine wine: installed: (none) candidate: 1.1.37-0ubuntu1 version table: 1.1.37-0ubuntu1 0 500 http://ppa.launchpad.net karmic/main packages 1.0.1-0ubuntu8 0 500 http://...

Using 5V 2A supply for project, is this enough?

hi, my project consists of controlling 4x 28byj-48 motors (via uln2003 drivers).  in addition have real time clock module , miscellaneous parts switches , maybe 1 or 2 leds.  (i'm making arduino powered clock). the motors driving gears, of gears have little no resistance on bearings , loads light.  i'll turning motors 1 @ time.  *believe* current demand low result. ideally avoid batteries power source they're pain have keep remembering charge or they're flat when need them (+ they're kind of expensive if want long lasting lipo ones).  so hoping use 5v 2a power supply (i.e. phone/tablet charger) , hoping if advise if adequate job. the rtc module (ds3232) believe draws 300ma max, arduino belive has max draw of 200ma , leds (4x) should draw 80ma wondering if remaining 1.4a enough motors , arduino? fritzing image attached clarify layout. any advice appreciated! thanks quote so *believe* current demand low result. th...

Ho un grande problema!!!!!

salve tutti , per il mio esame di maturità porterò come progetto una rc car costruita con arduino, che si comanda da bluetooth , che quando rileva un ostacolo si ferma, che quando è buio si accendono le luci. in merito quest'ultimo punto ho delle difficoltà, praticamente quando si attivano le luci motori si fermano , appena tolgo la mano dalla fotoresistenza si spengono le luci e ripartono motori qualcuno può darmi una mano?? allego il programma che ho fatto! prima di tutto, nella sezione in lingua inglese si può scrivere solo in inglese ... quindi, per favore, la prossima volta presta più attenzione ... ... poi, essendo il tuo primo post, nel rispetto del regolamento ( … punto 13, primo capoverso ), ti chiedo cortesemente di presentarti qui ( spiegando bene quali conoscenze hai di elettronica e di programmazione ... possibilmente evitando di scrivere solo una riga di saluto ) e di leggere con molta attenzione il su citato regolamento ... g...

Arduino Pro Mini and ESP8266 Serial to Wireless and back

Image
**please note previously, 2x arduino uno wifi developer ed units used ; hence currrent complicated workaround.** 2x arduino, connected via usb cable pi, running 2x python scripts website php mysql database twp python scripts read , write serial each arduino device. python script a r/w's arduino a , python script b r/w's arduino b . python scripts send data mysql database. each script sends each arduino depends on data scripts obtain database. essentially, both arduino units work ascii codes, meaning if receive ascii code onto serial, "do something". example, if receive %, print out "123" onto serial. on website, send , save ascii codes database ; update field in 1 table. field become instruction python scripts retrieve onto arduinos. now, have received 2x esp8266 units + 2x arduino pro mini. basic idea install them each each arduino pro mini unit make them wireless.ideally, units should communicate wirelessly directly pi. see attached diagram(s)...

Velocimetro segun la entrada en hz

hola comunidad, tuve una idea de hacer un velocimetro según la entrada en hz variada por un potenciometro. recien hoy empece programar con arduino y entendi bastantes cosas, pero esto nose como hacerlo si me ayudan con algunos comandos para entender el tema, seria de mucha ayuda. aqui el codigo: code: [select] #include <font4x6.h> #include <font6x8.h> #include <font8x8.h> #include <font8x8ext.h> #include <fontall.h> #include <tvout.h> #include <video_gen.h> tvout tv; // constant won't change: const int  buttonpin = 3;    // pin de entrada const int ledpin = 13;       // pin salida led // variables change: int buttonpushcounter = 0;   // numero de botones presionados int buttonstate = 0;         // estado del boton int lastbuttonstate = 0;     // estado anterior del boton void setup() {   tv.begin(pal,120,96);   tv.select_font(font8x8);   ...

LCD in car shows random characters scrolling

hi! i using arduino in car , lcd (hd44780) starting scroll random characters fast when engine running. think voltage related issue. arduino mega 2560 r3 (chinese clone) connected though power input socket , connects radio's +12v. when engine running around 13-14.4volts, maybe thats problem. should use voltage regulator capacitors create more stable voltage, 8-10v? or have other suggestions? thank you. you need automotive noise , surge suppressor circuit between 12v socket , project. the electrical system in car extremely hazardous electronics, possible polarity reversals , voltage spikes exceeding 600 v. normally, instructables complete crap, this 1 describes possibly useful automotive surge suppressor can try. Arduino Forum > Using Arduino > General Electronics > LCD in car shows random characters scrolling ...

SPI communication between 2 UNOs

Image
hi, i have written codes below. use spi between 2 arduino unos first trial based on nick gammon's tutorial. i send commands 'i' , 'o' master on serial. slave receives commands on spi. 'i' turns on , led. 'o' turns led off. i've set protocol spi communitcation: the code bothers me seems need have "delaymicroseconds (20)" inbetween transfers else things don't work , stop responding! the spdr register should updated time spi.transfer complete. why need wait 20us before reading data. and make things more fun, if use serial.print try , debug, work fine! any ideas why, anyone? master: code: [select] #include <spi.h> volatile char req[9]; volatile uint8_t a, = 0; byte transferandwait (byte what) {   byte x = spi.transfer (what);   delaymicroseconds (20); //wait slave process , reply   return x; } void setup (void) {   serial.begin (9600);   digitalwrite(ss, high);  // e...

invalid use of non-static member function

hello guys!!! i'm having trouble compiling following code. actually works fine on desktop computer. but avr-g++ gives me following error messages. can me out? please..... thanks in advance.... code: [select] class machine {   class state *current; public:   machine();   void setcurrent(state *s){     current = s;   }   void on();   void off();   void red(); }; class state { public:   virtual void  on(machine *m){ serial.println(" on"  );}   virtual void off(machine *m){ serial.println(" off" );}   virtual void red(machine *m){ serial.println(" red" );} };  void machine::off(){ current->off(this);}  void machine::on(){ current->on(this);}  void machine::red(){ current->red(this);} class on: public state { public:   void red(machine *m); }; class off: public state { public:   voi...

Modif template - Joomla! Forum - community, help and support

re, dans le template d'origine joomla j'aimerai modifier la taille de l'image car je la trouve trop importante par rapport au texte. comment faire? ziré. quelle image? la banniére? si oui, ce template modèle devrait être complètement adapté car c'est un template à dimensions fixes. je vous suggère plutôt de chercher sur le web des templates gratuits (ou payants) dont le design général vous conviendra mieux. Board index Joomla! International Language Support International Zone French Forum J! 1.0.x - L'atelier! 1.0 - Templates et design

Are highlight and shadow clipping must be avoided in any image?

are highlight , shadow clipping must avoided in image? because in cases, let's say, night scene, has many black pixels in sky. perform nice contrast against colorful signs. please check attached image reference(01.tif). i know there's nothing in sky, keep pixels clipped. right?   some of students says other instructors told them keep pixels in histogram. but tell them depands on how images show. correct? as attached image, it's impossible pull black pixels histogram , think it's acceptable in case.   let's see 2nd case(02.tif), image has highlight clipping in clouds. i way image looks, looks watercolor painting. if pull white pixels back, image change lot , dark overall.   my question is, important keep images without having highlight or shadow clipping? this not apply image, right???     thank you no hard , fast rule here. what's necessary make image good. it's nice have areas of solid black in image. that's blacks slider comes play. same goes highlig...

heart Sensor rate with Andruino to android Phone not working

please can correct code me, want heart beat bpm android app, below code have tried far. int threshold = 60; int oldvalue = 0; int newvalue = 0; unsigned long oldmillis = 0; unsigned long newmillis = 0; int cnt = 0; int timings[16]; void setup() {   serial.begin(57600); } void loop() {   if(serial.available()>0){     char re = serial.read();     switch(re){      case 'e':     start();     break;   }     } } void start(){  while(1){  oldvalue = newvalue;   newvalue = 0;   for(int i=0; i<64; i++){ // average on 16 measurements   serial.print('s');   serial.print(floatmap(analogread(a2)));     newvalue += analogread(a2);//am not sure this   }   delay(20);   }     if(serial.available()>0){     if (serial.read()=='q') return;   }  }  int floatmap(int newvalue){     oldvalue...

Need help with datalogger from Arduino libraries

i have code log data sensors on sd library , have code geiger counter don't know how implement geiger code datalogger code. the datalogger code code: [select] /*   sd card datalogger  this example shows how log data 3 analog sensors  to sd card using sd library.  the circuit:  * analog sensors on analog ins 0, 1, , 2  * sd card attached spi bus follows:  ** mosi - pin 11  ** miso - pin 12  ** clk - pin 13  ** cs - pin 4 (for mkrzero sd: sdcard_ss_pin)  created  24 nov 2010  modified 9 apr 2012  by tom igoe  this example code in public domain.  */ #include <spi.h> #include <sd.h> const int chipselect = 4; void setup() {   // open serial communications , wait port open:   serial.begin(9600);   while (!serial) {     ; // wait serial port connect. needed native usb port only   }   serial.print("initializing sd card..."); ...