Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Token SelectedDDR Token Selected
Previous
 
Next
New Post
10/23/2016 7:01 PM
 

How many characters does SELECTED or BREADCRUMB Token check for a match? http://domain.com/Articles/Fire-Safety
If I use : <a class="list-group-item[?SELECTED] active[/?]" It marks the page 'Fire Safety' and 'Fire Safety Plan' as active if I am on Fire Safety Plan If I am on Fire Safety, it only marks Fire Safety as active.

It works correctly on all other pages. Haven't checked this with XSLT template, but I would rather not use xslt.

 
New Post
10/26/2016 4:35 PM
 
I don't think that it searches any characters for a match. This is done at the tab level, so tabid is the important variable.

You might be able to use the DumpXML template for some testing.

Note, also, that BREADCRUMB token is true for "any page within the current breadcrumb."

SELECTED should be true only for a single page.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
10/27/2016 3:21 AM
 
Was just using the Chrome dev tools, to see why both were colored blue (active), however ...

Wow, in Chrome if you look at source code, only 1 is marked active:
<a class="list-group-item" href="http://edmontonkids.com/More/Articles/Fire-Safety">Fire Safety</a>
<a class="list-group-item active" href="http://edmontonkids.com/More/Articles/Fire-Safety-Plan">Fire Safety Plan</a>
However, using the Chrome development tools, both are marked active

Using FF, source code shows only 1 active but using Firebug both are marked active.

In IE, source code shows only 1 active but DOM explorer shows 2 active.

The CSS (active) is from Bootstrap, will have to dig deeper into the Bootstrap CSS or JS.

This happens on only 1 page, and all pages have same skin, css, js

Yes I have rebooted the server, cleared cache, recycled app pool and on computer cleared cache in all 3 browsers and rebooted the computer.


There is only 1 logical conclusion, aliens have taken over the website. (If I was American, I could blame it on Hillary or Trump)
 
New Post
10/27/2016 2:28 PM
 
OK, as you are American you will have to find your own scapegoat. Aliens have been really difficult to track down and blame.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDR Token SelectedDDR Token Selected


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW