TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Paul Hayton
from: Phil Kimble
date: 2018-05-14 22:30:30
subject: Re: Odd Menu Behavior

Hi Paul,

Lets redefine what I am doing for clarity - creating a second theme. I have
the default theme & creating a second theme with customized menus &
display files (ansis).
My directory structure is 
/opt/mystic/themes/default
/opt/mystic/themes/newtheme
both have thier own text,script, & menus subdirectories.   

 PK>> I have 2 ansi text files, main.ans and mail.ans with exact same
 PK>> permissions. mail.ans is a copy (cp main.ans mail.ans). 
These are located in the newtheme/text/ directory

 PH> both are in the text directory and have the same permissions right?
Yes
 
PK>> In the Menu Settings, I have tried several differemt approaches, but
 PK>> mail.ans will not display.  main.ans displays no issues.
What I doscovered is that mystic is looking for the mail.ans file in the
/default/text directory MOT the /newtheme/text.

 PH> Are you trying to display mail.ans in a different menu or just change 
 PH> out the
 PH> main.ans for mail.ans in the main menu you're editing?
Customizing for a new theme

 PK>> And adding it into |DFmail doesnt work either.
 PH> Adding it where?
Editor->Menu->Settings

 PK>> I deleted the menu altogether, recreated, and still no luck. I delete 
 PK>> the mail.ans file & recreate it from main.ans, edit it in
& save using
 PK>>  the Mystic Ansi Editor, still no luck. Lastly, I created, from 
 PK>> scratch, a very simplistic text file using Mystic Ansi editor and it 
 PK>> still doesnt show. I am baffled...

 PH> Deleted which menu?
It doesnt matter if the ansis are in the /newtheme/text directory as long
as they are in the /default/text.
 PH> Does the mail.ans display OK in the ansi editor?
Nope.

I validated this by renaming the /default/ directory to BogusDef & no
screens would display under the newtheme theme. As soon as Mystic located
the ansis in default/text, it displayed. Both default & newtheme paths
are correct in the themes editor. Even with /opt/mystic/text directory,
Mystic is looking for the default theme when displaying text files (ansis)
that belong to a different theme. 

 PH> Best, Paul

 PH> -+- Mystic BBS v1.12 A39 2018/04/21 (Windows/32)
 PH>  + Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz 
 PH> (3:770/100)
Thanks for the help!!
Phil

--- Msged/LNX 6.1.2
* Origin: Bayhaus.net - Colorado Springs - Serving the FrontRange (1:128/2)
SEEN-BY: 15/0 19/36 34/999 90/1 116/18 120/331 123/140 128/2 153/7715 218/700
SEEN-BY: 220/60 230/150 152 240/1120 250/1 261/38 100 266/404 512 267/155
SEEN-BY: 275/100 280/1027 282/1031 1056 291/1 111 320/119 219 340/400 342/13
SEEN-BY: 393/68 396/45 633/267 280 640/384 712/620 848 770/1 801/161 189
SEEN-BY: 2320/100 105 3634/12 5020/1042
@PATH: 128/2 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.