Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9254803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:33:52+00:00 2026-06-18T11:33:52+00:00

I am building a news reader in Sencha Touch 2. There is a share

  • 0

I am building a news reader in Sencha Touch 2. There is a “share” button in this news reader, but I’m not sure how you would share the current article via a URL.

That is, if my Sencha site’s URL is: http://www.senchareader.com, the only URL I can share is just that.

Is there some way to create, within the Sencha framework, something like, http://www.senchareader.com/article1234567 ? So that when the URL is clicked on by someone, it actually goes to the article that’s being shared?

Hopefully this is clear, let me know if it’s not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:33:53+00:00Added an answer on June 18, 2026 at 11:33 am

    Yes you can. Sencha uses URL hashes to support browser history. Take a look at this example on the ExtJS 4.1.3 site, and the related documentation here. Essentially, you add “tokens” (hashes) to the history, then listen for changes to support the forward and back buttons. If you are using Sencha Touch 2, however, history support is a bit easier by using “routes” in your controllers. You read Sencha Touch history support documentation here.

    The code to do this differs depending on whether you are using ExtJS or Sencha Touch, but is ExtJS it is something like the following:

    ...
    Ext.History.init();
    ...
    // something happens to change the url (like a user clicks on an article)
    var newToken = '/article/'+article.id; // or whatever
    var oldToken = Ext.History.getToken();
    if (oldToken === null || oldToken.search(newToken) === -1) {
      Ext.History.add(newToken);
    }
    ...
    Ext.History.on('change', function(token) {
      // handle the token changing, most likely by showing the right article
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a relatively basic news-reader app that involves displaying news in a custom
I'm building a news rating script for this website that has a lot of
I am building a CMS news sections with a few fields but the ones
I'm building a site that has three main types of online news publications: Article
I'm building (well, trying to build) a simple usenet news reader. The code below
Based off this is it safe to say that building a real-time news feed
I would like to build an HTML5/javascript news reader for tablets. I know HTML,
I'm building a page with some news items on it. The current HTML I
I'm in the middle of building a not scrollable, fixed layout website, but as
I am building an RSS Reader. Some of the existing ones out there (for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.