*

Recent

Author Topic: questions/comments  (Read 4548 times)

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
questions/comments
« on: September 03, 2011, 07:32:17 PM »
First I have one comment about your demo template in A LOT of your tables you put width=x width=x instead of width=x height=x making alot of the images and tables messed up and not lined up with each other.

Now my question is where is the categories called? Like you got default, arcades, and blog and depending on what page you are on depends on what categories you see. I wanted to make it so categories where displayed on all pages but the blog but i couldn't find where it was called so i actually had to temporally edit the default one to be the same as the arcades one. Now i know that right now i have all the pages but the blog displaying the arcades so it shouldnt be a big deal however i wanted to know in the case that i didnt want them displayed on a new page i make or something.

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: questions/comments
« Reply #1 on: September 04, 2011, 02:34:39 PM »
Yes, that it is, and hopefully that will be corrected in the next version release. Been bugging me for a while now lol.

The only page where a list of categories is called and then a sample of games from each is displayed is the main landing page, base_home.php. There is a list of links to each category displayed by the main template file, template.php, by calling /includes/arcadesubmenu.php. It is only displayed in the arcade pages though, not in the blog, user pages, etc.

Is that the info you were wanting? If not, please explain.

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: questions/comments
« Reply #2 on: September 05, 2011, 01:12:26 PM »
well then where is defaultsubmenu and blogsubmenu called?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: questions/comments
« Reply #3 on: September 05, 2011, 01:34:09 PM »
Which menu is called is decided by the switch() in the main index.php file. Which action is listed in the $_GET[] variable dictates which sub menu file is called using include(). Each sub menu file holds a single function submenu1(), which is run in the main template file, template.php in the template folder chosen. The submenu2() is also handled the same manner, but nothing is done with it at present(its for future expansion).

That what you are looking for?

It was done that way to facilitate adding in a lot more that we have not brought forward yet. There is a forum add on that is almost finished for starters, but many things besides it. I could show you a sample if our hosting had not gone away. Unfortunately though, the hosting company decided to do away with its semi dedicated offering and almost everything is now in the process of being moved to a new host. I'm currently moving one arcade site based on this script right now that is already in day 5 of moving and its going to take some time longer. It has almost 11,000 games installed on it, and weighs in at over 10 gb of files(prob closer to 15gb lol). So I probably won't be able to show ya what I mean anytime soon :p

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: questions/comments
« Reply #4 on: September 05, 2011, 05:38:01 PM »
if it helps im using the beta because my submenu1 and submenu2 have code in them in all of them except for the default ones

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: questions/comments
« Reply #5 on: September 05, 2011, 07:42:08 PM »
OK, I just checked. Yes, the arcade submenu 2 does have some code in it. The blog sub menu 2 only has an empty function in it. The same is true for the 2.0 release and 2.1 RC. But they should be called/used in about the same fashion if I remember right. THe main index.php file calls a set based on the switch() which decideds based on what the variable $_GET[] contains.