1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Ahmedabad
    Posts
    30
    Vote Rating
    0
    mayurbhuva is on a distinguished road

      0  

    Default Unanswered: Border layout how can i set php page link

    Unanswered: Border layout how can i set php page link


    Hi all,

    I want to create one border layout which is shown example in layout manager / border layout


    in this layout if i want to set PHP page link in center then how can i set it.


    Thankyou,

  2. #2
    Sencha User
    Join Date
    Feb 2011
    Posts
    174
    Answers
    10
    Vote Rating
    1
    netemp is on a distinguished road

      0  

    Default


    Quote Originally Posted by mayurbhuva View Post
    in this layout if i want to set PHP page link in center then how can i set it.
    Are you trying to say that you want to display the content from a PHP page in center?

    Or is it that you just want to display a simple link. If its about displaying a simple link, then in the center region you can use html config as html:'link goes here'.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Ahmedabad
    Posts
    30
    Vote Rating
    0
    mayurbhuva is on a distinguished road

      0  

    Default about to display link

    about to display link


    Thanks,

    actually i want to build one website layout. means in north i set some button like home , contact , act.

    and i want when i click on button this button link have php page and i wnt to display this page in center portion in border layout.

    thanks again..

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Location
    Ahmedabad
    Posts
    30
    Vote Rating
    0
    mayurbhuva is on a distinguished road

      0  

    Default i set link through

    i set link through


    actually i set link through html
    Code:
     {
               region:'center',
                xtype: "panel",
                html: new Ext.XTemplate("<a href='http://localhost/contact/viewcontact.php'>{value}").apply({
                    value: '2. HTML property of a panel generated by an XTemplate'
                })
            }
    which is given ther but how can i set my grid in this center .

    sorry for some misunderstanding about question ..

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Posts
    174
    Answers
    10
    Vote Rating
    1
    netemp is on a distinguished road

      0  

    Default


    I shall advise you to create a viewport with north and center regions. Give an id to center region and then dynamically add/remove components from this center region. Something similar to this - http://tdg-i.com/58/containers-add-and-remove

Thread Participants: 1

Tags for this Thread