skyphyno
Thanks to weezy for creating a useful forum like this
skyphyno
Pls weezy i want my blogmr site to be like 9jabeatz.blogmr.com bot the css and homepage code with header and footer and show me procedure
skyphyno
Weezy Pls oga weezy reply me and how can i uplord mp3 to my blogmr blog
skyphyno
Weezy I nid worldwap.blogmr.com post.html and page.html code
Weezy
skyphyno Copy worldwap.blogmr.com page.html code below
<div id="content" class="content singlepost">
{% if page == null %}
<div class="alert alert-danger post-not-found">
Page not found.
</div>
{% else %}
<div class="post" id="post-{{ page.id }}">
<div class="post-heading">
<h2 class="post-title">
{{ page.title }}
</h2>
</div>
<div class="post-body">
{{ page.content|raw }}
</div>
{% if site.author_id == user.id %}
<div class="admin-post-action">
<a href="{{ powered.url }}/account/switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/pages/edit/'~page.id)|url_encode }}">Edit</a>
{% if page.status == 'draft' %}
<a href="{{ powered.url }}/account/switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/pages/publish_page/'~page.id)|url_encode }}">Publish</a>
{% endif %}
<a href="{{ powered.url }}/account/switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/pages/delete/'~page.id)|url_encode }}">Delete</a>
</div>
{% endif %}
</div>
{% endif %}
</div>
Copy code
Weezy
skyphyno copy below and paste in post.html
<div class="group"><div id="content" class="content singlepost">
{% if post == null %}
<div class="alert alert-danger post-not-found">
Post not found.
</div>
{% else %}
<!-- Breadcrumb -->
{{ breadcrumb|raw }}
<!-- /Breadcrumb -->
<div class="post" id="post-{{ post.id }}">
<div class="post-heading">
<h2 class="post-title">
{{ post.title }}
</h2>
<span class="post-meta">
Posted by {{ site.author_name }} on {{ post.time|date('d M Y - H:i') }}
</span>
</div>
<div class="post-body">
{{ post.content|raw }}
</div>
{% if site.settings.display_social_buttons == 'yes' %}
<div class="social-buttons">
<span>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}&t={{ post.title|url_encode }}" target="_blank" title="Share on Facebook"><img src="/images/social_icons/Facebook.png"/></a>
</span>
<span>
<a href="https://twitter.com/tweet?source={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}&text={{ post.title|url_encode }}" target="_blank" title="Tweet"><img src="/images/social_icons/Twitter.png"/></a>
</span>
<span>
<a href="https://plus.google.com/share?url={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}" target="_blank" title="Share on Google "><img src="/images/social_icons/Google .png"/></a>
</span>
<span>
<a href="http://pinterest.com/pin/create/button/?url={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}&description={{ post.title|url_encode }}" target="_blank" title="Pin it"><img src="/images/social_icons/Pinterest.png"/></a>
</span>
<span>
<a href="http://www.reddit.com/submit?url={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}&title={{ post.title|url_encode }}" target="_blank" title="Submit to Reddit"><img src="/images/social_icons/Reddit.png"/></span>
<span>
<a href="http://www.linkedin.com/shareArticle?mini=true&url={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}&title={{ post.title|url_encode }}&summary=&source={{ (site.url ~ '/' ~ post.link ~'.html')|url_encode }}" target="_blank" title="Share on LinkedIn"><img src="/images/social_icons/LinkedIn.png"/></a>
</span>
</div>
{% endif %}
<!-- // -->
{% if site.author_id == user.id %}
<div class="admin-post-action">
<a href="{{ powered.url }}/account /switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/posts/edit/'~post.id)|url_encode }}">Edit</a>
{% if post.status == 'draft' %}
<a href="{{ powered.url }}/account /switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/posts/publish_post/'~post.id)|url_encode }}">Publish</a>
{% endif %}
<a href="{{ powered.url }}/account /switch_blog/{{ site.id }}?redirect_uri={{ (powered.url~'/posts/delete/'~post.id)|url_encode }}">Delete</a>
</div>
{% endif %}
</div>
{% if site.settings.posts_list_in_singlepost != 'none' and recent_posts != null %}
<div class="recent-posts">
<h3>
{{ site.settings.posts_list_in_singlepost == 'recent_posts' ? 'Recent Posts' : 'Related Posts' }}
</h3>
<ul>
{% for r_post in recent_posts %}
<li>
<a href="{{ site.url }}/{{ r_post.link }}.html">{{ r_post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<!-- Comments -->
{% if allow_comments %}
<div class="comment-info">
<h3>
Comments
</h3>
<h4>
{{ posts.total_comments }} Responds for "{{ post.title }}"
</h4>
</div>
<div class="comments" id="comments">
{% if total_comments == 0 %}
<div class="alert alert-danger">
Empty comment.
</div>
{% else %}
<!-- // -->
{% for comment in comments %}
<div class="comment {{ comment.status == 'moderated' ? 'moderated' : ''}}" id="comment-{{ comment.id }}">
<div class="pull-left">
<img src="{{ powered.url }}/files/users /avatar/{{ comment.author_id }}-48.png" alt="" class="comment-object"/>
</div>
<div class="comment-body">
<a class="comment-heading" href="{{ comment.author_homepage }}">
<strong>{{ comment.author_name }}</strong>
</a>
<div class="comment-meta">
<span>
{{ comment.time|date('d M Y - H:i') }}
</span>
</div>
<p> {{ comment.text|raw }}
</p>
{% if user.id == site.author_id %}
<div class="admin-comment-action">
{% if comment.status == 'moderated' %}
<a href="{{ powered.url ~ '/account /switch_blog/' ~ site.id ~ '?redirect_uri=' ~ (powered.url~'/comments/publish_comment/' ~ comment.id~'?redirect_uri='~(site.url~'/'~post.link~'.html#comment-'~comment.id)|url_encode|url_encode)|url_encode }}">Publish</a>
<a href="{{ powered.url ~ '/account /switch_blog/' ~ site.id ~ '?redirect_uri=' ~ (powered.url~'/comments/mark_as_spam/' ~ comment.id~'?redirect_uri='~(site.url~'/'~post.link~'.html#comments')|url_encode|url_encode)|url_encode }}">Spam</a>
{% elseif comment.status == 'published' %}
<a href="{{ powered.url ~ '/account /switch_blog/' ~ site.id ~ '?redirect_uri=' ~ (powered.url~'/comments/mark_as_spam/' ~ comment.id~'?redirect_uri='~(site.url~'/'~post.link~'.html#comments')|url_encode|url_encode)|url_encode }}">Spam</a>
{% endif %}
<a href="{{ powered.url ~ '/account /switch_blog/' ~ site.id ~ '?redirect_uri=' ~ (powered.url~'/comments/delete_comment/' ~ comment.id~'?redirect_uri='~(site.url~'/'~post.link~'.html#comments')|url_encode|url_encode)|url_encode }}">Delete</a>
</div>
{% endif %}
</div>
</div>
{% endfor %}
<!-- // -->
{% endif %}
</div>
{% if allow_new_comment %}
<div class="comment-form" id="new- comment">
<h3>
New Comment
</h3>
{% if new_comment_published != false %}
<div class="alert alert-success">
Comment successfully added and has been published.
</div>
{% elseif new_comment_moderated != false %}
<div class="alert alert-warning">
Comment successfully added and will be published after administrator approval.
</div>
{% elseif new_comment_errors != false %}
<div class="alert alert-danger">
<strong>
Error!
</strong>
<ol class="list-unstyled">
{% for err_k,err_v in new_comment_errors %}
<li>
{{ err_v }}
</li>
{% endfor %}
</ol>
</div>
{% endif %}
<!-- FORM -->
{{ form_comment_open|raw }}
<div class="form-group">
<label for="author">
Name
</label>
<input class="form-control" type="text" name="author" value="{{ form_comment_value.author }}" id="author" required="required" {{ form_comment_value.author ? 'readonly' : '' }}/>
</div>
<div class="form-group">
<label for="email">
Email
</label>
<input class="form-control" type="email" name="email" value="{{ form_comment_value.email }}" id="email" {{ (site.settings.comment_require_email=='yes' ? 'required="required"' : '') ~ (form_comment_value.email ? ' readonly' : '') }}/>
</div>
<div class="form-group">
<label for="homepage">
Homepage
</label>
<input class="form-control" type="url" name="homepage" value="{{ form_comment_value.homepage }}" id="homepage" />
</div>
<div class="form-group">
<label for="comment_text">
Comment
</label>
<textarea class="form-control" name="comment_text" id="comment_text" rows="8" required="required">{{ form_comment_value.comment_text }}</textarea>
<div class="help-block">You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strong></div>
</div>
{% if form_comment_captcha == true %}
<div class="form-group captcha">
<label for="captcha">
Captcha
</label>
<img class="captcha" src="{{ site.url }}/captcha.png" style="width: 128; height: 48; border: 0;" alt="Please refresh..."/>
<input class="form-control" type="text" name="captcha" id="captcha" maxlength="5" required="requred"/>
</div>
{% endif %}
<p>
<button class="btn" type="submit">
Send Comment
</button>
</p>
{% if is_user and (site.author_id != user.id) %} {% if subscribe_comment == false %}
<div class="checkbox">
<label>
<input type="checkbox" name="subscribe" value="1" checked="checked"/>
<span>
Subscribe updates comment
</span>
</label>
</div>
{% else %}
<div class="checkbox">
<label>
<input type="checkbox" name="subscribe" value="2"/>
<span>
Unsubscribe updates comment
</span>
</label>
</div>
{% endif %} {% endif %} {{ form_comment_close|raw }}
<!-- / FORM -->
</div>
{% else %}
<!-- // -->
{% if site.settings.comment_user == 'users' %}
<div class="alert alert-warning new-comment-closed">
New comments are only allowed for registered users.
</div>
{% elseif site.settings.comment_user == 'friends' %}
<div class="alert alert-warning new-comment-closed">
New comments are only allowed for friends.
</div>
{% elseif site.settings.comment_user == 'followers' %}
<div class="alert alert-warning new-comment-closed">
New comments are only allowed for followers.
</div>
{% elseif site.settings.close_comment_older_posts == 'yes' %}
<div class="alert alert-warning new-comment-closed">
New comments are closed because the post has been more than 14 days.
</div>
{% endif %}
<!-- // -->
{% endif %}
<!-- // -->
{% endif %}
<!-- /Comments -->
{% endif %}
</div></div>
Copy code