Joomla! General Development Google Group

This is the main discussion list for software developers working on Joomla! extensions or on applications that use the Joomla! platform. If you have questions about how to build something for Joomla! or want to others about general ideas about Joomla! development, then please join us.
  1. Regarding file attachment in Contact Us page
    Hello I want to file attachment ability in "Contact Us Page".

    Is there any plugin to attach a file and email it from frontend.

    I am using joomla 1.5 version

  2. JPagination and SEF
    In my component am using a router to handle my sef url's and am having
    trouble with a paginated list generated by the component. JPagination
    (JRoute) is getting the SEF path segments out of order for the page links.
    For the form tag containing the pagination I have the following:
    <form name="search_form" id="search_form"
  3. Regarding - com_fulltextrss
    What is the working of " Com_fulltextrss".

    I have got an following error in servers error_log

    PHP Fatal error: Exceptions must be valid objects derived from the
    Exception base class in /home/ftpusr/public_html/admin istrator/
    components/com_fulltextrss/Jso n/Decoder.php on line 150, referer:

  4. Trace one joomla page
    hi friends,

    I want to trance one joomla page step by step from request to display. Also
    Xdebug is running in my localhost. what should I do?

    Please help. thanks

    Novinfard

  5. I can't log into the Joomla backend as administrator
    I can't log into the Joomla backend as administrator.

    I could try entering any username/password and l see the web page will
    only refresh itself without even giving out any error message.

  6. RE: [jgen] Digest for joomla-dev-general@googlegroups.com - 15 Messages in 11 Topics
  7. Multiple instances of Jpagination
    Hi folks,
    I'm currently working on sopme stuff for Joomla 2.5 that would involve two
    different instances of Jpagination. I'm under the impression that (among
    others) the variable limitstart can't take on separate values for each
    instance of the pagination. Am I correct? How should I juggle two (or more)
  8. Force change user passord?
    Hi,
    I making a bacth process to add new users into Joomla DB.
    Is there any way to force user password change to these users?
    Thanks
  9. Send user activation?
    Hi,
    Is there any option in Joomla or any way by code to re-send the
    activation mail?
    Thanks
  10. Validation error with mod_aicontactsafe
    When conducting a validation check on a website I'm developing, I
    found an error that I assumed was caused by mod_aicontactsafe -
    certainly a logical conclusion in my mind as the error disappears when
    disabling the mod. The error appears in part of some JavaScript code
    that creates a calendar input control.
  11. Joomla2.5:404 error in my component
    Hi,

    I have created one component in Joomla 2.5,its working fine in
    localhost,

    but same component when i have installed in my demo server its
    showing 404 error component not found.

    i don't knew what happened ??

    Please advice me about this issues.

  12. Load layout from another view
    Hi, I have some linked views, and I'd wish to load a layout inside another
    one.
    For example i have a list of orders, then in my customer view i'd wish to
    show the orders that belong to that customer only.
    Now, how can i load a layout from another view?
    Is there a way or i have to brutally require the file?
  13. SaveOrder doesn't work in backend - why?
    controllers/categories.php

    <?php
    defined('_JEXEC') or die;
    jimport('joomla.application.co mponent.controlleradmin');
    class gpLSControllerCategories extends JControllerAdmin
    {
    public function getModel($name = 'Category', $prefix = 'gpLS',
    $config = array('ignore_request' => true))
    {
    $model = parent::getModel($name, $prefix, $config);

  14. Joomla2.5 how to set access for different group in ACL
    Hi,

    Normally,ACL will have default access setting for every groups...

    For example:

    Author group will have only access for Create.

    Manager group will not have access for Configure.

    Administrator will not have access for edit/edit state.

    But for me i need to set default access for certain group when i

  15. JUser->delte() ?
    Hi,
    The JUser->delete methos deletes a user from the database? I mean it
    is deleten in all nedeed tables?
    Thanks
  16. costume field duplicated
    Aloha all together,

    I've created a costume field an that is now shown duplicated in some forms.

    protected function getInput()
    {
    $html = '<div class="';
    $html .= $this->element['class'] ? (string)$this->element['class' ]
    $html .= '"><span class="labeltitle">';

  17. Adding new path
    I want to add following mime types to an server.

    AddType video/x-flv .flv
    AddType video/ogg .ogv
    AddType video/mp4 .mp4
    AddType video/quicktime .mov
    AddType video/webm .webm
    Addtype video/x-m4v .m4v
    AddType audio/ogg .oga .ogg
    AddType audio/mpeg .mp3
    AddType audio/mp4a-latm .aac .m4a

    Please tell me the path where these new mime types are storing ?

  18. multimedia Joomla sites
    Can you please send me the joomla sites where multimedia audio and
    video files are used.
  19. My joomla 2.5 site("Ionosphere template provided by Rockettheme ") is not supporting module with in article
    Hi friends,
    My wesite "[link]" is not supporting the module
    within article .when i remove the {module [175] } line from the
    article it works well.Actually am using one form provided by chrono
    forms in contact us page.it doesn't even support the validations in
    that.and submenus are not visible when contact us menu is
  20. Storing a value associated with a component
    I'm working on a component which acts as a wrapper for a 3rd party
    product.

    As part of the component I want to be able to install the latest
    version of that product, and then keep track of the version so that I
    can later check whether it is still up to date.

    To do that, I need somewhere to store the current product version.

  21. Re: [jgen] Catch fatal error?
    One way to do this is simply to do a query on that VIN first, before
    trying to add the row. That way, there is no database error and you
    can do what you like with the result. Good luck. Mark
  22. module caching
    hello all!
    i am new to development so i believe for most of you the answer to my
    question will be very common.
    i recently downloaded module that displays thumbnails of certain images.
    this module doesn't have implemented caching option, but i would like that
    to speed up my site a little bit.
    i already put this code in xml file of the module:
  23. controller.php file is not working
    Hi,

    I am creating one component in Joomla2.5 , Right now the
    controller.php file is not calling.

    <?php

    defined('_JEXEC') or die;

    jimport('joomla.application.co mponent.controller');

    class mycomponentController extends JController
    {

    public function display($cachable = false)
    {

  24. video not found or access denied
    I have " JW Player " for website.
    But i have get this error message "video not found or access denied".
    also checked for audio fil but it is correct.
    Please give me the solution.
  25. Joomla and webservices
    Please help me, where can I find info on Joomla 2.5 webservice interface?
    The webservice is built in component or lost in version 2.5?
    The problem is that different environments to use this webservices.
  26. Joomla Router + JRoute + multi languages
    Hello,

    Currently is there a way to manage in the joomla router of a component,
    multi-languages links ?

    If on the same pages, some links should be in english, some in french, some
    in spanish.

    And in your SEF URL, you have some JText::_('MY_DEFINE'), this will be
    translated all the time in the current language and not in the URL language

  27. Load language ini file in a php variable ?
    Hello,

    Is there a built-in function or code in joomla to be able to load all
    translations of a language file in a php variable ?

    I need to be able to get at the same time the translations of a language
    file in different languages. So I would like to load all the translations
    in a array indexed by the language code.

  28. Hit me!
    I want to remove "hits" from all articles.
    The global setting of article is set to "Hide" on "hits".
    This works on main page but if you click on the title or read more, and you
    will get "hits".
    Also, when you click on the "print" icon, "hits" appears.
    There are two other settings for "hits" on articles: on menus and
  29. Regarding - Music player for websites
    How to play aac files on JW Web music Player.

    Please tell me the web player which is useful for both audio and
    video.

    I needs web player mostly for ( MP3,MP4,3GP,AAC) files.

  30. cross checking tables?
    I would like to make sure the data being saved refers to an item whose
    parent owns it. Basically:
    TableA
    id
    child_id
    parent_id
    TableChild
    id
    parent_id
    TableParent
    id
    user_id
    TableA may have neither child_id nor parent_id, parent_id and not child_id,
    or both ids.
    In the model for my A entity, I tried to pull up the models for my child
  31. Tasks implementation through getting common URLs and SEF
    Hi there!
    Such a thing. I'm just a beginner and still can't find any solution for
    2.5. I don't understand how to treat tasks when URL parameters switched to
    SEF. If I use common URL that's OK, I set a method that named just like
    task name and Joomla! handles it. But if I try to do the same using SEF I
  32. Variables for view - how can I get them?
    Hello!

    I would like to have some params within my component's view.
    I looked at:

    [link]
    [link]

    It's almost OK, but ...

  33. frontend menu file
    Aloha,

    is there a how to for creating the metadata.xml file? Didn't found good
    information on docs.j.org …

    vg

  34. Regarding - Cache system
    How to work with caching in joomla .

    If i used xcache then in which folder data is stored.

    Please help........

  35. Wiki Wednesday 9 May 2012
    Thanks this week go to Brian Teeman for taking on the task of killing
    orphans! That is, flagging orphaned pages on the wiki for deletion.

    All tasks from the last two weeks are still open, so don’t be shy, if you
    fancy helping us out, just get started.

    Here are this week’s tasks:

    Task #6

  36. JForm
    Aloha,

    I'm using the new jform class and want to generate a calendar field. It
    works till the thing that the today date is not shown on loading. I've
    found $this->value == now in the code so I tried to use that but several
    ways I tried didn't work …

    <field
    type="calendar"

  37. menu item access control
    The entity I work for has me working on modifying Joomla to add finer
    grained access control for menu items. Currently, the permissions for
    editing menu items is either all or none. This is unlike the permissions
    for articles which can allow for editing only some of the articles. A look
    at the code explains why.
  38. passing parent id when adding child items?
    I've had some trouble getting this to work - basically, I have a list of
    items, and I click a link on that list to get to a list of child items.
    From there, I want to be able to add a child item, and I need to pass the
    parent id along so the new child can be associated with its parent.
    The other part I need is for the parent id to be available to the child
  39. Error uninstalling package
    hi, i have an error that's driving me mad.
    I have created a package, made by a component and a plugin.
    When i try to install/update it, there are no problems; but if i try to
    uninstall it, everything goes bad.
    It seems that the uninstaller won't trigger the uninstall queries, so when
    i try to reinstall it, i got a db error (since i have some insert query to
  40. Component Icons
    I have a simple component that installs fine and works as expected BUT
    my icons don't show in the Component menu and/or sub menu when I'm in
    any other component the Admin area. When I am in my components
    screens the icons appear, both in the menu and on the header of the
    page no problems.

    What is the trick to having my icons showing against my component menu

  41. How to play MP4 file on flash player
    How to play MP4 file on flash player
  42. Regarding Podcast Manager
    Hello all

    Can anyone tell me how podcast manager in joomla 1.5 works.

    Is there any component available on joomla site

    Thanks
    Prashant

  43. Debugging Joomla CLI?
    I'm working on a Joomla CLI script, and am having problems trying to debug
    (eclipse/xdebug). The CLI script launches from the command line just fine,
    but when I debug it from within Joomla (as php cli), The script exits with
    the following error:
    Database connection error (1): The MySQL adapter 'mysqli' is not available.
  44. Joomla module displayed on external website
    I have a client with several websites - not all Joomla sites, but
    we're working on that. They have a header with general info and links
    they want to display on all of their sites. Adding it in Joomla is
    easy, it's basically a fancy menu module. How can I display that
    module on other websites so that one admin can control the menu from a
  45. How to display some XML datas in a php file ?
    Hi all,

    I would like to recover some data of the XML file to display them with
    PHP :
    <author> .....</author>
    <version> ....</version>
    etc

    I've tried this :
    [code]<?php echo $this->xml->version;?>[/code]
    I've got this notice :
    Notice: Trying to get property of non-object in C:\wamp\www\test-seo

  46. Regarding - Site runs at low speed
    Hello all

    My sites network traffic 6132 packets. I think it is too large .And my
    site becomes slow.

    Can anyone tell me why this happens.

    And how to minimize these network traffic.

    .

    Thanks
    Prashant Birajdar

  47. Joomla Registration Form redirect to Paypal
    Hi!
    I'm using default Joomla registration form. I want, when user submit the
    registration form then paypal should be called... Please tell me how can i
    implement this. Thanks
  48. Problem with pagination and $limitstart
    My component's list model is no longer providing a $limiststart or $start
    to the model using JModelList
    You can see if working at [link] -
    [link]
    Try to paginate through the list - in the link at the bottom the correct
    $start value is displayed but ignored in the model. This also happens if a
  49. HTML code in options?
    Hi,
    I have a "textarea" field in the "config.xml" because I want to add an
    option where the user can type a custom HTML.
    But when I place the HTML and click "Save & Close" button, when I open
    the options the field is empty!
    Anybody knows why?
    Thanks
  50. Make JDatabase::replacePrefix() public
    When debugging components it is useful to output the query using the
    getQuery() method. However the output still retains the table prefix
    placeholder (#__).
    It would be good to be able to output the query with the prefix
    substitution already done.
    The call $db->replacePrefix($db->getQue ry()) will not work because the