Recent content by Ajmal Salim

  1. Ajmal Salim

    File upload option on Admin panel

    No its empty. I have used print_r($_FILES); on actionSaveStore() method and it printed an empty array on console. My template code is as follows <xen:form action="{xen:adminlink 'store/saveStore', $store}" method="post" class="xenForm formOverlay AutoValidator" data-redirect="on"...
  2. Ajmal Salim

    File upload option on Admin panel

    I have checked a similar addon using image upload option. The addon is bdShop. But still I am getting false return value for XenForo_Upload::getUploadedFile('imagename'); ? Is there any permission needed? I have noticed a _preDispatch($action) method on the ControllerAdmin. Is there anything...
  3. Ajmal Salim

    create an option in admin panel to upload image to specific folder

    @Lawrence I am also stuck with this. Is this addon available for download so that i can check the code?
  4. Ajmal Salim

    Amazon Parser

    @AndyB Thank you so much for this addon. I am wondering if I could add target="_blank" for all urls and rel=nofollow attributes. Is that possible ?
  5. Ajmal Salim

    [TH] Custom Fields [Deleted]

    I have one default style and a custom theme. I have tried clearing all contents of the waindigo_footer_node_customfields and waindigo_header_node_customfields of both default style and custom style. The dropdown custom field is still showing up. :( @Jon W , Any suggestions for my problem ?
  6. Ajmal Salim

    [TH] Custom Fields [Deleted]

    But when I commented the both templates, it should not show up. right? But in this case, they are still showing !
  7. Ajmal Salim

    [TH] Custom Fields [Deleted]

    Yes. This is my waindigo_footer_node_customfields template now <xen:if hascontent="true"> <div class="pairsRows secondaryContent"> <xen:contentcheck> <xen:foreach loop="$thread.customFields" key="$groupId" value="$groupCustomFields"> <xen:foreach...
  8. Ajmal Salim

    [TH] Custom Fields [Deleted]

    I have tried removing the <xen:comment> tag from waindigo_footer_node_customfields and added to waindigo_header_node_customfields. But its still showing the same result as before. :(
  9. Ajmal Salim

    [TH] Custom Fields [Deleted]

    Thanks for the reply. You mean this message? Added new template waindigo_footer_node_customfields to allow custom fields to be displayed below the message content instead of above (just move the<xen:comment> tags). Can you specify exactly which file is to be modified?
  10. Ajmal Salim

    [TH] Custom Fields [Deleted]

    How can I make the custom fields appear below the Thread Description Textarea box? Its below the Thread Title now.
  11. Ajmal Salim

    [TH] Custom Fields [Deleted]

    @Kosuki07 Go to AdminCp -> Applications -> Node Tree - > [Select ur node] -> Thread Fields -> Mark your required fields.
  12. Ajmal Salim

    [TH] Custom Fields [Deleted]

    Hi, I am using custom fields for thread and I have two dropdown list. I would like to fetch these values and show them on thread_list template. How can I achieve that?
  13. Ajmal Salim

    File upload option on Admin panel

    Hi, I am trying to add an upload image feature for my addon. Is there any tutorials or references on how to upload a file using Xenforo Admin panel? I have found this and helped me to complete the Admin Template and Controller. But upon using this code, I am always getting false from...
  14. Ajmal Salim

    Fetching results from db from a static method

    Thanks. I figured it out :)
  15. Ajmal Salim

    Fetching results from db from a static method

    Hi, I am trying to fetch some data from the database and I need to return an array like this : Array (0=>'Snapdeal',1=>'Flipkart',) I am doing something like this : public static function getFeaturedStores() { $array = array(); $db = XenForo_Application::get('db')...
Back
Top Bottom