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.
You are not logged in.
Pages: 1
I'm really not sure why my search is broken. It works, kinda, but then can't find all sorts of thumbnails and index.php's.
had it working a while ago.. tweak this, fix this, modify that, break something else...
had search folder in ttg-be/publisher/search
tried moving and point to /search
iproof.me
Can somebody peak and tell me how I buggered this up?
Offline
are all your plugins up to date?
http://theturninggate.net/2014/08/ce4-u … t-15-2014/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
the plugins are easy to verify version. The publisher and ttg-be a touch harder. I did update these per the instructions to upgrade. Is there another way to verify these version?
Offline
reloaded the files from the zip.. uploaded
verified with the online admin ttg-be and publisher is unto date..
still goofy.
Offline
when I go to iproof.me/search/ I get a search page that works as expected.
In your navigation, the link to the search page goes to iproof.me/ttg-be/publisher/search/index.php
I suggest changing the url in your navigation to /search/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Ok.. Still Broke.
Forgot about the phpplugin.php setup for the drop down menus having a link to the old search location.
/ttg-be/publisher/search/
What I see as odd is the search results create links to files but have with a path /search/galleries/....
but I suspect the files are in /galleries/...
any ideas?
Offline
/search/index.php/ gives me errors. (I don't think that final forward slash is needed, it might even be the problem)
but just /search/ is working fine.
try changing the navigation to just /search/ or /search/index.php (no trailing slash) as outlined here:
http://ce4.theturninggate.net/docs/doku … arch_setup
Last edited by rod barbee (2014-08-21 12:51:43)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
THANKS!!! Rod
YEA it works now..
Guess the extra Slash hacked it all up.
Got to expect that from a hacker like me.
One more question if I can off topic.. before I visit your site and leave something.
Can you show a hacker how to use the ttg_grid_top and ttg_grid_bottom to insert externally created stuff from dreamweaver or the like?
trying to move geaward.com stuff to the much better TTG gallery at my other site iproof.me
Offline
I did that on my current, CE3 based site to add an Amazon book page: http://www.barbeephoto.com/books/recommended-reading/
//Amazon book page
function ttg_grid_top( $style, $path ) {
if (G_PATH == 'RECOMMENDED-READING') {
echo'
...... all html for the content here.....
';
return false; //replaces grid on recommended books page with Amazon store page
}
return true; //All other pages containing grids are processed as normal
} //END OF AMAZON PAGE
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I really like this way for linking to other places with your recommended reading. Saw this with aimhigh.nl site linking to PDF pages and really like it.
Not tackled this yet. Fix the bugs I know rather than introduce more.
Path to do this seems like setting up 2nd instance of publisher, copy Pages Template to maintain same navigation/header, use auto index enabler for each PDF/External Link and setup site with publisher with various sets. Then figure out how to add a drop down menu for the 2nd instance of publisher.
Your Articles and Books section has massive links and code.
I'm having a hard time seeing all that done in Pages as markdown
Even if you did the code outside with an editor, pasted it into Pages.
Or even doing it with AutoIndex Enabler, like aimhigh.nl must have been a huge task for each link.
I thought to setup the Media Area/Grid with No Content/PHPlugins Outlet and point to and externally edited code so I keep the navigation...
add this to pages setup for the page...
echo' TopGridDesignFromDreamweaver.html/php ';
Then I can tweak the one page of external code rather than doing edits in Pages, export Pages/copy/push to site.. hope I don't hack and overwrite something else.
So I Must still be missing something.
Are you using Stages? I've not peaked at that yet.
Offline
echo' TopGridDesignFromDreamweaver.html/php ';
if it's content you want to include, then you'll need the html/php, not the link. If it's the page itself, then try echoing the reference to the page. I did this once before- included another page within the grid of a Stage page- and it worked. Just can't remember exactly what I did....
And it'll be a bit more involved than that. In phplugins you'll need to target the specific path to the TTG page where you want to insert the external content. So for each page, you'll need to add to the function with as many IF statements as you have pages to fill.
Your Articles and Books section has massive links and code.
Most of that is a leftover from my pre TTG site. I just took the html, cleaned it up a bit (probably not enough) and dropped it into the Page Copy field of a Stage page.
Last edited by rod barbee (2014-08-22 01:35:25)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
thanks for the insight.
Did your recommended reading page use the Auto Index Enabler to setup the links?
I'm guessing that's what aimhigh.nl did for http://aimhigh.nl/publications/
I'm hoping adding a new PDF or Link with a Separate Auto Index Enabler 2nd site is simple once it's setup.
Add new content by dropping in a new folder with content and auto enabler files.
Offline
Did your recommended reading page use the Auto Index Enabler to setup the links?
No, it was originally an html page built with a table. I just coded that into the phplugins.php file and aimed it at this particular page.
When I redo it I'll likely try using an autoindex with autoindex enabler for the links.
I'm guessing that's what aimhigh.nl did for http://aimhigh.nl/publications/
exactly
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hello, just upgraded to CE4 for the search features. I think that I followed the install wiki but when I use the search it finds all the search criteria across all my galleries. Is this normal or did I miss something, I expected it to search the current gallery. Also when I moved the search template from "..\ttg-be\publisher\.." to the \search\ at the top level (as per instruction) it now breaks the breadcrumbs and will not return from whence it came. I can get it to work nicely if I recode the nav sections to the specific path but that defeats the whole idea of a global based search routine does it not?
Dazed and confused.
Duane.
Offline
Hi Duane, search is global. Can you provide a link so we can see how your breadcrumbs are appearing?
Offline
Pages: 1