You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 16-02-2014 18:06:40

steebchen
Contributors
From: Germany
Registered: 03-05-2013
Posts: 121

short question

Does this make a difference?


$tile[] = array("bla"=>"bla");

and

$tile["asdf"] = array("bla"=>"bla");

I tried it because I currently develop something and there wasn't a difference, but just want to be sure

Last edited by steebchen (17-02-2014 00:22:21)

Offline

#2 16-02-2014 19:56:36

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: short question

Doens't make a difference, should be fine

Offline

#3 20-02-2014 17:13:21

steebchen
Contributors
From: Germany
Registered: 03-05-2013
Posts: 121

Re: short question

OK, so I have 2 questions:
1. I'm currently programming a windows GUI for this template, so I just have to click on buttons to create/edit tiles, can select what type it is and its type-specific properties. To do this, it would be nice if you could list me what properties for which type there are. For example:

Type img: img, label, labeltxt, ........

Type flip: img, imgsize, direction, url, text .....

Type ....: .... and so on.

Would be great because I dont know which properties work on which type, and so I can create the GUI (which I will share here if you want) nicely with tickboxes, radio buttons and so on.


2. The mobile settings are included in the config/general.php file. Can I delete the config/mobile.php file?

Last edited by steebchen (20-02-2014 17:29:00)

Offline

#4 20-02-2014 17:32:25

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: short question

Some are listed on the tutorials: http://metro-webdesign.info/#!/tutorials&acc=tiles

but an easy way to check the properties is by opening the core files:

if it's a plugin, go to the plugin dir and open plugin.php and on top, all the properties are listed in an array.

For normal tiles, open inc/tilefunctions and there are a lot of arrays with properties.

Offline

#5 20-02-2014 18:25:34

steebchen
Contributors
From: Germany
Registered: 03-05-2013
Posts: 121

Re: short question

Ah thats great, thank you.

My 2. question:
The mobile settings are included in the config/general.php file. Can I delete the config/mobile.php file?

Offline

#6 20-02-2014 18:50:08

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: short question

Hmm, I wouldn't do that. The file is included in index.php and mobile.php, so it'll give errors. If you do, you need to remove those references (on top of both files)

Offline

#7 22-02-2014 17:45:47

steebchen
Contributors
From: Germany
Registered: 03-05-2013
Posts: 121

Re: short question

Ok, and what classes can I have? I know 'noClick', but what else there is? I looked in the inc tiles but didn't found something

Offline

#8 22-02-2014 20:30:09

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: short question

also lightbox

classes are just HTML classes so it can be whatever you want so you can use custom CSS on your tile.

Offline

Board footer

Powered by FluxBB