Forum Activity for @claygordon

Clay Gordon
@claygordon
01/14/15 09:27:30PM
754 posts

Reusing id numbers in language files - confusing?


Ning To Jamroom

I was looking to change one of the strings on my profile page from "Latest Videos" to "Latest Uploaded Videos" because JR makes a difference between uploaded videos and videos from Vimeo and YouTube.

I searched on "Latest," got two results, and updated the one that did not have a modifier, and, as can be seen in the top image of the composite screenshot, three different labels on my profile page were modified.

It turns out that the one I need to update was Videos with an ID of 23. Of course, figuring out which one to select was a matter of chance without looking closely at the template code (ahhh, but which template?

Several things occur to me:

  • Having one label appear in multiple places could be a source of confusion as this makes it necessary to check every page in case the language ID# is used on more than one page.
  • Not having context in the search results (not knowing what page/s an ID is used on) makes for a lot more work than is absolutely necessary.
Neither of these is a huge priority, but when time permits, having unique language IDs along with knowing which page(s) or module(s) each language ID is used on/in could be helpful to those of us who'd prefer not taking a fine tooth comb to the templates to figure out which is which.

ScreenShot-SharedLanguage.jpg ScreenShot-SharedLanguage.jpg - 219KB

updated by @claygordon: 03/26/15 03:03:46AM
Clay Gordon
@claygordon
01/14/15 09:01:52PM
754 posts

getting some link 'pages not found'....


Ning To Jamroom

On my system, TCLSkin1 is clone of Ninja 1.0.12, not 1.0.14.

TCLSkin1 is set as active skin.

Compare to 1.0.14 - 404 for me.

Go have lunch. This is not top of my list (this morning here in NYC - just passed midnight).
Clay Gordon
@claygordon
01/14/15 08:47:02PM
754 posts

A few remaining issues in member images galleries


Ning To Jamroom

On a side note for the scanner ... this URL fails to be identified as a URL:

( http://www.thechocolatelife.info/thechocolatelife/chocliferoot)

This works:

( http://www.thechocolatelife.info/thechocolatelife/chocliferoot )

I remember a thread of Strumelia's where some smiley's were not being properly identified ...
Clay Gordon
@claygordon
01/14/15 08:44:47PM
754 posts

A few remaining issues in member images galleries


Ning To Jamroom

It's not me - honest.

On my profile page, ( http://www.thechocolatelife.info/thechocolatelife/chocliferoot ) I click on Galleries and the destination URL is:

http://www.thechocolatelife.info/thechocolatelife/chocliferoot/gallery

However, I want to look at just the images without any gallery associations. The URL that works is:

http://www.thechocolatelife.info/thechocolatelife/chocliferoot/gallery/chocliferoot/all

The following URL (which would be the preferred form, IMO) fails (404):

http://www.thechocolatelife.info/thechocolatelife/chocliferoot/gallery/all

I am just coding what the system behavior tells me works, and that is {$profile_url}/gallery/{$profile_url}/all
updated by @claygordon: 01/14/15 08:45:31PM
Clay Gordon
@claygordon
01/14/15 08:38:04PM
754 posts

Text transform on profile menu


Ning To Jamroom

Brian -

Hope so, too. The only things keeping me from going live are these little formatting details.

I could push it knowing that it's going to take 24-48 hours for DNS to propagate once I make the decision to go live.
Clay Gordon
@claygordon
01/14/15 08:29:43PM
754 posts

getting some link 'pages not found'....


Ning To Jamroom

Michael:

Working from a cloned skin.
Go to ACP.
Select Skins
Select Templates
Select a modified template to compare - index.tpl
Click Compare - URL is now http://www.thechocolatelife.info/thechocolatelife/core/template_compare/skin=nsTCLSkin1/id=36
On left: nsTCLSkin1/index.tpl (custom)
On right: nsTCLSkin1/index.tpl (1.0.12)
From the popup, select jrNingja/index.tpl (1.0.11)
404
From the popup, select jrNingja/index.tpl (1.0.14)
404
Clay Gordon
@claygordon
01/14/15 04:32:44PM
754 posts

Text transform on profile menu


Ning To Jamroom

To date, I have been making changes to templates solely in the ACP template editor. I sometimes copy the text into JEdit locally to look at it (for example long lines without scrolling and for search/replace, etc) but I always copy the changes back up rather than FTPing them. This means I can also save a local copy of template changes.

For CSS stuff it's been a mixed bag. Sometimes I will make the changes using the style editor in the ACP and sometimes I will make the changes locally and FTP them up.

There are a couple of reasons for this, the biggest of which is that sometimes the style editor interface won't offer me values I like.

One example of this is the class .blog-index-text in index.css. The ACP picker for line-height only offers 5 pixel increments and font-size doesn't offer odd heights above 14px. So I could not select, from the ACP style editor, 15 pixel text on 17 pixel line heights. This is weird because I can't ever see selecting a line height of 600px which is the limit of the picker. SO - something is going on there.

The picker for .blog-index-title also does not offer odd line heights above 14px.

The font-size range for most sites is going to be 7-24 px. and I really think that line-height can be specified numerically (either 1.1, 1.7) or % (110%, 170%) without any problem at all. Direct entry makes a lot more sense, maybe with a picker offering px, ##, or % as options.
Clay Gordon
@claygordon
01/14/15 03:54:16PM
754 posts

going live on new domain in hours need clarification on new base url tool


Ning To Jamroom

Paul:

My site is sitting in a directory with an add-on domain properly configured (as you may remember).

www.thechocolatelife.info/thechocolatelife/
thechocolatelife.thechocolate.info/

When I update the DNS (Godaddy is the registrar) these will appear as www.thechocolatelife.com

How much of what you recommend to @soaringeagle will I need to do as a part of the DNS change?
Clay Gordon
@claygordon
01/14/15 03:49:13PM
754 posts

Text transform on profile menu


Ning To Jamroom

Brian -

As I mentioned to Paul privately, I also had some issues with template files not being copied over, specifically related to the header.

I manually went back in and changed the logo image (in the images tab of the skin), header heights (in header.tpl), and the CSS (in header.css).
Clay Gordon
@claygordon
01/14/15 03:10:12PM
754 posts

Text transform on profile menu


Ning To Jamroom

Brian:

I changed the text associated with id numbers in the language section of the jrNingja2 skin.
I cloned the jrNingja2 skin to nsTCLSkin1
The changes were not in the cloned skin.
  57