#1 Re: Developer Help » Some pointers please » April 13, 2015 5:31pm

I know enough PHP, HTML and CSS to get by, though I'm no web programmer, I've done a little (hence volenteering to do this). I'm very experienced at C, Python, C++, assembler, Delphi, VHDL, Linux.
I'm just trying to understand what BigTrees does and does not do, and the steps required. I'm sure others will want the same answers.

Perhaps you are right in suggesting BigTree is not for us. I'll cirtainly look at WordPress, though I'd still like to better understand what needs to be done to get our site running in BigTree, from what I've seen so far it does not seem that much.  I hope the problems are just that of starting out.

Without doubt, what we ultimately want is going to take some programming (e.g. we need QR codes). But that effort has to be directed as this is not my day job. I'm trying to get the right information so that I set off down the right path at the outset and the subsequent effort is well spent.  Anything I create needs to be well documented as I'll not be maintaining it.

The people I am doing this for are not at all technical, so it worries me that I might leave them something too difficult to maintain, especially if the documentation is light.  If the documentation does not exist on how to create and maintain a BigTree site, I'm going to have to provide it!  Though I'm happy to share anything created in that process.

#2 Re: Developer Help » Some pointers please » April 13, 2015 6:49am

Hi,

Arghhh, I'm still going in circles.

I've installed the 'Trees' demo site in parallel with my own efforts and I'm trying to understand the process to create anything other than a simple static page.

Perhaps what we need is a step-by-step walkthrough of how the Trees Demo site was built that we can follow as a learning exercise.

I'm probably being a bit slow here, but I can't seem to work out what is done for us by BigTree and what bits we need to complete ourselves.
Also, what order to build things in.   Modules, Templates, Routes, Callouts,..... it's all a mistery.
I can see various .php files appearing in the code tree, though these seem to be mostly empty placeholders.  Surely the point of selecting a CMS is to try to avoid having to learn CSS and PHP, with BigTree is that inevitable?

I can see the PHP in the Trees demo does some CSS in the form of div classes.  Are these styles predefined by BigTree, or indistry standards, are they documented or do I need to define them somewhere?

Sorry for being a bit of a noob.

#3 Re: Bug Reports » Slash missing on Import / Edit Image » April 12, 2015 10:34am

Server is Linux / Ubuntu 14.04.2
MySQL and Apache is as-bundelled
BigTree is from dist, though I also tried Git head with the same results, both installed is minimal and as per instructions as I'm no web programmer.

Any way of getting the value of static_root to print in a page to see how the edit/import dialog is seeing it?

Ah, hang on, that is strange.....
I just tried it again on a new page and the problem has gone away:  Client caching issue perhaps?
The slashes were missing from the install, I had to edit the config after install to correct the default URLs.  I had restarted apache several times yesterday.

#4 Re: Developer Help » Some pointers please » April 12, 2015 10:22am

Hi Tim,

Thanks for the info, that has helped a lot.   I'm sure there will be more questions though....

j.

#5 Re: Bug Reports » Slash missing on Import / Edit Image » April 12, 2015 10:16am

select file from bigtree_resources;
+-------------------------------------------------+
| file                                            |
+-------------------------------------------------+
| {staticroot}files/resources/muckleburgh-top.jpg |
| {staticroot}files/resources/tank-front.jpg      |
| {staticroot}files/resources/tank-strip2.jpg     |
+-------------------------------------------------+
3 rows in set (0.00 sec)

#6 Developer Help » Some pointers please » April 12, 2015 6:26am

JayMoog
Replies: 7

Hi,

So I've got a (sort of working) BigTree site, looking good so far.

Though it has no content, what next?
I'm having trouble finding any examples other than the 'Trees' online one, and I can't see the source code for that.

What I need:
We want to use BigTree to create an interactive catalogue for a museum.  To start with this will feature a very small subset of the artifacts.

We have an existing database of artifacts (to which we will add), and want to use bigtree to manage that - forms perhaps?

1:  Example of create a DB frontend form.

We then want pages to be created such that the URL (for example  http://museum.com/artifact/12345) will generate a page from that database artifact with ID 12345.
It should include text and pictures and links to related artifacts.  The pictures are either stored as blobs in the database or as files from BigTree resources depending on what is possible.

2:  Example, how to generate a page dynamically from database records.

Any help, examples, pointers appreaciated.

Is there a BigTree wiki?

#7 Re: Bug Reports » Slash missing on Import / Edit Image » April 12, 2015 3:22am

Hi,
Yes, assuming the environment.php file is being read correctly both static_root and www_root have a trailing slash.
The domain name does not.
J.

#8 Bug Reports » Slash missing on Import / Edit Image » April 11, 2015 3:27pm

JayMoog
Replies: 7

In the latest Git, when I upload image file and place them on a new page, using "Unsert / Edit Image" the default URL is missing a slash.

I don't know if this is a configuration issue or a bug, but it's a fairly generic new install.

The url reads as
http://domain.bizfiles/resources/filename.jpg
rather than
http://domain.biz/files/resources/filename.jpg

Thus the image draws as a broken image link in the page.

Board footer

Powered by FluxBB

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