#1 Re: Feature Requests » News extension » May 12, 2016 9:58am

timbuckingham wrote:

You can call the getRecent method of the news module's class to return the latest 4 news items.

How to use the template in the news?
and /news/details/ 8    (id 8 to Tile)

#2 Re: Feature Requests » News extension » May 12, 2016 9:42am

You can restrict the number of news, for example, show only four last news?

#3 Re: Developer Help » Form Builder - Not Work (Error sent mail reguired ) » May 9, 2016 11:35am

timbuckingham wrote:

It looks like you have all the required PHP extensions (mysqli and gd). It's hard to say what could be causing $_POST to break without doing lots of testing.

FluxBB bbcode test
FluxBB bbcode test

#4 Re: Developer Help » Form Builder - Not Work (Error sent mail reguired ) » May 9, 2016 11:31am

timbuckingham wrote:

It looks like your server must have some kind of misconfiguration. It doesn't look like any POST data is getting through at all. The only other thing I can think of is that maybe somewhere else in your site $_POST is being destroyed before it gets to the process.php file.

maybe something is missing?
FluxBB bbcode test

#5 Re: Developer Help » Form Builder - Not Work (Error sent mail reguired ) » May 9, 2016 11:21am

timbuckingham wrote:

Unfortunately I'm not able to replicate what you're seeing. It looks like no POST data is being received.

Can you try doing adding this to the top of /extensions/com.fastspot.form-builder/templates/routed/btx-form-builder/process.php and letting me know what it outputs?

print_r($_POST);
die();

http://thefubon.com/contact

=Array ( )

#6 Re: Developer Help » Form Builder - Not Work (Error sent mail reguired ) » May 5, 2016 12:21am

timbuckingham wrote:

What version of Apache / MySQL / PHP are you running? Thanks!

http://m.cssdrive.ru/info.php

#9 Developer Help » how to make a slide from Photo Gallery » April 29, 2016 4:48am

userbot
Replies: 0

<? foreach ($photo_gallery as $image) { ?>
    <img src="<?=$image["file"]?>" alt="<?=$image["title"]?>" />
<? } ?>

does not work - how to set the fields in the admin?

FluxBB bbcode test

#10 Re: Developer Help » Activation menu "active" in the transition to it » April 28, 2016 9:54am

After updating to 4.2.10 all the problems are over! Super!

#11 Re: Developer Help » Fatal Error - <?=targetBlank($navItem["link"])?> » April 28, 2016 9:29am

timbuckingham wrote:

targetBlank is a function that is included with the example site in /core/example-site/custom/inc/required/utils.php

I realized - Thank you so much!

#12 Developer Help » Fatal Error - <?=targetBlank($navItem["link"])?> » April 28, 2016 9:20am

userbot
Replies: 2

<b>Fatal error</b>:  Uncaught Error: Call to undefined function targetBlank() in /home/thefubon/thefubon.com/docs/templates/layouts/_header.php:37
Stack trace:
#0 /home/thefubon/thefubon.com/docs/templates/layouts/default.php(1): include()
#1 /home/thefubon/thefubon.com/docs/core/router.php(444): include('/home/thefubon/...')
#2 /home/thefubon/thefubon.com/docs/core/launch.php(103): include('/home/thefubon/...')
#3 /home/thefubon/thefubon.com/docs/site/index.php(3): include('/home/thefubon/...')
#4 {main}
  thrown in <b>/home/thefubon/thefubon.com/docs/templates/layouts/_header.php</b> on line <b>37</b><br />

#13 Developer Help » Activation menu "active" in the transition to it » April 28, 2016 9:14am

userbot
Replies: 1

Could not write the code to the allocation page includes "uk-active" mode

<nav class="uk-navbar">
        <a class="uk-navbar-brand" href="<?=WWW_ROOT?>"><?=$home_page["nav_title"]?></a>
   
        <ul class="uk-navbar-nav">
        <? foreach ($main_nav as $navItem) {$active = (strpos($current_url,$navItem["link"]) !== false);?>
            <li<? if ($active) { ?> class="uk-active"<? } ?>><a href="<?=$navItem["link"]?>"><?=$navItem["title"]?></a></li>
        <? } ?>
        </ul>
    </nav>

