Wapact codes Tutorial / learn code tag menampilkan bloglist
Previous sure you've already written a post on the blog menu
panel if already wrote a post live display it on the page.
Format [blog]Set||Content[/blog]
SET PARAMETER:
is a function .*? global $sql;Example: o=u, l=10, s=:to-page:, no=not found .
list of set parameters can be recorded in a format area SET
panel if already wrote a post live display it on the page.
Format [blog]Set||Content[/blog]
SET PARAMETER:
is a function .*? global $sql;Example: o=u, l=10, s=:to-page:, no=not found .
list of set parameters can be recorded in a format area SET
Set o (order):
- o=u sort data based on the latest update in early
o=ul sort data based on the latest update in last
o=n sort data by name
o=h sort data by name hits
o=hl sort data by name hits from zero in early
o=lc sort data by last comment
example: o=u,
Set t (time):
- t=day last posting today
t=week last posting this week
t=month last posting this month
example: t=day,
Set bid (classifier blog):
you can create forums, guestbooks, status updates, etc. with tag blog. SET bid is the classifier between a blog with one another.
you can create forums, guestbooks, status updates, etc. with tag blog. SET bid is the classifier between a blog with one another.
- bid=text Showing blog by bid text. Empty bid to display the blog without a bid.
Set l (limit):
- l=nomor Limit count posting
contoh: l=10 will showing 10 post
Set s:
- s=number This parameter is useful, if you want to separate list on more sites. For example if you want to display list with first 10 files set parameter l on 10 and parameter s on 1, if you want to display next 10 files (11-20) leave parameter l on 10 and parameter s set on 2.
Set no (text):
- no=text No value parameter. This parameter contain's text, whis is displayed, if no file is not displayed.
Set to (show by get to):
- to=nomor display posts by id blog
example: to=1 will display posts with id 1
second example to=:to-id:
Set usr (show by user):
- usr=text
example: user=eldio will showing posts written by eldio
example 2: usr=:to-user:
Set search:
- search=get shows a search for posts by get example: search=:to-search:
Set cat (category):
- cat=get show post by category example: cat=:to-category:
Set v (hits):
- v=on enable calculations hits
Set fll (follow):
CONTENT PARAMETER- fll=on activate the blog is only visible to the user in the follow
- Parameter content is what will appear. Here is a list of parameter content
%id% Showing id post
%title% Showing title
%text% Showing text
%text-20% Showing text posting as many as 20 words, the number 20 can be changed
%del% Showing link deletion blog
%edit% Showing link editing blog
%date% Showing the time of writing the post with the format 12-12-2014 (06:30)
%date=--% Display the time of writing the post format 2 hours ago - could be replaced
%by% Displays the author of the post
%comment_count% Displays number of posting comments
%hits% Displays number of hits the post
%category% Showing one category posts
%urlthumb% Featuring automatic image thumbnail links posting
%thumb% Display thumbnail images automatically post
Example:%title% Showing title
%text% Showing text
%text-20% Showing text posting as many as 20 words, the number 20 can be changed
%del% Showing link deletion blog
%edit% Showing link editing blog
%date% Showing the time of writing the post with the format 12-12-2014 (06:30)
%date=--% Display the time of writing the post format 2 hours ago - could be replaced
%by% Displays the author of the post
%comment_count% Displays number of posting comments
%hits% Displays number of hits the post
%category% Showing one category posts
%urlthumb% Featuring automatic image thumbnail links posting
%thumb% Display thumbnail images automatically post
[blog]bid=myblog,o=u,l=5,s=:to-page:,no=nothing || <a href="site-1.html?to-blog=%id%">%title%</a> <br/>%text-20%..[read more]<br/>%comment_count% Comment
[/blog]
Showing count posting use l=0
[blog]l=0,n=0||%count%[/blog]
Comments
Post a Comment