How do I add Challe...
 
Notifications
Clear all

How do I add Challenges to either a menu or a block?

3 Posts
2 Users
0 Reactions
1,179 Views
 Sue
(@sue)
Posts: 131
Estimable Member
Topic starter
 

URL to your eFiction: http://fictioning.net
Version of eFiction: 3.5.1
Have you bridged eFiction, if so with what?: No
Version of PHP: 5.2.9
Version of MySQL: 5 (ish)
Have you searched for your problem: Yes
If so, what terms did you try: Module menu add install challenges
State the nature of your problem: I can't figure out how to add Challenges to either the main menu (across the top) or as a block (is that the right term?) like the Site Info or Recently Added (this is my preference).
Do you have a test account for us? test/test

I finally managed to get Challenges installed and I'm now not getting any errors. However, I didn't have a Challenges Panel, so I had to create one. I've used the settings:

Name: challenges
Title: Challenges
URL to Panel: modules/challenges/browse.php
Level: 0
Hidden: unchecked
Type: B

I checked the Challenges directory and there wasn't a readme file.

Sorry if this should've gone in the Skinning area (I wasn't sure).


 
Posted : 15/04/2009 4:09 am
(@tammy)
Posts: 2577
Member Moderator
 

That should be right.  That should add an option to browser challenges.  There are other panels though

Challenges By ______ (Author Profile)

name: challengesby
title: Challenges by {author
URL: modules/challenges/challengesby.php
hidden: no
type: P

name: challengesby
title: Your Challenges
URL: modules/challenges/challengesby.php
hidden: no
type: U

name: challenges
title:Top 10 Challenges
URL: modules/challenges/topchallenges.php
hidden: no
type: L

For page links you'll need to use the pagelinks admin page to add one.


 
Posted : 15/04/2009 9:54 am
 Sue
(@sue)
Posts: 131
Estimable Member
Topic starter
 

Aha! Tammy, thank you so much.

I'll put my information in here, in case someone else gets stuck (or I forget and have to come back). I created a new Page Link in admin like this:

Name: challenges
Text of Link: Challenges
Link Access Key:
Link URL: browse.php?type=challenges
Link Target: Same Window
Link Access Level: All

Then, I edited the variables.php (I'm using a skin based on "elegance" YMMV) and added a menu item for Challenges:

  11 => 'challenges',

11 being the menu position - again YMMV.


 
Posted : 15/04/2009 5:43 pm
Share: