Posts

Showing posts from September, 2010

MVC - Passing data between Controller and View via Model - Joomla! Forum - community, help and support

Image
hi there, im new joomla hav understanding of php. basically need make component joomla , after reading mvc tutorials did successfully  :d woow! however current problem: when access method in controller need set variable values , pass these view can assign them variables in layout. in tutorials says controller used call methods in model update data model is passed view , problem if access variable model in view model has been re initiated , changes made controller lost. let me show code in controller: code: select all $model =& $this->getmodel(); $model->setmydata();        parent::display(); in model: code: select all var $test= 'default'; function __construct() { parent::__construct(); } function getmydata() { return $this->test; }     function setmydata() { $this->test = 'hello model'; } in view: code: select all $word = $this->get('mydata'); $this->assignref('greeting', $word); note: ive tried accessing model using same code cont

How to use wait() in flex?

hello,   i working on flex builder 3. have 1 file animation of 3 sec , icons displayed on file. i want animation load first. icon list should load after animation. how can use wait() function here?   thanks , regards, hi, if correctly understand question, why don't add end of animation appearing of icons list?   if it's external animation can add effect set if visible.   another variant use timer. http://livedocs.adobe.com/flex/3/langref/flash/utils/timer.html More discussions in Flex (Read Only) adobe

Element TEMPLATE is undefined in FORM

i newbie coldfusion. i'm using switchbox create simple app allows me add , save html templates. i created app add , save events successful templates 1 eludes me.   my database following:   create table [acme5425].[template](     [template_id] [int] identity(1,1) not null,     [name] [varchar](100) collate sql_latin1_general_cp1_ci_as null constraint [df__template__name__6fe99f9f] default (null),     [notes] [text] collate sql_latin1_general_cp1_ci_as null,     [template_html] [text] collate sql_latin1_general_cp1_ci_as null,     [template_status_id] [int] null,     [created] [datetime] null constraint [df_template_created]  default (getdate()), constraint [pk_template] primary key clustered     here application code   <!--- ///////////////////////////////start of template section d coded 5/29/09  ////////////////////////////// --->     <cfcase value="templates">     <cfquery name="xxx" datasource="#dsn#" username="#dbuser#" p

sound objects in loaded swfs not playing

i'm working in actionscript 2.  have series of swfs sound objects.  works fine when play swf.  however, when load them loader, no sound.  help!!! when instantiate sound, instead of using like:   var s:sound=new sound()   use   var s:sound=new sount(this); More discussions in ActionScript 1 and 2 adobe

Thread: linux-image 2.6.31-20 black screen

i getting black screen on latest kernel upgrade 2.6.31-20. computer boots up, goes black after minute or two. now, booting previous kernel. heads up, amateur on linux, laymen terms nice. thanks! looks may not running 3d video driver ,but have 3d effects enabled desktop. after booting ubuntu ,on desktops panel goto , open "main menu-->system-->administration-->hardware drivers" , activate accelerated 3d video driver. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] linux-image 2.6.31-20 black screen Ubuntu

Guru Call - Adobe 9.1.1 Postscript Blowout

hi everyone   can please regarding postscript file adobe reader 9.1.1 generates printing, when call:   private declare function readfile lib "kernel32" (byval hfile long, lpbuffer any, byval nnumberofbytestoread long, lpnumber ofbytesread long, lpoverlapped any) long   we have created printer driver uses above function extract postscript file application (word, reader, excel etc) , use ghostscript convert postscript file pdf document.   everything working beautifully until installed adobe reader 9.1.1.   we found following 979k pdf document:   client application:                                                             adobe reader 7.1 postscript file size (after above call):                          1297k ghostscript pdf size (after converting postscript file):       979k   client application:                                                             pdf tops postscript file size (after above call):                          1296k ghostscript pdf size (after converting

How to hide TOC in aggregator?

Image
hello!   if have aggregator project how can hide toc there??   if hide toc in master project make own ...   if set toc 'overlay' in master project make static (and pushs content display...) ...   however, can have aggregator project without toc??   regards markus hi there   this appear functionality adobe captivate development team didn't anticipate users want. unless posts clever workaround, i'm going it's not possible achieve.   you (and others) should request feature next release may offer more flexibility.   click here visit wish form/bug reporting form   cheers... rick     click here adobe certified captivate , robohelp html training click here sorcerstone blog click here robohelp , captivate ebooks More discussions in Import/Export adobe

Joker Character for search function - Joomla! Forum - community, help and support

is there joker character in joomla search function? or there way create 1 if there isn't one? thx in advance greetz juiced what's joker character?  e.g. what's equivalent in msdos: * or ? if it's * in msdos, can use % sign. using keyword con% in joomla's search function might give results like: construction content connection conduct etc. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Where is the best place to upload extensions? - Joomla! Forum - community, help and support

yeah, guessed it, i'm newbie.  have installed joomla fantastico through cpanel , trying figure out file should upload joomla xplorer to.  have installed through site administrator ( http://www.mysite.com/administrator ) couple of times when upload file (xplorer) pulls of hosting files admin have removed installations.  wondering if should log hosting account , create file under public_html called "mysite" , change path extension uploaded.  when login site administrator , click on components under installers install directory is: /home/doublea/public_html/administrator/components/com_installer/component .  thinking if created file under public_html called "mysite" copy files administrator/components/com_installer/component underneath joomla extensions go place.  site working main site on hosting wanted put joomla explorer somewhere other root directory.  input appreciated. double a (the newbie) Board index Joomla! Older Version S

Interruptions PCINT

bonjour à tous. j'ai lu le tuto sur les interruptions et pour me familiarisé, j'ai fait le programme suivant code: [select] // arduino uno volatile int commande_led = 0; void setup() {   // port de sortie   ddrb |=(1<<ddb5); // pb5 high en sortie : broche 13   portb &= ~(1<<portb5); // pb5 low : broche 13   nointerrupts(); // interruption non autorisées   //interruption broche 8   ddrb &=~(1<<ddb0); // pin en entrée = 0   portb |=(1<<portb0); // pin high : pullup activée   pcicr |=(1<<pcie0); // sélection du port 0 = b, c = 1, d = 2   pcmsk0 |=(1<<pcint0); //   interrupts(); // interruption autorisées } //************************************************************** isr (pcint0_vect) // interruption sur changement d'état {   commande_led = 1; } //****************************************************************** void loop() {   if(commande_led == 1)   {     portb |= (1<<portb5); // pin 13 high     delay(500)

Error page (404, 403 etc) - Joomla! Forum - community, help and support

Image
hi all, i notice have error pages in templates/system folder, wondering how can make use of these, can find settings in backend. appreciate help. thanks here's documentation developed 1 of our ghop contestants outlining how create custom 404 or 403 page using joomla!. it's in open office - if don't have that, may have download (it's free tho.) amy Board index Joomla! Older Version Support Joomla! 1.5 General Questions/New to Joomla! 1.5

How to remove/edit Register link on login box - Joomla! Forum - community, help and support

Image
hi guys, need help, loked throughout , found other asking same questions no responses. i need either remove or change "register" link appears in login box because have custom registrations page using , register link going standard reg page. can please me. in advance, cristina just turn off registrations in global configuration remove link. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Display IPadress, doesn't work..

hey! i want arduino's ip address displayed on web page i'm not getting right. instead of printing 100.10.10.35, prints 556283684, doing wrong? code: [select] string message = "<html>....etc............"; message += (wifi.localip()); message += ".......bla..bla........</html>";   server.send(200, "text/html", message); code: [select] message += (wifi.localip()); try code: [select] message += (wifi.localip(0)); message += ("."); message += (wifi.localip(1)); message += ("."); message += (wifi.localip(2)); message += ("."); message += (wifi.localip(3)); Arduino Forum > Using Arduino > Programming Questions > Display IPadress, doesn't work.. arduino

MPX5700GP pressure sensor

