Forum

Question reguarding...
 
Notifications
Clear all

Question reguarding custom page

Page 1 / 4
Methen
(@methen)
Trusted Member

When you create a custom page just where is it suppose to show up at I created one but did not see it any where
Iam using the css skin is there some place else I need to turn it on ?

Somebody is asking for a Hinne Whooping!

Quote
Topic starter Posted : 29/10/2009 1:24 am
Lyndsie
(@lyndsie)
Member Moderator

The page is probably there. You'd need to add it to your menu if you want it to appear there. In Admin > Custom Pages it tells you the format for the skin variables. I believe it should create the page link automatically, so then you can go into the options for Menu block and check it to add it. Although I think that skin might define its menu in the variables.php, in which case you'd add it there. I think you'd add _link to the end of whatever the page's name is (name, not title). See the wiki page "how to change the site menu" for more info.

ReplyQuote
Posted : 29/10/2009 1:32 am
Methen
(@methen)
Trusted Member

Ok so lets say I want to added  it to the tool bar somewhere for every one to see like next to the browse or help how do I do that ?

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 29/10/2009 2:58 pm
Lyndsie
(@lyndsie)
Member Moderator
Methen
(@methen)
Trusted Member

Ok Here is what I did so far

I created a Test custom page I tool that link to the custom page and added it to both link boxs in the add page link section as there were two boxs for links  and I did not know which one to use after

I created it in the link section it was in the link menu I clicked on it and it open up just fine but iam having a problem adding it to the variables phpmenu  what ever I try just gives me a blank page

So I have to put the default variables php back to get ot to work again

On the link you provided where it says The Third Option: custom links can you show me a example of how it shout look I tried the way it normal looks and with curly brackets but when I go to check allIi get is blank page so I hae to change back to default

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 29/10/2009 8:55 pm
Lyndsie
(@lyndsie)
Member Moderator

You shouldn't have to make a page link for it. So say you have the test page titled Test that is also named test (these are two different fields and the distinction is important). What you would use would be then test_link or {test_link}

This is the appropriate section of CSSZen's variables.php.


$blocks["menu"]["content"] = array (
0 => 'adminarea',
1 => 'logout',
2 => 'login',
3 => 'search',
4 => 'tens',
5 => 'browse',
6 => 'members',
7 => 'home');
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
"title" => "",
"status" => "1",
"file" => "menu/menu.php",
"style" => 0,
"content" => array (
0 => 'help',
1 => 'rules',
2 => 'contactus'
)
);

If you want it in the top menu, you would do something like this:


$blocks["menu"]["content"] = array (
0 => 'adminarea',
1 => 'logout',
2 => 'login',
3 => 'search',
4 => 'tens',
5 => 'browse',
6 => 'members',
7 => 'home',
      8 =>'test_link');
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
"title" => "",
"status" => "1",
"file" => "menu/menu.php",
"style" => 0,
"content" => array (
0 => 'help',
1 => 'rules',
2 => 'contactus'
)
);

See where I added it as an additional eighth link?

ReplyQuote
Posted : 29/10/2009 10:44 pm
Methen
(@methen)
Trusted Member

Well Iam getting closer atleast the page does not crass like before  but there is noting in the top bar it is  the same as before and yes I refreshed  just to comfirm when you said test_link  you meant that exactly and not to add the actual link where says link at correct ?
I also tried it with the link same results

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 30/10/2009 12:13 am
Lyndsie
(@lyndsie)
Member Moderator

Yes, exactly as I typed it in the example. You could copy and paste that.

If it's not working I don't know what to tell you. I'm not following what you're saying about the pages disappearing or going blank. You could fill out the support request template like you're meant to so that I can at least see your website's URL, or if that's not possible screenshots would be good.

The only thing I can think of is to make sure you understand that anything in curly brackets goes into the .tpl files. The variables.php file is just that - PHP. It has different rules.

I'm not sure what I can contribute beyond recommending a really in depth reading of the documentation, and suggesting looking it over before attempting anything to try to get an idea of the system. But then I did write most of the wiki articles I linked you to so I'm not sure I've got much to offer beyond repeating what's already there.

ReplyQuote
Posted : 30/10/2009 4:12 am
kali
 kali
(@kali)
Reputable Member

I noticed that you downloaded my skins. Did you read the README.txt?  Because a lot of my skins have hardcoded elements.

Skins made by Kali are no longer supported!

ReplyQuote
Posted : 30/10/2009 10:25 am
Methen
(@methen)
Trusted Member

I am reading the manual cause Iam missing something,
Kali I did download one of your skins but iam using the csszen default
for right now until I get this thing figured out.

I know I did something worng I just got to figure out what it is.

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 30/10/2009 6:12 pm
Methen
(@methen)
Trusted Member

Ok this is what I have do I removed the links I created in the add link section as you said I did not need them
I deleated and recreated the test in the custom pages I changed the variables exactly as you shown
the page loads up ok I go to the block section but there is nothing new there

at the bottom of the custom page there is the following:

For the URL of your custom page, you may use either viewpage.php?id=ID or viewpage.php?page=NAME where ID is the ID number of the page or NAME is the name of the page.

Iam not certain about this part or what iam suppose to do here.

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 31/10/2009 2:07 am
Tammy
(@tammy)
Member Moderator

You'll get more help and better answers if you supply the information requested in the support request template stickied at the top of this forum.  Specifically, if we can SEE what you're doing by you giving us a link to your site, it's much easier to help.

ReplyQuote
Posted : 31/10/2009 3:03 am
Methen
(@methen)
Trusted Member

Please  provide me a link to it as I do not see it.

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 31/10/2009 4:00 pm
Elle
 Elle
(@jenny)
Honorable Member

https://efiction.org/forums/index.php?topic=6319.0 It is titled "Support Request Template". 🙂

archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

ReplyQuote
Posted : 31/10/2009 4:24 pm
Methen
(@methen)
Trusted Member

http://allbridges.info/test/

Version 3.51
No Bridge
PHP version 5.2.11
MySQL version 5.0.81-community
yes
modafying the veriables file
I can not get the custom page to be added to the block section so that I may add a shortcut
to the tool bar at top so that other people will have something to click on
Yes I have a test accout set up

Somebody is asking for a Hinne Whooping!

ReplyQuote
Topic starter Posted : 31/10/2009 4:59 pm
Page 1 / 4
Share: