array

  1. Nulumia

    XF 2.1 Extend navTree array from custom options?

    I'm trying to add a few values (string/boolean) to the navTree array, following the typical title, href, attributes: $navTree: "home" => array [ "title" => "Phrase" "href" => "" "attributes" => [] ] "forums" => array [ "title" => "Phrase" "href" => "" "attributes" => []...
  2. Asser

    XF 2.0 Increased Not found error on webmaster tools (array)

    The last few days, I have noticed increased Not found error on google webmaster tools 913 not found error :unsure: all of them are caused by (array) :sick: The url often ends with array thus causing a 404 error. https://example.com/threads/text/array Please help me to fix that?
  3. F

    XF 1.4 Problem with parameters in Link

    Have a problem in my Forum. When i want to sort something (CreateDate Thread or Last Post, First Post) the Link is ever like this https://www.mydomain.de/forums/xxx.107/?_params=Array The Problem was ?_params=Array I have this issue on many pages in Xenforo. Need help please.
  4. CMTV

    XF 2.0 ->whereIds(...) Use IDs array order

    Hi! I have an ordered array of IDs gathered from complex SELECT query. Now I need to get entities with IDs from my array but in the order they are listed in IDs array! It can be done with this query: SELECT * FROM table WHERE id IN (5,4,3,1,6) ORDER BY FIELD(id, 5,4,3,1,6); But the porblem...
  5. Cyb3r

    Option with unlimited entries

    I have followed this tutorial and it's working fine but I don't know how to add more fields to that option dynamically, here's my template: <xen:controlunit label="{$preparedOption.title}"> <ul class="FieldChoices"> <xen:foreach loop="$preparedOption.option_value" key="$choice"...
Top Bottom