Forum Activity for @derrickhand300

derrickhand300
@derrickhand300
08/07/15 08:25:25PM
1,353 posts

How To Truncate Using Site Builder Item List


Using Jamroom

I was wondering what the additional code would be to truncate this blog layout that i made using Item Lists in site Builder?

{jrCore_list module="jrBlog" search1="_profile_id = 1" order_by="_created desc" limit="3" group_by="_created" template="item_grid.tpl" tpl_dir="jrBlog"}

Would also be a great addition to the item list tool in site builder if possible.

What I am attempting to do is add a 'blog roll" to my main site page- but I dont want it to display the entire blog as its doing now...I would prefer a truncated version with a "Read More" link at the bottom

I would also like to know how to truncate this from the list_blog.tpl

<div class="normal">
                    {$item.blog_text|jrCore_format_string:$item.profile_quota_id|jrBlog_readmore}
                </div>

I have tried this but does not work for me

<div class="normal">
                    {$item.blog_text|jrCore_format_string:$item.profile_quota_id|jrCore_strip_html|truncate:150|jrBlog_readmore}
                </div>

Thanks
updated by @derrickhand300: 12/22/16 11:55:59AM
derrickhand300
@derrickhand300
08/07/15 11:46:10AM
1,353 posts

How To Build A Mobile Menu for Slate Skin?


Design and Skin Customization

Thanks Gary-Its good to know its not just me...
I have been having a strange issue with the Jamroom SLATE skin for a few days...
The issue has been on item_detail.tpl pages....when i view them from mobile devices the footer is being place in between the header image and the desktop menu ( so the footer is splitting the top area of the mobile website.
Been struggling for days for a fix..../no luck...finally just started removing code from the header and footer a little at a time...and actually stumbled on the problem

It seems that if I go into the SLATE header.tpl file and remove this
{*{if jrCore_is_mobile_device()}
    {jrCore_include template="header_menu_mobile.tpl"}
{/if}*}

My footer stays at the bottom of the page as expected?????

Any ideas whats causing this AND is whoever created the SLATE Jamroom skin planning on getting the Mobile menu fix?

The mobile menu in my other sites Bootstrap skin works great and I wish i knew how to add it to SLATE
derrickhand300
@derrickhand300
08/06/15 07:07:15AM
1,353 posts

How To Build A Mobile Menu for Slate Skin?


Design and Skin Customization

Can anyone tell me or show me the Docs for building a mobile menu for the Slate skin?
When viewed from a mobile device I still get the desktop version menu
Thanks
updated by @derrickhand300: 09/16/15 08:37:15AM
derrickhand300
@derrickhand300
08/05/15 07:06:29AM
1,353 posts

Syntax Error


Using Jamroom

Thank you guys!
derrickhand300
@derrickhand300
08/04/15 10:05:52AM
1,353 posts

Syntax Error


Using Jamroom

Can someone correct the syntax error in the following?
<script type="text/javascript" data-cfasync="false">(function () { var done = 

false;var script = document.createElement('script');script.async = 

true;script.type = 'text/javascript';script.src = 

'https://app.purechat.com/VisitorWidget/WidgetScript';document.getElement

sByTagName('HEAD').item(0).appendChild

(script);script.onreadystatechange = script.onload = function (e) {if (!done && 

(!this.readyState || this.readyState == 'loaded' || this.readyState == 

'complete')) {var w = new PCWidget({ c: 'e5e9c6b0-7aa8-4392-a9d3-

6ff2b47cc3fa', f: true });done = true;}};})();</script>

I think it has something to do with the spacing of the smarty brackets....just not sure how to fix it
updated by @derrickhand300: 09/06/15 03:15:57PM
derrickhand300
@derrickhand300
07/30/15 09:40:27PM
1,353 posts

Where Is The Sitemap Located?


Using Jamroom

Ok- just had to do it to my other site...spent a few days on this a few months ago....got so frustrated with it I just had to walk away from the websites altogether...wish I had known the solution was so simple and had not wasted so much time on it...Thanks
updated by @derrickhand300: 07/30/15 09:40:38PM
derrickhand300
@derrickhand300
07/30/15 08:19:04PM
1,353 posts

Where Is The Sitemap Located?


Using Jamroom

Ok this fixed the issue

"******@host [/home/********/public_html]# head -3 .htaccess
# Jamroom 5 Apache .htaccess file
#DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php
DirectoryIndex index.html index.php modules/jrCore/router.php
********@host [/home/******/public_html]# "

Hopefully I used the "*" correctly to hide the sensitive stuff....but thought I better share this in case its something that needs to be addressed in JR core...
derrickhand300
@derrickhand300
07/30/15 08:15:37PM
1,353 posts

Where Is The Sitemap Located?


Using Jamroom

Hello,
Here is what my server provider says..

"As per htaccess sitemap file is also set as index file.

--
*********/public_html]# cat .htaccess
# Jamroom 5 Apache .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

--

Please remove sitemap.xml entry from it to solve the issue. Let us know, if you want us to remove it."
derrickhand300
@derrickhand300
07/30/15 06:12:13PM
1,353 posts

Where Is The Sitemap Located?


Using Jamroom

If I add sitemap.xml to the public_html folder...the entire site disappears and all thats shown is the sitemap?
Can you help with this?
Capture.JPG.jpg Capture.JPG.jpg - 191KB

updated by @derrickhand300: 07/30/15 07:50:00PM
derrickhand300
@derrickhand300
07/30/15 08:55:23AM
1,353 posts

HTML Tags Being Removed


Design and Skin Customization

I just noticed if I uncheck 'validate iframes" in the quota for ADMIN...it works...hope this is a way to shut it off because I dont need it...If I only allow the IFRAME tag to be used by the ADMIN qupta that would seem to me as a way to keep things safe...9ie Not giving everyone my root password)
  76