Jump to content
πŸ‘‰ Click here to explore Remote Jobs, Work From Home & Global News – USA πŸ‡ΊπŸ‡Έ | UK πŸ‡¬πŸ‡§ | Canada πŸ‡¨πŸ‡¦ | Pakistan πŸ‡΅πŸ‡° Γ—
🚫 Guest Access Notice Γ—

Recommended Posts

Posted

Release Notes Tutorial

So after following a guide from IPS locatedΒ hereΒ and some people wanted to re-create it i found out i did it myself and sharing the work here to simplify things for others.

Let's get started!

Pre -Β Download the files from the download section below

1)Β Import the Database
AdminCP > Pages > Database > Create New >Upload Templates > Release_Notes_DB.xml
For Permissions, EVERYONE can SEE Database and VIEW Records. (Else you can't see the release)
For those that are to ADD and EDIT releases give permission "Add Record" "Edit Records"
Comments, reviews and Β rate are turned off so this does not matter

2)Β Permissions for the database
AdminCP > Pages > Database > Fields

Please repeat the steps fromΒ TitleΒ toΒ Additional Information (Anything in publish fields you don't need to touch)

  • Click on padlock & Follow from screenshot (Those that needs EDIT and ADD are people wanting to add or edit information)

imageproxy.php,qimg=,hi.imgur.com,_FPkhX

3)Β Delete the default template that gets createdΒ 

AdminCP > Pages > TemplatesΒ 
Here you should see ReleaseNotes (Might have a number after it)

  • Click on the cogwheel andΒ DELETE

4)Β Upload Template fileΒ 

We are still in AdminCP > Pages > Templates

  • ClickΒ Upload Templates
  • Select the "Release Notes Template"
  • ClickΒ Next

5)Β Add the CSS and JS

In Templates click New > New CSS File
Name: releasenotes
Group: Add to an existing Group
Existing Group: CSS
Make sure you name it "releasenotes" (Do not add .css or the "")
Save

You should now have 3 tabs (HTML | CSS | JS) Like the photo below
imageproxy.php,qimg=,hi.imgur.com,_TNw8f

  • Click on CSS > Page CSS > releasenotes.css
  • Paste in the content from the releasenotes.css file that was provided in the zip you downloaded at the first step here Release Notes for IPS Pages download (Just open it in notepad)
  • Save

Now we do the same for JS.
Β 

Admin > Pages > Templates > New JS file

Name: releasenotes
Group: Add to an exisiting Group
Existing Group: JS
Β 

  • Click on JS > Page JS > releasenotes.js
  • Paste in the content from the releasenotes.jsΒ file that wasΒ provided in the zip you downloaded at the first stepΒ (Just open it in notepad)
  • Save

Now we are half way there and its starting to take shape but we need to get some other things done as well, as every database is different we need to find a ID so lets continue.
Β 

6)Β Finding and adding the correct field_id

AdminCP > Pages > Databases > Fields

  • Find Current Release and click on it

The ID is displayed in the address bar see image below

imageproxy.php,qimg=https,3A,_,_i.imgur.

Take a note of this as we will need it now. So lets continue.

AdminCP > Pages > Templates > HTML > Database Templates > Releasenotes > recordrow

Find the code (its first a href link from the top)
Β 

<a href='{$row->url()}' class='cRelease' data-releaseID='{$row->$idField}' {{if $row->fieldValues()['field_22']}}data-currentRelease{{endif}}>

Should look something among those lines now change it to something like this

<a href='{$row->url()}' class='cRelease' data-releaseID='{$row->$idField}' {{if $row->fieldValues()['field_YOURID']}}data-currentRelease{{endif}}>

WhereΒ YOURIDΒ is the id you just found (see highlighted images a little bit up) AndΒ SAVE

Great so now The current release is the one that you have in your database, we are missing to fix some small things in the database then create the page

😎 Editing Database Settings

AdminCP > Pages > Databases > Edit
Now lets edit the small changes

Listing Template Group:Β Releasenotes
Display Template Group:Β Releasenotes
Database Key:Β release-notes

Go to the Options Tab
Sort:Β Long ID
Order:Β Descending (9-0)Β 

That's it Lets go to the last step.Β 

9)Β Creating the page

Admin > Pages > Add Page > Manual HTML

Leave things default, but change the values below I will go from tab to tab left to right.

  • Details
    Name: Releaste Notes
  • Page Includes

Select both your CSS and JS file from step 5
Β 

  • ContentΒ 
{database="release-notes"}
  • If you want you can add it to your menu as well thats up to you ;)Β Β Anyways hit save.
  • Permissions - Who can view the release notes and SAVE.

There we go. Created and done, so now you should be able to visit yoursite.com/release-notes

Congratulations you got it, should look something among these lines now.

imageproxy.php,qimg=,hi.imgur.com,_kdKQ3

So for the information you can click ADD release and this is how it works.

  • Its sorted on LONG ID (So higher the number the higher to the top it goes. (If you select 0 it will auto increment so it will be the highest)
  • Current ReleaseΒ will be displayed as a green badge at the side
  • If you do not put a date it will become "In Development"
  • Adding Beta Release will show that its aΒ Beta
  • AddingΒ SecurityΒ will add aΒ red TriangleΒ to it and show its a security release.
  • Additional Information is just notes for admins

If you liked this tutorial please remember to give it aΒ thumbs up.Β where you see this icon bottom right corner of this post.

  • 1 year later...
Posted

hi ty for tutorial but i got a error why?

Screenshot_20180905-015105.png

Posted

hm it look like this, i fixed it in my opinion thank you for tutorial again! Please share new Plugins :)

Screenshot_20180905-021142.png

Posted

if this create error please let us know where u fixed tht so i can edit tht. :)Β thanks for liking and fixing error :)Β 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Forum Statistics

    2.7k
    Total Topics
    10.1k
    Total Posts


Γ—
Γ—
  • Create New...

Important Information

FundayForum uses essential cookies to run the community. Optional cookies support analytics and advertising. Choose Accept or Reject below. Read our Privacy Policy, Terms of Use and Guidelines. Essential cookies keep this community running. Choose Accept or Reject for optional cookies. Read our cookie policy and manage your cookie preferences.