Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ContentHandlers for Articles not for Pages
#1
How can we implement show in one form my details articles?

I know an example from the pages!

THandlers.AddRootHandler('', '/', FormHandler)
with THandlers.Add('', '1', TContentForm.Create(TShopForm)) do
  begin
    CanStartSession := true;
    RequiresSessionStart := false;
 end;

Example:
http://localhost/shop/1 -> Details for article 1
http://localhost/shop/2 -> Details for article 2
http://localhost/shop/3 -> Details for article 3

Is there any demo?
Reply


Messages In This Thread
ContentHandlers for Articles not for Pages - by matija - 03-23-2023, 12:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)