as there is no Revigniter subforum(which would be a good thing, can someone create it?) i'll start this subject Revigniter Basics. hopefully to put some questions/solutions to some getting started issues.
I have LC server and the welcome page of Revigniter running ok
Hello World!
According this page:https://revigniter.com/userGuide/genera ... llers.html
i should create a file say blog.lc and put it in the controllers folder
then surf to [url]localhost:81/lc/blog[/url] and it should show the page (i use port 81 as port 80 is blocked)
result: Object not found!
What am i doing wrong?
this is in blog.lc:
Code: Select all
<?lc
# PUT YOUR HANDLER NAMES INTO THE GLOBAL gControllerHandlers AS A COMMA SEPARATED LIST
put "index,comments,shoes" into gControllerHandlers
command index
get rigLoadView("blogview")
end index
command comments
put "Look at this!"
end comments
command shoes
put rigFetchSegment(3) && rigFetchSegment(4)
end shoes
?>
edit: ***waah, i'm too impatient i guess, just keep on reading, the default is set in routes.lc in folder config***
If i'm correct i need to rethink the way all is working when comparing the way an URL/URI works to the way a stack works in the IDE