The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Have the auto-generated menu only output internal links? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Have the auto-generated menu only output internal links? (/showthread.php?tid=2043) |
Have the auto-generated menu only output internal links? - polyfragmented - 2011-08-04 I'm currently working on a one-page website (in 3.1 beta). I'd like to make that website to be easily manageable from within GS, things are working out nicely content-wise so far. I am able to pull page content for my sections into my homepage by way of the SimplePageContent plugin. I'd like to know if GS' menu generation function can be tweaked to not generate links like Code: domain.tld/kontakt/ or domain.tld/kontakt.html but instead Code: domain.tld/#kontakt I am currently generating the menu manually which is fine for myself, and I'm going to try and solve this myself, but would love to hear opinions on making this automated! Have the auto-generated menu only output internal links? - Carlos - 2011-08-04 Try this: settings -> custom permalink structure: Code: #%slug% Have the auto-generated menu only output internal links? - polyfragmented - 2011-08-05 Carlos, thanks, that's a big step forward! +1 I switched to the I18N navigation, still working like a treat. Got an idea how to append #slug to the location bar's URL? EDIT: found out that the problem is caused by a javascript smooth scroll script which somehow suppresses the #slug. I commented out some code in that script which prevented the default for clicking a link, now things work as expected. |