I'd like to have a new template and a new skin applied to a cloned browse/categories.php file. Seen here
http://fanforge.net/browse.php?type=categories2&id=1
as opposed to here
http://fanforge.net/browse.php?type=categories&id=1
The changes I made to the file merely added a 2 to three places
while($cats = dbassoc($subs)) {
unset($catinfo);
$count++;
if(file_exists("$skindir/categories2.tpl")) $cat = new TemplatePower(
"$skindir/categories2.tpl" );
else $cat = new TemplatePower("default_tpls/categories2.tpl");
$cat->prepare( );
$cat->newBlock("categoryblock");
$cat->assign("image", ($cats['image'] && file_exists("$skindir/images/".$cats['image']) ?
"<img src=""$skindir/images/".$cats['image'"]."" alt="".$cats['category'].""
title="".$cats['category']."">" : ""));
$cat->assign("link", "<a href=""browse.php?type=categories2&id=".$cats['catid'"]."">".
As you can see, it is not performing correctly. The sort is not disabling so it shows every story on the site. So, this is where I ask for help. Now, I will address the toggle button afterwards. Otherwise, I believe I know how to skin the new category page using the technique gotten from here (updated to a [mod release])
https://efiction.org/forums/index.php?topic=5865.0
I am rebuilding efiction! Join us on irc! #efiction at
I ran into a problem on my end trying to get this to work, that is of course a new problem. It seems the column number is defined under settings and not in the variables file so even if i could toggle between skins, I cannot switch between a 1 column view and some other number in this case 3. Thoughts? I have some of it showing under Animated within the default2 theme. Thanks again.
I am rebuilding efiction! Join us on irc! #efiction at