Image
hello, i have problem gauge pressure sensor i found  2 different topics mpx5700gp https://forum.arduino.cc/index.php?topic=425830.0 https://forum.arduino.cc/index.php?topic=99381.0 an still didnt solve problems maybe sth sensor maybe code or arduino idk :/ im using arduino nano lcd , lcm1602 there code #include <wire.h> #include <liquidcrystal_i2c.h> #define backlight_pin 3 liquidcrystal_i2c lcd(0x27, 2, 1, 0, 4, 5, 6, 7); void setup() {   lcd.begin(16, 2);   lcd.setbacklightpin(backlight_pin, positive);   lcd.setbacklight(high);   lcd.home();   lcd.print("voltage");   lcd.setcursor (0, 1);   lcd.print("pressure"); } void loop() { // averaging noise removal   float sensorvalue = analogread(a0);   float voltage = 5000.0 * sensorvalue * (1.0/1024.0);  // mv   float pressure = ((((voltage / 5) - 0.04) / 0.0012858)/1000.0) ;  // kpa   lcd.setcursor (10,0);   lcd.print(voltage);   delay(500);   lcd.setcursor (10,1);   lcd.print(pressure);   delay(50

Anyone know of a bipolar DAC shield?

i'm looking dac shield(hopefully 4 channel) can output -/+ 5v signal , have @ least 12 bit resolution. i've looked around , haven't found anything, know of shield meet these specs? to around this, @ moment using mcp4725 , routing signal through diff amp give me bipolar voltage. thanks well, guess i'll answer own email. did find power dac shield here: https://www.tindie.com/products/visgence/power-dac-shield/ they output true positive , negative signal. Arduino Forum > Using Arduino > Sensors > Anyone know of a bipolar DAC shield? arduino

ShiftOut et CircularBuffer

bonjour, j'ai intégré la librairie circularbuffer pour pouvoir stocker mes données dcc (adresse et data) et les traiter ensuite, hors routine d'interruption. après dépilage du buffer et traitement des données, j'envoi des valeurs vers les sorties en utilisant la fonction shiftout (registres à décalage). or, cette fonction ne marche plus (j'ai vérifié, je passe bien par cette fonction et toutes les valeurs, data, clock, latch sont bonnes). n'y aurait-il pas ambiguité entre le buffer.shift() et le shiftout? postez un code qui met en évidence ce que vous racontez... Arduino Forum > International > Français (Moderators: jfs, Snootlab) > ShiftOut et CircularBuffer arduino

Thread: What window manager should I try next?

i running kde desktop after ubuntu minimal install. love kde, sometimes, bored wm, if know i'm saying. should try next? xfce, pekwm, gnome shell, etc? gnome shell nice. go spartan of openbox, have gnome-shell box running find myself using more often. slick , eye catching. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [all variants] What window manager should I try next? Ubuntu

Problem mit der selbst erstellten Klasse

hallo, ich hätte da mal ein problem und zwar ich mit den arduino nano rgb leds mit ws2812 chip steuern. um das programm kurz zu halten habe ich mir eine klasse mit der entsprechende funktion erstellt. der compiler selber erkennt bei den code keinen fehler und lässt sich der code auch ohne problem auf den arduino drauf spielen, doch leider passiert denn nichts. mein alternativer code ohne klasse mit derselben pin-belegung funktioniert ohne problem. ich hatte vorher auch schon problem wo ich erst das array erstellt habe und anschließend befüllen wollte, deshalb ist das als kommentar ausgegraut. wenn einer hier eine idee hätte wo der fehler liegt, würde ich mich freuen, da es mir hierbei das problem sich geht. ich sage schon mal danke und wünsche euch allen hier ein schönes restwochenende. mfg #include <adafruit_neopixel.h> #define pin         6 #define numpixels   7 adafruit_neopixel pixels = adafruit_neopixel(numpixels, pin, neo_grb + neo_khz800); class farbe { private:

Parallels Desktop for Mac

i thinking using parallels on mac check websites in pc environment , wondering experiences people have had program? recommend it? i'm interested in input experience.   thanks in advance! hi   that's do.   i have 3 virtual machines set - 1 xp internet exploiter 6 installed, 1 xp ie 7 , 1 windows 7 beta ie 8 (which, since they're similar, "pretend" vista testing tool too... mistake, can't company stretch vista licence @ moment!!)   don't have many gripes parallels, although find it's bit slow networking our local xserver. it's servicable. i've heard other virtualisation options have slower networking, can't confirm that.   hope helps   peter More discussions in Dreamweaver support forum adobe

Error Message

Image
i new arduino due. i've tried upload first piece of code. not understand error message: atmel smart device 0x285e0a60 found sam-ba operation failed an error occurred while uploading sketch can me solve problem? thank you. hi, welcome forum. please read first post in forum entitled how use forum. http://forum.arduino.cc/index.php/topic,148850.0.html   from gather; sam-ba operation failed -> you've connected native usb port,  you have 2 usb sockets, try other , 1 programming, other pure usb port. tom... Arduino Forum > Using Arduino > Programming Questions > Error Message arduino

How can I start and stop a song with a button?

i working on program supposed able randomly play 1 out of 5 songs when button pressed, however, want implement way able push same button turn song off, , after press change random song. currently, program can start random song pushing button, won't let me stop early. once end though, can press again change song. here program far: code: [select] #include "pitches.h" long randnumber; const int tempo=72; const int buzzer=7; const int button2=11; const int notespace=10; int eighth=tempo*6; int quarter=tempo*12; int half=tempo*24; int dothalf=tempo*36; int whole=tempo*48; int button2state=0; int lastbutton2state=0; void setup() {   pinmode(buzzer, output);   serial.begin(9600); } void loop() {   int button2state = digitalread(button2);     if(button2state==high){     randomseed(analogread(0));     randnumber = random(1,6);     serial.println(randnumber);     if(randnumber==1){       journey();     }     if(randnumber==2){       innerlight();     }     if(randnumber==

Thread: ready to throw my ipod out the ****ing window

uggghh, have been trying sync ipod ubuntu weeks , have had no luck. installed banshee , after few days of troubleshooting finaly got banshee recognize ipod when plugged in. unfortunately, when open ipod in banshee get: unable read ipod 2 hyperlinks: 'what reason this?' , 'rebuild ipod database'. when try rebuild database, able view music on ipod within banshee. can drag , drop files library ipod , appears work. until umplug ipod , check if new songs on there -- not , everytime plug ipod in same "unable read ipod" message in banshee , have rebuild if want see music in ipod again ... please me. windows 7/vista ****in joke; ubuntu great have god damn computer hacker sync ipod. best can hope drag , drop apple wants use itunes synch. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] ready to thro

How do I connect differential input amp to Arduino DAC?

