• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8WayRun.Com] XenPorta (Portal & Lite Wiki)

Status
Not open for further replies.
I suspect, since this is still in Beta stages and that the Home tab isn't a 'real tab'
Well, it's easy to make a Tab called Home, and hopefully easy to get XenPorta to work there.
It's also easy to "hide" the current Home Tab.
So it's not that much of a barrier.

Instead of one coder finding and fixing, making template tweaks to make it work, why not request the team make it work so we can manage the home tab. Jamie
Good idea, you are hired.
 
Well, it's easy to make a Tab called Home, and hopefully easy to get XenPorta to work there.
It's also easy to "hide" the current Home Tab.
So it's not that much of a barrier.

If it were all that easy, wouldn't you think it would have already been done even in these early stages?

We all understand that having the ability to use the Home tab for something other than the Forms is something a lot of admins will want.. but like I said, in this early stages it's just hasn't been addressed yet..

Since we're not running this script live on sites yet as it's still an unsupported beta release, I am sure we have time to work out the 'how to' get our home tab to work the way we want it to... :)

Good idea, you are hired.

Hired for what? I simple suggested that instead of asking this coder to 'fix' it for us, or show us how to edit a template why not get the team to fix it so it's simpler without file edits.. The less template edits we have going forward, the easier the upgrade path will be.

Jamie
Less template edits equals easier upgrades.....
 
The problem is the ENTIRE XenForo structure runs on index.php... and index.php always forwards to the forums. In order to change this, you'll have to get the XenForo guys to program specifically the option to allow it to point elsewhere.
 
Hey Jaxel, when you were looking through the code and making this mod, did you notice if you would be able to make a mod without having it add a tab or is this essential for it to work?

I played around and removed the extratabs reference from the navigation and your mod still worked. With me pointing it to the home position I could visit the portal by clicking that link, and the portal tab didn't show up. This was only a test to see if it worked without a tab as you wouldn't want to do this on a real site, because this would prevent any other extra tabs you did want to show up.

My thoughts until they fix the index.php structure we would run this mod without a tab, and then maybe use .htaccess to redirect to main url to the portal page vs the forums..

I hope you don't mind, but I am a hunt and peck kinda tweaker.. I learn things by breaking them, seeing how they work and putting them back together, and I really want to learn how this system works so I am using your mod for a learning working example.. :)

Jamie
 
Probably not the best solution, but I just did the following:

AdminCP -> Options -> Basic Board Information

Changed the HomePage URL to: http://mydomainname.com/index.php?portal/

Now the home tab points to the portal page. Now all I gotta do is remove the portal tab in the menu (would be nice if we could disable that via the mod ;)) and point my domain name to the same as above.
 
Coming to the next version:

untitled-6-jpg.4193


The more I work on this mod, the more I realize its turning into a full blown Lite Wiki...
 
(would be nice if we could disable that via the mod ;)
Added in next version.

If you disable the navtab however, there wont be visible links for editing templates and creating new pages... You can get to those pages by hitting the "Portal Navigation" link.
 
Jaxel...what about putting those links under the Home tab then? Doing away with the Portal tab and moving the links under the Home?
 
Jaxel...what about putting those links under the Home tab then? Doing away with the Portal tab and moving the links under the Home?
As I said before... I wont do any mods that require edits to templates or files...

The hook/listener system in XenForo right now is vastly under developed.

Beyond the home tab situation... are there any other features people want me to put into this mod before I start work on other mods? I really can't think of anything else...
 
... Beyond the home tab situation... are there any other features people want me to put into this mod before I start work on other mods? I really can't think of anything else...

I guess we'd have to see what we can/can't do with your next release :).
 
Okay... here is a way to get your homepage to link to the portal...

Install xenforo to your website as follows: yourwebsite.com/xf/
( this would put your portal at yourwebsite.com/xf/portal/ )

Then just setup your htaccess so that yourwebsite.com/ forwards to yourwebsite.com/xf/portal/

Done... easy.
 
Install xenforo to your website as follows: yourwebsite.com/xf/

Is that the default installation method ?

Jaxel: any plans on using this on your site, 8wayrun.com ?
Would it be the Home Page ? or are you going to run in off a Tab called Portal ?
 
How to Remove the Home Tab (from view).

In your navigation template, search for;

Code:
<!-- home -->
<li class="navTab home PopupClosed"><a href="{$homeLink}" class="navLink">{xen:phrase home}</a></li>

Remove this and you're done. Simple as that :)

I think, for people wanting to run this as their Home Page (mini-CMS),
they would prefer
(1) remove old Home Page
(2) Add Tab left of Forums Tab, called "Home".
(3) Run XenPorta from "new" "Xenporta" Home Tab.
(4) Add a redirect, such that www.domain.com goes to the Tab in (2).

- even though you dont want to be responsible for the template edits, I'll try to collect the information that people need to be able to accomplish it.

Note: it would appear as if many people would want to run XenPorta in two areas:
(1) Home Page
(2) Wiki-like Documents section.

Is it possible to run two XenPortas ? on one xenforo install ?
 
Status
Not open for further replies.
Back
Top Bottom