#14 Developer Help » how to disable cache? » April 28, 2016 1:54am

userbot
Replies: 1

how to disable cach? not keeping files in the folder /cache/site.css

#15 Re: Developer Help » Image Library - You can select all objects? » April 26, 2016 9:37am

timbuckingham wrote:

There are plans to update the File Manager in BigTree 4.4 -- I'll be sure to note this request in the plans for those changes!

Remarkably, here are some suggestions.
For example indication Title separately.
It does not work in Russian

FluxBB bbcode test

he inserts the slug [site.com/русский]. it would be more convenient if the servants had been separated from slug
or language support - such as in WordPress

#16 Re: Developer Help » Image Library - You can select all objects? » April 26, 2016 9:30am

timbuckingham wrote:

No -- there is currently no support for selecting multiple images from the file manager.

It will ever be such an opportunity? for example, 20 pieces

#17 Re: Developer Help » Installing Instagram API » April 26, 2016 9:29am

timbuckingham wrote:

Connecting the Instagram API through the Developer tab allows you to use the BigTreeInstagramAPI class to make calls to the Instagram API.

if not too much trouble, please tell me how to set the output images from instagram

#19 Developer Help » Installing Instagram API » April 26, 2016 4:21am

userbot
Replies: 3

tell me how to install Instagram. I plugged it appeared my account icon. and what to do next?

#20 Re: Developer Help » How to add a "active» css, in navigation menu? » April 25, 2016 10:05am

timbuckingham wrote:

Did you set $current_url to be the current URL in your template? If not, it will be an empty string and strpos will always return true.

$current_url = BigTree::currentURL();

my tempalte

<?
    $current_url = BigTree::currentURL();
    $home_page = $cms->getPage(0);
   
    if ($bigtree["page"]["id"]) {
        $bigtree["page"]["title"] .= "&nbsp;&middot;&nbsp;".$home_page["nav_title"];
    }
?><!DOCTYPE html>

#21 Re: Developer Help » New category quotes and errors mysql » April 25, 2016 10:01am

timbuckingham wrote:

You will want to first add a column to the database table for the new field. Then it will appear when editing the form in a dropdown in the top right corner available to add. Then (if you want a paragraph) you'll want to change the field type to either Text Area or HTML.

add a text box

#22 Re: Developer Help » How to add a "active» css, in navigation menu? » April 25, 2016 10:00am

timbuckingham wrote:

You can see an example of how to check for the active status of navigation in the example site's footer beginning at line 17:

https://github.com/bigtreecms/BigTree-C … footer.php

No works in footer  and header

<? $main_nav = $cms->getNavByParent(0,2); ?>
    <? foreach ($main_nav as $navItem) { $active = (strpos($current_url,$navItem["link"]) !== false); ?>
         <a class="tf-menu <? if ($active) { ?>tf-active<? } ?>" href="<?=$navItem["link"]?>" <?=targetBlank($navItem["link"])?>> <?=$navItem["title"]?></a>
    <? } ?>

#23 Re: Developer Help » New category quotes and errors mysql » April 25, 2016 9:56am

timbuckingham wrote:

It looks like you've added a One to Many field (or Many to Many field) and didn't properly configure the field's options.

OK. how to add a new field?

#25 Developer Help » New category quotes and errors mysql » April 25, 2016 6:44am

userbot
Replies: 4

Notice: sqlfetch called on invalid query resource. The most likely cause is an invalid sqlquery call. Last error returned was: Incorrect table name '' in query — SHOW CREATE TABLE `` in core/inc/bigtree/sql.php on line 145

Notice: sqlfetch called on invalid query resource. The most likely cause is an invalid sqlquery call. Last error returned was: Incorrect table name '' in query — SELECT * FROM `` ORDER BY in core/inc/bigtree/sql.php on line 145

how to add a new paragraph
FluxBB bbcode test

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.