Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Page Manager 101
This discussion has been closed.
Comments
You could argue about exactly how much it helps, and I am sure everyone can point to examples of sites that are performing well without it, but if you really want to see the difference you have to compare before and after - I do mod_rewrite regularly on database driven sites for clients and the difference is quite apparent.
Whether it matters as much on a forum where your traffic is likely to be on the 'long tail' search phrases, is a different question.
On this installation, I am going for some competitive phrases and want every weapon in the armoury.
@y2kg: hmm, no troubles here. How does it 'mess up' exactly? Do the navigational tabs screw up, or were you refering to the tab list?
Once you reorder the pages simply go to another TAB, you shouldn't refresh at this point.
@y2kbg: I'm afraid I really wouldn't know what's causing this; I can't seem to replicate it on my machine and don't see why it would mess up in such a situation. Does it do the same thing with different browsers? What version of php do you happen to be running?
@Wanderer: I meant hitting refresh. I does the same thing if i hit another tab or hit refresh.
also I just installed the newest version of page manager with changing anything but taking out the part that adds the hidden pages to the side panel.
I wonder if someone with some JS knowledge could look into it...I'm guessing it's probably well written maybe it's just a bit tempramental like all computer things.
I get how to use this...
if(in_array($Context->SelfUrl, array("index.php", "categories.php"))){
How do I include a Page Manager page in this array?
Posted: Friday, 30 March 2007 at 9:13AM
if( in_array($Context->SelfUrl, array('index.php', 'categories.php')) || ( ('index.php' == $Context->SelfUrl) && ('Guest' == ForceIncomingString('Page', '')) ) ){
(I might be missing a paren somewhere)Or for multiple PageManager pages:
if( in_array($Context->SelfUrl, array('index.php', 'categories.php')) || ( ('index.php' == $Context->SelfUrl) && ( in_array(ForceIncomingString('Page', ''), array('Guest', 'Vote') ) ) ){
The first one worked, the second one didn't, kept complaining about an unexpected '}'
I used two single comparisons in a row, it works.
Posted: Friday, 30 March 2007 at 10:29AM
including index.php will include all page manager pages.
u have to exclude them if u don't want them included by default
if( in_array($Context->SelfUrl, array('index.php', 'categories.php')) || ( ('index.php' == $Context->SelfUrl) && ( in_array(ForceIncomingString('Page', ''), array('Guest', 'Vote') ) ) )){