I added a custom link back to the main page of my webpage. It shows up only in one skin. All of my skins are based off the same template but the new link only appears on the skin I was using when I added the custom link. I thought perhaps I need to be using each skin when I added the link, but when I switched and went into the Create Custom Link area, the link was listed. So now I'm confused. Why is it only showing up on one skin, when they are all the same skin styles, just different images?
Wolfie
http://www.darksigma.com/roytoys/fanfiction/index.php
In the other skins you have to put the link in the tpl. If you have a variable.php with the menu listed just add the name of your other home site. The reason the other skins doesn't have that link is because you didn't add it to the variable file in those skin folders. Some skins you have to add that to their header file, or default or index file.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
Or the menu block.
Okay this confuses me, mainly because I understand nothing about CSS and managed only because I know a little bit about html coding to figure out how to change the colors and add a graphic to the skin I was using. Please, assume I'm ignorant, cuz I am. *grin* I did not add anything to any .php to begin with. I only added the custom link using the admin feature. It shows up only on the skin I had active for myself at the time, which I have as the default skin. Since it is the default skin, is that why it is the only affected?
The rest of what you guys made absolutely no sense to me whatsoever, but I know Tammy has a link on doing custom links in the .phps. However, reading it, I still have no idea what it says. *frustrated sigh* This program is somewhat making my life easier (I don't have to manually code everyone's stories myself) but the skins....GAH! LOL! π
You need to read the "creating skins" docs that come with the download, or anything else like that (could be named differently).
.tpls are skin files. Sometimes you need to edit the tpl for something to show up on a certain skin, because the skin doesn't use the settings from the whole site.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Let's start with Tammy's suggestion of editing the menu block.
Login as admin
click on ADMIN->BLOCKS
Where you see Menu, click the options link
If your custom page is listed there, make sure you have it checked.
Click Submit
It should appear in your menu bar.
My suggestion was to add the link to variables. Open the variables.php file in each skins folder using notepad. The file for Desert brown looks like this:
<?php
$blocks["categories"]["status"] = 2;
$blocks["categories"]["template"] = "{image} {link} [{count}] <div>{description}</div>";
$blocks["categories"]["columns"] = 1;
$blocks["featured"]["status"] = '0';
$blocks["info"]["status"] = 2;
$blocks["menu"]["status"] = '1';
$blocks["menu"]["content"] = array (
0 => 'home',
1 => 'members',
2 => 'browse',
3 => 'search',
4 => 'login',
5 => 'browse',
6 => 'logout',
7 => 'adminarea')
8 =>'yourcustomlinknamehere';
$blocks["menu"]["style"] = 0;
$blocks["footermenu"] = array(
"title" => "",
"status" => "1",
"file" => "menu/menu.php",
"style" => 0,
"content" => array (
0 => 'help',
1 => 'rules',
2 => 'contactus'
)
);
$blocks["login"]["status"] = 2;
$blocks["random"]["status"] = 2;
$blocks["recent"]["status"] = 2;
$blocks["recent"]["tpl"] = 0;
$blocks["skinchange"]["status"] = '1';
$blocks["news"]["status"] = 2;
$new = "<em>New!</em>";
$displayprofile = 1;
?>
You would (I added in red above) add your custom link. Save and put this in your skins folder and it will show up for ever skin. But given this skin was written by Tammy, I'm going to guess her suggestion will work well, so try that first.
Did that make any sense to you?
barb
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
