Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Latest CustomPages Panel

Asked Modified Viewed 7,715 times
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
  • Started this discussions
asked
Veteran Member

[mp]143[/mp]
0 replies

6 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Nice panel.

1 Question -
In the panel file you use....

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]require_once BASEDIR."maincore.php";[/syntaxhighlighter]

Does this mean you Do Not have to use...

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }[/syntaxhighlighter]

If this means you do not have to use if !defined...Blah, blah, because you are including the maincore can you please explain to me why?

Thanks Smoke

EDIT: BTW No Big Deal But The Folder Structure is Incorrect in the Archive.
Edited by Craig on 24-01-2011 00:53,
0 replies
K
KonickMultimedia
K
Free Online Games: http://www.gamescut.com
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 9 threads in the forums
answered
Member

Nice panel Smokeman

You could try to leave out the table if your ever making a new version, its not ment for making a layout ;)
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
  • Started this discussions
answered
Veteran Member

@FC: I use the call to /maincore.php because I use the function:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]checkgroup();[/syntaxhighlighter]
- in the code. As far I can see the folder-structure is OK. Maybe you can explain ?
- but his one:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }[/syntaxhighlighter]
- is a "missing" from my side... It should be there yes.

@KonickMultimedia: Can you explain a better way too ? - I dont understand - lol. smile
Edited by smokeman on 24-01-2011 01:23,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Yes it should be there.

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]
if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }[/syntaxhighlighter]

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]require_once BASEDIR."maincore.php";
if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }
if (file_exists(INFUSIONS."latest_custompages_panel/locale/".$settings['locale'].".php"wink) {
include INFUSIONS."latest_custompages_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."latest_custompages_panel/locale/English.php";
}[/syntaxhighlighter]
0 replies
K
KonickMultimedia
K
Free Online Games: http://www.gamescut.com
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 9 threads in the forums
answered
Member

Quote

smokeman wrote:

@KonickMultimedia: Can you explain a better way too ? - I dont understand - lol. :)


Well, you are using a <table> to create the design for this panel. You could have used CSS to achieve the same result

http://en.wikipedia.org/wiki/Tableless_web_design
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
  • Started this discussions
answered
Veteran Member

Ahh, ok yes I understand now. thx for explaining. I know that table's are "a bit" old now today - but I thought that <div> was "taking over" ?

Well, enough about that - ty again.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet