| jdc18 | http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_1 |
| jdc18 | in that example in the view part |
| jdc18 | and controller part |
| jdc18 | there is missing the ?> |
| helloworld111 | anyone here is using joomlisting |
| helloworld111 | i have a bug and dont know how to solve it |
| sepow | 'ello |
| sahilsk | does anyone here know, how to add this form in my site.i know, it can be done by php curl, library ,but i wonder if it's also possible with javascript or any client script . http://delhimetrorail.com/commuters/metro_fares.aspx |
| sahilsk | any other option beside php curl library?? and will my host charge extra for instllainng cURL ?? |
| helloworld111 | i have a bug and dont know how to solve it in joolisting |
| sahilsk | ?? |
| lynxsys | Hey all, anybody know a good hotel booking system for joomla? |
| helloworld111 | hotel reservation pro |
| lynxsys | is that the best? |
| helloworld111 | i have used it |
| helloworld111 | www.lubjanahotel.com |
| helloworld111 | or try jomres |
| helloworld111 | it is better |
| lynxsys | what are the main competition for it? |
| helloworld111 | someone can help me here |
| fLuxPA | hey, can you help me with something simple?\ |
| helloworld111 | tell me if i can |
| Cylindric | Don't ask if you can ask a question, just ask. Nobody knows if they can help if they don't know your problem. |
| fLuxPA | I would like to display a specific article, in a specific section of the frontpage (I already got the division where I want the article to be displayed) Any ideas? |
| fLuxPA | I ask, to see if anyone here is alive :P |
| helloworld111 | i have joomlisting installled and i have a bug there dont know how to correct it |
| Cylindric | fLuxPA: there are some extensions to do just that. |
| helloworld111 | Cylindric can u help me in my problem please if u have some time for me |
| Cylindric | fLuxPA: http://extensions.joomla.org/extensions/content-&-news/articles-listing/7528/details is one example I just found by a quick Google search for "article in module position" |
| Cylindric | jdc18: PHP scripts don't need a closing ?>. Just reaching the end-of-file is good enough. |
| helloworld111 | Cylindric can u help me in that please if u have time |
| fLuxPA | Cylindric: Thanks, didn't know how to search for it. I found some fancy rotators and didn't need that. Article in module position, never would've figured that out |
| Cylindric | helloworld111: I don't know anything about joomlisting. Never used it. |
| Cylindric | fLuxPA: that's always the tricky part - working out what to search for :) |
| helloworld111 | i think it will be a small bug, if i add more than 8 properties in a category it shows a blank page |
| helloworld111 | :( |
| Cylindric | submit a support ticket on their site? Dunno. Not used it. |
| fLuxPA | Cylindric: Thanks man, I really appreciate it. I started looking for joomla jdoc:include type trying to figure out how to do it manually :) |
| lynxsys | If im logged into joomla admin, then try to install a component what user credentials will attempt to create the dir on the server? |
| snellcode | lynxsys: if you use apache mod_php, then its the apache user |
| snellcode | usually.. but depends on your host setup |
| lynxsys | how do I know if I use apache mod_php? |
| snellcode | do a phpinfo() and see what it says for server api |
| snellcode | its in joomla i think under the system info tabs |
| fLuxPA | Cylindric: Have you used that extension? |
| Cylindric | No, I just had a quick look around |
| lynxsys | snellcode: under global configuration? |
| snellcode | help >system info |
| lynxsys | ahh |
| snellcode | whos your host? |
|
|
| lynxsys | me |
| snellcode | ok, then i guess you can set it to anything you want |
| lynxsys | yes |
| lynxsys | server api Apache 2.0 handler |
| snellcode | so its probably www-data or apache or nodody, depends on your server |
| snellcode | you can edit it in apache2.conf |
| lynxsys | so would that user have permissions to create a dir by defualt? |
| snellcode | depends who owns the folders |
| snellcode | and what the perms are on them |
| lynxsys | folder is owned by me as a user on the server |
| snellcode | in that case, they need to be set to 777 for apache to write to them |
| lynxsys | and i can create edit upload etc logged in via ftp |
| snellcode | unless you are in the same group as apache, and then just set group write |
| snellcode | if you're the only one on the server, 777 is not so bad |
| lynxsys | ok, so apache is a user on the server that need permission to create a dir on the server |
| snellcode | its when you have many users on the server it can be bad. but its better to not depend on 777, and set up good groups |
| snellcode | chown the folders to apache user |
| snellcode | or set them to 777 then it dont matter |
| lynxsys | I have set 777 but no luck installing component |
| snellcode | if you chown them to apache, then ftp user may not be able to write them |
| lynxsys | will try chown |
| snellcode | make sure your temp path is set in configuration.php |
| lynxsys | that could be the problem tmp path |
| lynxsys | chown didnt work |
| lynxsys | where should the temp path dir be? |
| snellcode | somewhere that exists and is writable by apache |
| snellcode | usually in joomla path /tmp |
| helloworld111 | anyone can help me how to add a lightbox effect to my main menu items |
| lynxsys | ok tmp path was the problem thank you snell code |
| PcGamersUnited | anyone here able to lend me some assistance with my joomla site? |
| PcGamersUnited | in the upper right hand corner underneath "whos online" I had the "live search button" which I disabled, but for some reason the overflow still remains and wont show anything I place there |
| PcGamersUnited | www.pcgamersunited.net |
| PcGamersUnited | I just would like to move the login/register module there...but nothing shows |
| PcGamersUnited | anyone? |
| helloworld111 | anyone can help me how to add a lightbox effect to my main menu items |
| Last message repeated 1 time(s). |
| jdc18 | hello again i have a question regarding the creation of components |
| jdc18 | about the Jview class |
| helloworld111 | jdc do u know how to add a lightbox effect to a main menu item |
| jdc18 | helloworld111: do you have an example |
| jdc18 | jquery |
| jdc18 | or any other javascript library would be a start |
| helloworld111 | hmmm |
| jdc18 | or css |
| helloworld111 | ok i have a dropdown menu and i need that when i click the dropdown item it opens in lightbox |
| Assassin38 | My site is having errors in the Main Log which I don't understand |
| Assassin38 | [Tue Feb 23 09:14:02 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function |
| Assassin38 | Anyone know what this means? |
| jdc18 | helloworld111: you mean like this http://leandrovieira.com/projects/jquery/lightbox/ |
| jdc18 | i need a little bit more info about that |
| jdc18 | you can change the css style |
| helloworld111 | wait |
| dank`` | guys with questions there is a joomla question website |
| dank`` | www.lmgtfy.com |
| helloworld111 | yeah smth like that |
| helloworld111 | the plugin |
| helloworld111 | i have it installed |
| helloworld111 | but how to make the menu item to open in lightbox |
| snellcode | with javascript |
| helloworld111 | oh i dont know javascript |
| helloworld111 | and php too |
| snellcode | then learn some javascript, problem solved :P |
| helloworld111 | oh thank you for advice :P i just needed now, |
| Assassin38 | Anyone know what this error means? (103)Software caused connection abort: mod_fcgid: ap_pass_brigade |
| jdc18 | so i have this problem i have been following the tutorial on the page on how to create a component |
| jdc18 | i am stuck in a part |
| PcGamersUnited | anyone able to help me? I cant find the code I need to delete in order to remove an overflow on my joomla site |
| jdc18 | // Perform the Request task |
| jdc18 | $controller->execute( JRequest::getWord( 'task' ) ); |
| jdc18 | if i leave this line it will show me a 500 error |
| snellcode | jdc18: check the error logs |
| Andy[1] | jdc18: what are you expecting to get? |
| Andy[1] | or rather, what are you expecting it do do? |
| jdc18 | just a helloworld |
| jdc18 | trying the tutorial |
| Andy[1] | link to the tutorial? |
| jdc18 | http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_2_-_Adding_a_Model |
| jdc18 | sorry |
| jdc18 | i created a module, and looking back it makes more sense that it is a component |
| Andy[1] | its fine |
| jdc18 | regarding the files, some files dont have a final "?>" |
| jdc18 | i thought it was a mistake of the tutorial |
| jdc18 | but when i downloaded the help files it is missing there too |
| jdc18 | but they run without problems |
| jdc18 | on checking some similar files on other components |
| jdc18 | some do have a closing "?>" php thing and others dont |
| Cylindric | jdc18: That should be fine. PHP doesn't require a closing ?> tag |
| jdc18 | really |
| jdc18 | cool |
| jdc18 | nice to know |
| snellcode | jdc18: if you're gettng a 500 error see if you can find the log that says why |
| Cylindric | It's not uncommon. Some people suggest it's a good idea, because you don't get any stray white-space after your PHP output. I've no idea how valid that theory is :) |
| snellcode | Cylindric: the issue is if there was any space at the end http headers get sent |
| snellcode | and then its hard to find where that is happening |
| snellcode | best practice it to not have closing ?> |
| jdc18 | i am looking at the logs of my apache server in my local machine i dont see any problem |
| jdc18 | ok nice to know |
| Cylindric | Okay, I wasn't aware of the "Best Practice" so didn't want to come down too strongly either side of the fence :) I just spotted that the Zend Framework Coding Standards Programmer's Reference Guide does say not to. |
| Cylindric | "For files that contain only PHP code, the closing tag ("?>") is never permitted. It is not required by PHP, and omitting itī prevents the accidental injection of trailing white space into the response" |
| jdc18 | nice |
| snellcode | yes. for classes, for sure, dont want to have it |
| jdc18 | 500 - Layout "default" not found |
| jdc18 | this is the error i have |
| snellcode | cause once headers are sent, you cant resend them |
| jdc18 | it is on the front page |
| snellcode | jdc18: do you have a file viewname/tmpl/default.php |
| jdc18 | yes |
| jdc18 | defined('_JEXEC') or die('Restricted access'); ?> |
| jdc18 | <h1><?php echo $this->greeting; ?></h1> |
| jdc18 | that is the only thing it has |
| jdc18 | wait |
| jdc18 | i think i missplaced the file |
| jdc18 | let me check |
| jdc18 | that was it |
| jdc18 | for some reason i misplaced the view folder on other level |
| jdc18 | thanks |
| jdc18 | regarding proper practices, i am using jquery-1.4, should i place it on /media/system/js/ or i should have it on my component folder |
| snellcode | using media is a nice idea. if everybody did that, then joomla core stuff could be moved out of the webroot |
| snellcode | i would use /media/myextension/... |
| snellcode | or media/mycompany/... |
| Andy[1] | Red-: Is your e-commerce out of beta? |
| jdc18 | snellcode: ok thanks |
| Andy[1] | jdc18: thats only good practice if you intend on letting other modules update your jquery version. |
| Andy[1] | :) |
| jdc18 | ok i get it |
| snellcode | you can use a cdn also |
| jdc18 | what is cdn? |
| snellcode | then you always have the latest version |
| Andy[1] | current document name? -_^ |
| snellcode | http://code.jquery.com/jquery-latest.min.js |
| jdc18 | ok cool |
| jdc18 | now that i am moving changing my module, mod_popupimages, i had a mod_popimages.php, which called the javascript files |
| jdc18 | $document = &JFactory::getDocument(); |
| jdc18 | $document->addScript( '/media/system/js/jquery-1.4.js' ); |
| jdc18 | $document->addScript( '/modules/mod_popupimages/mod_popupimages.js' ); |
| jdc18 | $document->addStyleSheet('/modules/mod_popupimages/tmpl/mod_popupimages.css'); |
| jdc18 | this is managed now on view/default.php right? |
| Andy[1] | jdc18: if your component is only small, don't bother with view/default.php |
| Andy[1] | it isn't always necessary |
| Andy[1] | it's your first component. Don't over-complicate it :) |
| Assassin38 | Does anyone know what this means? PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ixedts.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ixedts.lin: undefined symbol: executor_globals_id in Unknown on line 0 |
| jdc18 | haha |
| jdc18 | ok thanks |
| jdc18 | so it is not a problem if i do it directly on the component page right? |
| snellcode | fyi.. http://pastie.org/838875 |
| snellcode | for you jdc18 |
| snellcode | oops, on top of that have $doc =& JFactory::getDocument(); |
| jdc18 | thanks |
| jdc18 | cool |
| jdc18 | my own librariies should be in /media/myfolderjs |
Popular searches: