Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-02-27 16:28:09

scottfrey
Member
Registered: 2013-10-12
Posts: 122

Missing /lib/autoindex/

Trying to get site wide auto indexing multi-level menus working and failing

When I enable that section of menus in plugins.php, I get a page that stops loading right at the auto indexing menu. I suspect the culprit is:

require_once($theroot.'/lib/autoindex/autoindex.php');

as I don't have a /lib in the site root. I am unclear how to get it there. Exporting an Autoindex web page does not create it. It isn't in the zip file.

CE3 referred to the resources folder

require_once($theroot.'/resources/autoindex/autoindex.php');

which I am assuming is replaced by the /ttg-be folder, but there is no /lib folder in there (and the path would be wrong in that case)

I am probably missing something obvious... but what and where is the /lib folder I should upload?

(I have not run the migration tool yet, as it would seem that it needs a CE4 template to work from)

Offline

#2 2015-02-27 21:46:39

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Missing /lib/autoindex/

Need a little bit more information about your setup.

The code in phplugins is assuming that you have your CE4 Pages installation (or CE4 Autoindex page if you're not using Pages) at the root of your site.
If you don't, then you need to modify the path to the lib/ folder in the code.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-02-28 00:40:07

scottfrey
Member
Registered: 2013-10-12
Posts: 122

Re: Missing /lib/autoindex/

I will have Pages, but it seemed appropriate to develop a single page first. Since installing pages with unfinished (i.e. non working menus) would break my current site.

I will use CE4 pages to start with, then covert over to wordpress 'page' eventually. I was intrigued by Matthew's "published galleria" home page and want to use that.

I was unable to find installation instructions for Autoindex in the docs. Also unable to find any lib folders that contain autoindex.php in order to modify the code... in other words, I've nowhere to point it to.

Last edited by scottfrey (2015-02-28 00:44:59)

Offline

#4 2015-02-28 00:48:08

scottfrey
Member
Registered: 2013-10-12
Posts: 122

Re: Missing /lib/autoindex/

Is it as simple as taking the autoindex folder from 'sample auto index export'/resources/autoindex and putting in it /lib on the server?

Offline

#5 2015-02-28 00:51:53

scottfrey
Member
Registered: 2013-10-12
Posts: 122

Re: Missing /lib/autoindex/

Indeed it is that simple. One should not muck about with code late at night

Offline

#6 2015-02-28 01:26:09

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Missing /lib/autoindex/

In a Pages site, the lib/ folder is in the root of the site. It's also in an exported autoindex folder.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB