Jump to content

Stored pages


FSVKenny

Recommended Posts

  • Administrators

Each page is stored separately in the database.

 

You can edit them thru the admin panel or (after backing up the database) directly using phpmyadmin - although it is safer via the admin panel.

 

They are NOT stored in a file like they were in previous versions as far as I can tell.

  • Thanks 1
Link to comment
Share on other sites

As ProAvia wrote, there a no stored html pages for anything in v7, almost everything is dynamic and database driven (except fixed stuff to deal with the data provided and render the end results). 

 

Only way to edit those "pages" is the admin panel, which offers you a simple WYSIWYG (What You See Is What You Get) type editor. You can prepare something outside (in an html editor) maybe and then copy paste the code to that editors "code" section. Other than this, you need to design is visually.

 

What can be done, at best, is editing the relevant file rendering those pages, put some conditional checks in it and when a page is loaded then it can behave differently according to that page. Imagine it like, when you create a page named "fleet" and another one named "rules", you can have a different design for these two with this. Data will be provided by v7 but the look of the page will be different (up to a point of course)

 

If you want real fixed pages, with separate and hand coded blade/php files (yes, they need to be like mypage.blade.php) then you need to have your own custom module for them.

 

Hope this helps, good luck

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...