GoLightly

Default Edit Site Content: What variables can I use when I edit language?

  #1  
Old January 27th, 2010, 05:26 PM
Dale John M.'s Avatar
Dale John M. Dale John M. is offline
Administrator
 
Join Date: Oct 2006
Posts: 82
Dale John M. is on a distinguished road
When you click the link "Turn Edit Links On" you can edit your communities language fields. Sometimes it is helpful to add a dynamic variable to these language values that updates over time. This is the list of common variables available to you:

Community Email (%common:community_email%) An HTML version of your community email address that is protected from spam spiders, yet is easy for your members to click
Community Name (%variables:sitename%) The name of your community
Forum (%common:forum%) The word your community uses for the Forum feature
Group Name (%variables:group_name%) The name of the group you are looking at
Group Shortcut (%variables:group_shortcut%) The URL shortcut of the group you are looking at (only the portion after the site domain name)
Library (%common:library%) The word your community uses for the Library feature
Member (%common:member%) The word your site uses for "Member"
Members (%common:members%) The word your site uses for "Members"

You can reference any other language value this way:
%PAGE_NAME:FIELD_NAME%
Ex/ %common:member% pulls the value from value "member" on the page named "common" in the "Admin Tools" > "Manage Site Content and Branding" > "Edit (advanced)" page

You can display any configuration setting this way:
%variables:board_config.CONFIG_NAME_HERE% where "CONFIG_NAME_HERE" is what you see in "Admin Tools" > "Database Settings"

See also "How to add/change text on a site page"

Last edited by Dale John M.; February 5th, 2010 at 05:38 PM..
Reply With Quote

Default

  #2  
Old January 28th, 2010, 09:50 AM
Mark P. Mark P. is offline
 
Join Date: Dec 2009
Posts: 1
Mark P. is on a distinguished road
Can the Group Shortcut variable be accessed? If so, what is that variable name?
Reply With Quote

Default

  #3  
Old February 5th, 2010, 05:42 PM
Dale John M.'s Avatar
Dale John M. Dale John M. is offline
Administrator
 
Join Date: Oct 2006
Posts: 82
Dale John M. is on a distinguished road
Hi Mark, I have added the following in version 2.21.19, which should be pushed to your site within the week:

Group Shortcut (%variables:group_shortcut%) The URL shortcut of the group you are looking at (only the portion after the site domain name)

So for example, this variable would show "mygroup" for the following URL:
http://share.agn.org/mygroup
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
version 2.31.25 :: gl-005-app.golightly.com
Desktop View
Dale John McGrewDale John McGrew, 1st GradeEva KonigsbergEva Konigsberg, 1st GradeJill TempletonJill Templeton, 1st GradeJoe EvansJoe EvansJohn TempletonJohn Templeton, 3rd GradeJulia VcherashnyJulia Vcherashny, BabySarah GolightlySarah Golightly, 4 years oldTristan NaramoreTristan Naramore