Forum Activity for @douglas

douglas
@douglas
04/02/14 03:15:14PM
2,815 posts

Meta Tags Not Responding To Variable


Design and Skin Customization

Change this:

{assign var="selected" value="ban"}
{assign var="no_inner_div" value="true"}
{jrCore_lang skin=$_conf.jrCore_active_skin id="9" default="News" assign="page_title1"}
{assign var="page_title" value="`$page_title1` - `$_post._1|replace:"-":" "`"}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}

to this:

{assign var="selected" value="ban"}
{assign var="no_inner_div" value="true"}
{jrCore_lang skin=$_conf.jrCore_active_skin id="9" default="News" assign="page_title1"}
{assign var="page_title" value="`$_post._1|replace:"-":" "` - `$page_title1`"}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}

and to change the title to be capitalized, you'll need to modify the following templates:

news.tpl
news_list.tpl
news_slider.tpl
side_news.tpl

You'll want to find the following:

<a href="{$jamroom_url}/news_story/{$item._item_id}/{$item.blog_title_url}

and change it to this:

<a href="{$jamroom_url}/news_story/{$item._item_id}/{$item.blog_title}

basically just taking off the _url in the variable $item.blog_title_url

Note that the news.tpl file has 3 different place you need to modify, the news_list.tpl file has 4 place you'll need to modify, the news_slider.tpl has one place and instead of $item.blog_title_url its $row.blog_title_url, and the side_news.tpl has 3 places you'll need to modify.

Hope this helps,
Douglas
updated by @douglas: 04/02/14 03:15:58PM
douglas
@douglas
04/02/14 07:17:59AM
2,815 posts

Language changes when I login or logout


Design and Skin Customization

Yeah, what I posted doesn't help and I'm not able to set my dev site to Spanish as the default language either, so something isn't working right.
douglas
@douglas
04/02/14 07:12:05AM
2,815 posts

Language changes when I login or logout


Design and Skin Customization

Try this, in your skins/jrNova/meta.tpl file, find this:

<html lang="{jrCore_lang module="_settings" id="lang" default="en"}" dir="{jrCore_lang module="_settings" id="direction" default="ltr"}">

and change the default language to "es"

<html lang="{jrCore_lang module="_settings" id="lang" default="es"}" dir="{jrCore_lang module="_settings" id="direction" default="ltr"}">
douglas
@douglas
04/02/14 07:04:09AM
2,815 posts

Music Site - functionality


Design and Skin Customization

You can try to modify the CSS, in your modules/jrAudio/css/jrAudio_player_dark.css file, the jp-playlist is the class you'll want to modify. Add a height and an overflow.

.jr_audio_dark_player div.jp-title ul,
.jr_audio_dark_player div.jp-playlist ul {
    height:200px;
    overflow:auto;
    list-style-type:none;
    margin:0;
    padding:0 20px;
    font-size:.72em;
}

Hope this helps,
Douglas
douglas
@douglas
04/02/14 05:05:46AM
2,815 posts

Language changes when I login or logout


Design and Skin Customization

In your ACP > User Account > Global Config settings, http://yoursite.com/user/admin/global, there is a default language drop down, do you have that set to Spanish?

Hope this helps,
Douglas
douglas
@douglas
04/02/14 05:02:17AM
2,815 posts

Meta Tags Not Responding To Variable


Design and Skin Customization

Ekwe:Here is what I have, at the top of my news story template, it is not working still

{assign var="selected" value="ban"}
{assign var="no_inner_div" value="true"}
{assign var="page_title" value=$item.blog_title}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}

Try changing it to this:

{assign var="selected" value="ban"}
{assign var="no_inner_div" value="true"}
{jrCore_lang skin=$_conf.jrCore_active_skin id="9" default="News" assign="page_title1"}
{assign var="page_title" value="`$page_title1` - `$_post._1|replace:"-":" "`"}
{jrCore_page_title title=$page_title}
{jrCore_include template="header.tpl"}

Hope this helps,
Douglas
douglas
@douglas
04/02/14 04:55:35AM
2,815 posts

Add Multiple Profile IDs to News Section?


Design and Skin Customization

I see what skin your using from your other post.

So, in your skins/ProJam/news_list.tpl, at the bottom of the file is the jrCore_list function for that page. It looks like this:

{jrCore_list module="jrBlog" order_by="_created desc" search1="blog_category = `$news_category`" search2="_user_id = 1" template=$latest_news_template pagebreak="4" page=$_post.p}

The user id is hard coded as the admin id. If you want multiple id's, change it to something like this:

{jrCore_list module="jrBlog" order_by="_created desc" search1="blog_category = `$news_category`" search2="_user_id in 1,2,3" template=$latest_news_template pagebreak="4" page=$_post.p}

Just separate the user id's with a comma and change the "=" to "in"

You'll also want to make sure the other users use the correct categories for the news page.

Hope this helps,
Douglas
douglas
@douglas
04/02/14 04:44:02AM
2,815 posts

Add Multiple Profile IDs to News Section?


Design and Skin Customization

Ekwe:I have about 10 authors, how do I get their news to display in the news section? I only see a spot to put 1 id in the skin settings.

Thanks for the help

Can you let us know which skin your using?

Thanks! :)
douglas
@douglas
04/02/14 04:42:34AM
2,815 posts

Meta Tags Not Responding To Variable


Design and Skin Customization

This:

{assign var="page_title" value=$item.blog_title}

is not going to work since the variable $item.blog_title is not inside the foreach loop for the blog.

What skin are you using?

I'm not sure its going to be possible, but I'll see if there is a way to get the blog title into the browser title.
  229