i wanting connect 100w mono audio amplifier dac of arduino. amplifier uses tpa3116d2 chip  (http://www.ti.com/lit/ds/symlink/tpa3116d2.pdf) has differential input. the data sheet explains connecting 2 thus: quote to use tpa31xxd2 family single-ended source, ac ground negative input through capacitor equal in value input capacitor on positive , apply audio source either input. in single-ended input application, unused input should ac grounded @ audio source instead of @ device input best noise performance. this isn't clear me. is attached circuit diagram mean? the other way around. the ground can located   @ arduino amp's negative input should grounded through   capacitor, not directly connected ground. and...  100w amplifier, i'd recommend volume-control pot, during development/experimentation phase.    plus, might want lower power supply voltage amp and/or put resistor in series speaker keep power down reasonable levels.   you don't want

Thread: Are Ubuntu user's green?(Eco friendly)

i wondered if user's opensource perhaps more greener. recycle used toner/ink or dispose in landfill. how old electronics. , if do, recycle it. no, isn't political more responsible computer user. p.s. here live see lot of electronics in sidestreets. picks them suppose, why doing that? well, don't use ubuntu, current computer (a mac mini) apparently "green" desktop system there is. , if keep long enough want recycle it, it's apparently made out of materials recyclers love. Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe Are Ubuntu user's green?(Eco friendly) Ubuntu

Newline in Dropdown list box

is there way have content of dropdown list box have 2 separate lines?   the dropdown boxes tall enough 2 lines each list selection.   thanks, no, not possible.   if need text enable user make selection, wouldn't check box or radio button solution better?   steve More discussions in LiveCycle Designer adobe

Model not updating...please help.

the class below model in mvc triad. works fine when businessunits array populated manually( see commented block in constructor). however, when data downloaded mysql database using php script, businessarray not being populated , error(see attached screenshot) thrown. know 'listening/waiting'  download complete before populating businessunits array have no idea how it. please help.   package { import flash.events.eventdispatcher; import flash.net.urlloader; import flash.net.urlrequest; import flash.events.event; import flash.net.urlvariables; import flash.net.urlrequestmethod; import flash.net.urlloaderdataformat; public class model extends eventdispatcher implements imodel {   protected static var befields:uint = 7;   private var businessunitsloader:urlloader;   private var businesz:array;   protected var businessunits:array;   protected var chosenbusinessunit:uint;   //constructor    public function model()   {    /*    businessunits = new array();    businessunits.pu

property inspector cut off

the property inspector window content cropped right & bottom margins smaller window itself.  resizing window not help.  (see attached screen capture)   i know has been described in earlier posts.  using normal size system font 1920x1200 display.   this dw cs4 v10.0 build 4117 w/ winxp pro v2002 sp3.   dw cs2 worked fine.  installed cs4 , happens out of box.  tried resetting workspace layout, but  result same.   hopfully being stupid.  there setting font size within dw or cs4?  photoshop , illistrator fine.   thanks in advance.     i submitted following bug report. ******bug****** concise problem statement: steps reproduce bug: 1. open dw cs4 using out of box set up, or other workspace layout. 2. open page property inspector window open. results: the property inspector window content cropped right & lower marging smaller window itself.  resizing window not help.   expected results: i expected see content of windows. on same os install, cs2 worked fine.  using "normal sized

Can I submit a form as a pdf to workbench ?

we using email form of submission , making out exchange server extremely slow. know if forms can submitted in other way ?   i have been told http alternative not sure if can used submit entire pdf...   can provide me more information. aditya you can submit entire pdf on http.  determine gets submitted part of "submit" button properties on form.  have option submit as:   xml data package (xdp) pdf xml data (xml) url encoded data (http post)   regards steve More discussions in LiveCycle Workbench adobe

Thread: Lynx at Winter Olympics

http://www.vancouversun.com/sports/w...441/story.html http://sports.yahoo.com/olympics/van...v=ap&type=lgns Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe Lynx at Winter Olympics Ubuntu

Secuirty warning while accessing local server

Image
as stated in post, software developer 14+ years experence in desktop application development , bit of web development.  learning flash rather flex because environment own.   i trying run first real flash/as3 movie , in it, tries access local apache server call:   new urlrequest( " http://localhost:8042/backend.php ");   when run in debugger, security message seen in first screen shot. went settings , added localhost, see second screen shot, security message continues occur, after rebooting machine.    how test/debug code , allow data local web server?  critical because going developing ria gets data web server.   sam     in settings manager, click edit locations, add folder , navigate folder contains flash files project. More discussions in Adobe Animate CC - General adobe

Possible to have two audio files in one project?

Image
i'm using captivate 3, , creating demonstration of new product.  we'll have voiceover explaining functionality, have music playing in background.  possible in captivate? hi there   indeed it's possible. common actually.   click audio > background audio , choose background clip use. assign narration each slide @ slide level.   cheers... rick     click here adobe certified captivate , robohelp html training click here sorcerstone blog click here robohelp , captivate ebooks More discussions in Adobe Captivate adobe

What is qtcore4.dll?

i have cs4 in both 32 , 64 bit. my computer had problem , sent factory.  returned , said did reflash bios chip. most things seem work.  32bit version goes crazy.  looking above dll.  found 1 on web.  thenwanted 1 of qt family. i can start, pain. the 64 bit version not have problem, plugins don't work 64bit version. please tell me qt stuff is; can correct version, , put it.  or, perhaps 1 plugins use it. any appreciated.  running vista 64 bit , installed sp2 today.  (sp2 has nothing problem, occured before install). thanks. qtcore4.dll can found in c drive, program files (x86), overdrive. (vista 64 bit machine)  5/5/09 latest date. More discussions in Photoshop Windows (read only) adobe

Premiere halts rendering at 99.81% 5 times now

hi all,   the first few times i've rendered 2 , half minute h.264 mp4 file went smooth lately renders of 5 hours have been halting/crashing premiere cs3 when it's finish 2 pass vbr render. 99.81% close far.   what cause of premiere's render halt/crash when done? can me figure out why it's doing this?   i work on macbook pro, 2.6ghz, 4 gb ram, mac os x 10.5.7.   thank you, john try of these troubleshooting tips . cheers eddie More discussions in Premiere Pro CC adobe

Extra image in article layout - Joomla! Forum - community, help and support

i hope 1 can me out this. see attachment. whanna have image in every article. solved before in template using this solution great , shows image same name acticle that's been placed in /template/mytemplate/images. but........... problem when have article spaces. there has solution problem? is there maybe way how can print article alias in template? then can use field enter name of image , print in template. Board index Joomla! Older Version Support Joomla! 1.5 Templates for Joomla! 1.5

urgent::using ColdFusion MX7 in Internet Explorer 7.0

please help..   can please tell me whether there issues in displaying applications developed using coldfusion mx7 in internet explorer 7.0 please see following link hope may useful you: http://corfield.org/blog/index.cfm/do/blog.entry/entry/ie_update_and_coldfusion_mx_7 thanks. More discussions in ColdFusion adobe

How to turn off form field tab order numbers?

we have issue form field tab order numbers display on our forms.  trying determine causes issue , determine if there way hide tab order numbers.  display when opening pdfs , printed when printing pdfs.  if re-install acrobat (8 pro in our case), problem disappears while comes - months later.   i've verified numbers displayed tab order numbers opening forms , modifying tab order.  when modify tab order, numbers talking change reflect modified tab order.  (they appear little boxed numbers in upper left-hand side of each form field.)  i've attached standard w-5 form along screenshot of see when open it.   has else experienced issue , know if there work-around?  i've tried going through support did not resolution.   thanks in advance help! i did not see tab numbers in aa8. there related question week ago recall. there may solution there. More discussions in Acrobat Windows (read-only) adobe

creating Pdf problems

hi i have problem creating pdf freehand file include jpg image imported photoshop. while creating pdf imported image (which in colores) inverted greys , image getting ugly strips (not smooth). i tried import other image formats no lack. it's work same creating ps file , theb pdf through distiller.   i appriciate or tips this     thanks   yana i don't know why color jpg file export pdf grayscale. open in photoshop , check make sure it's normal jpeg file without compression or clipping paths.   in freehand's pdf export settings, image compression reduce quality of image. may cause of banding.   you should aware of many limitations freehand's pdf export feature. see technote.   http://go.adobe.com/kb/ts_tn_13496_en-us   printing postscript file , using distiller create pdf better way work. in case, make sure have selected "adobe pdf" or color postscript printer in print dialog. if select monochrome printer, ps file formatted printer , color images converted

Fehlersuche: Solarpanel mit Nachführung

guten tag allerseits, ich arbeite in meiner freizeit nun schon seit einiger zeit gerne einem programmgesteuerten solarpanel. dieses wird mit 2 gleichstrom-motoren gesteuert und der sonne nachgeführt. es sind 3 modi gedacht: automatik (er fährt alle 10s nach), testmodus (alle 1s) und handbetrieb über 4 taster soll auf/ab/links/rechts fahrbahr sein. der sonnenstand wird mit 4 ldr-widerstände abgefragt. verwendeter compiler: atmel studio 7.0 vor kurzem sind beim compilieren einige fehler aufgetreten. trotz ausführlicher fehlersuche, komme ich zu keinem ergebnis. es würde mich sehr freuen, wenn ihr mir helfen könnten! folgende fehler sind aufgetreten: zeile 44: 'output' undeclared (first use in function) zeile 48: 'input' undeclared (first use in function) zeile 57: 'low' undeclared (first use in function) zeile 74: 'low' undeclared (first use in function) zeile 74: 'high' undeclared (first use in function) es steht bei jeder fehlerhaften z