HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Zone

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#89705 (In Topic #18194)
Avatar

Well-settled

In upper and lower case

How do I do a zone in upper and lower cas like.
http://fred.com/FRED/
http://fred.com/fred/



Back to the top
 
Posted
Rating:
#89847
Avatar

Community saint

Greetings,

For the actual file/zone name, If I Recall Correctly™, upper and lowercase do not apply.

So here's what you do:

1.) For code name, you do something like fred1 and fred2 (for the two different zones).

2.) For title, you do fred and FRED (for the two different zones).

That should do the trick I think.

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#89867
Avatar

Well-settled

If I make a zone called FRED  then make a zone called fred the 1st get deleted.
Back to the top
 
Posted
Rating:
#89870
Avatar

Community saint

I'll try to lay it out more clearly with screenshots to show what I am talking about. Having just done this, I know that it works.

STEP 1: Add New Zone.
STEP 2: Codename for new zone: fred1
STEP 3: Title for new zone: fred

That gives us this:


STEP 4: Add New Zone.
STEP 5: Codename for new zone: fred2
STEP 6: Title for new zone: FRED

That gives us this:


You can see here that both zones now exist.


You see, codename doesn't care about capital or lower case. It just has to be a different code name for each zone. The title is the name that shows up in the zone when you visit it. In that way you can have your fred and FRED zones.

I hope this helps, and good luck!

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#89896
Avatar

Well-settled



Last edit: by na7kr
Back to the top
 
Posted
Rating:
#89898
Avatar

I haven't tested anything or viewed these links, but I can say the MySQL collation is probably an issue here. If a case-sensitive collation was applied to the zones table, maybe it would solve it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by mythus)  
Rating:
#89913
Avatar

Community saint

na7kr said

What does not work as now have

http://fred.com/fred1.htm
http://fred.com/fred2.htm

and no

http://fred.com/FRED/start.htm
http://fred.com/fred/start.htm
I think there is a bit of confusion here. If you followed what mythus said you will have TWO DIFFERENTLY NAMED ZONES, either of which can be called up by URL, BUT, you need to be careful how you identify them, e.g.

Code

[url="FRED"]http://fred.com/fred1.htm[/url]

[url="fred"]http://fred.com/fred2.htm[/url]
… which will then display as …
OR

(hint: mouseover to see the URL's being called)

Did that clarify things a little better?

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#89916
Avatar

Well-settled

The case-sensitive collation fixed the problem
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: