Page template region posts

Hey,.

I wonder if it is possible to add items to the region when you edit a page template? The theme that I have only 8 posts in the region, and I would like to have more.

I don't know where I have to create the string substitution for this position in the region. I tried to add a simple substitution string to know #REGION_POSITION_XX # then tried to add to the page template, but that has not worked and it should appear as text.

I need to create a new model? Or can I just add a new position in the region to an existing model?

Thank you

J

Hi Julijan,

Julijan wrote:

I wonder if it is possible to add items to the region when you edit a page template? The theme that I have only 8 posts in the region, and I would like to have more.

I don't know where I have to create the string substitution for this position in the region. I tried to add a simple substitution string to know #REGION_POSITION_XX # then tried to add to the page template, but that has not worked and it should appear as text.

I need to create a new model? Or can I just add a new position in the region to an existing model?

You can add positions extra region to the page template. They are strings of built-in substitution APEX and limited to only 8.

Reference:

But, Yes, you can copy/create a new template and arrange them as you want in the HTML markup.

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • Create new region in the page template

    Hello

    I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.

    Any suggestion

    Hani says:

    I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.

    Any suggestion

    You cannot create additional region position placeholders. Why do you think that you need to do?

    Several areas can be assigned to each position in the region, the existing placeholders can be moved, regions may contain subregionsand region controlled by the attributes of the region and/or CSS page layout. These options provide more flexibility for most requirements.

  • Create a new page template

    Dear friends,
    I have a requirement to create an application with colors, logo and company standard layout.
    What is the best way to start. Should I change the Page template or model of the region.
    There are some standard .css files.

    I appreciate your help.
    Thank you.
    Satya

    >

    Please update your forum profile with a real handle instead of 'user448048 '.

    I have a requirement to create an application with colors, logo and company standard layout.
    What is the best way to start. Should I change the Page template or model of the region.

    The two and probably more.

    This is a big topic, and it is not really possible to hide in the form of a post on the forum. I'm afraid that if you ask the question in this way, you are already out of your depth...

    Develop a complete theme requires a good knowledge of HTML and CSS (and more and more JavaScript and a frame jQuery JS). It is beyond the scope of this information forum on the basics of HTML and CSS, or web and design the INTERFACE in general.

    See this classic cloning your UI with HTML DB company blog post (HTML DB was the former name of the APEX). Update to the latest versions of the APEX (you have committed the error type do not specify what version you use), as well as a few things will be different now, and there are new features that simplify or complicate the process described by Scott.

    Before going any further, you should be familiar with the documentation related to the use of themes, templates, and CSS in APEX: Oracle® Application Express Application Builder User Guide, Chapter 11: management of themes and models (may be different for your version of APEX: find the correct documentation).

    Once start you, if you have specific questions related to the inclusion in the APEX of the individual HTML, CSS, JS frameworks, or components then those are the questions there is place to ask here (after consultation of the documentation and the forum and the web previous relevant discussions and in accordance with the guidelines for research in the FAQ and sticky threads).

    With APEX, we are fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on the issue, we can then see firsthand.

  • Flash no longer works when refreshing a page template

    Recently moved from GoLive to DW CS3. I bought Total Training for DW CS3 to help the transition.

    I am wanting to create a page template to use for the entire site, so if I need to make a change to the model, it updates my entire Web site.  When I download the page, the flash image load very well. The problem I have is if I reopen the page template.dwt and make a change, when DW updates the pages that are related to the model, the flash of images in the pages no longer work.

    Here are my steps that I took:

    1 create a page named index.html

    2. an editable region called "main content" insert > template objects > editable region

    3. has created a folder named templates in the root directory

    4. file > save as template and called home.html (for testing so not joking my work index.html page)

    5. file > new > Page model and chose my file template.dwt

    6. adding content to the page.

    7. file > save as a society - hist.html

    8 download index.html and home.html company - info.html on the server.

    Everything works as it is supposed to.

    9. open template.dwt and make a change.

    10. save the page and DW updates pages home.html and company - info.html

    11 download to the server

    12 flash image on these two pages stop working

    Here are links to my pages

    Index - works

    Home - (from template) Flash does not

    Company Info - Flash works (didn't model) Flash does not


    Any ideas where I'm wrong?

    Oh, I see that you did.  So in the template file, make it.

    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','256','title','Main Flash Slideshow','src','../images/Main-Flash-Slideshow','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../images/Main-Flash-Slideshow' ); //end AC code
    

    Read like this-

    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','256','title','Main Flash Slideshow','src','/images/Main-Flash-Slideshow','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/images/Main-Flash-Slideshow' ); //end AC code
    

    See if that helps.

    Post edited by: Murray * CPA *.

  • Placement of body of page template

    Hello

    I use Apex 4.2.4 a 11.g database.

    I have an Apex report page which links to a form.  When the form of Treaty, it redirects to the report page (26).  The report page is a region that uses the model: "area reports.  Of success and failure messages are passed from the form page return to Page 26 of the report, but messages were not always display.  I was previously using a Point of view of the Template of the Page area Position '1', which has left, justified, but it covered the messages of success and failures.  After looking at the representative schema produced by the flashlight next to the area / field view Point, I realized that "Position in the area of Page Template 1" wasn't in the body and exceeded messages of success.  Therefore, I tried a few options to resolve this problem:

    I changed the point of the screen on the model Page of body (2).  The diagram of the flashlight indicates that it is in the body and not in the header and displays the messages of success over the report, which is excellent, but it puts an empty column about 100 px wide to the left of the report.

    I changed the point of the display at the Position of the template Page (2) region.  The diagram of the flashlight has indicated that it was in the body as well and left-justified.  He published the failure messages and the success of the form correctly.  The problem is that this point on the screen makes the report than about 100 px wide.

    How can I put this page / region so that my success messages from the display of the form properly on the page of the report and also have a report that takes the entire width of the page, framed on the left?  Also, a scroll bar at the bottom would be useful for wide report pages.

    Thanks a lot for watching this.

    PhilMan2 wrote:

    I use Apex 4.2.4 a 11.g database.

    I have an Apex report page which links to a form.  When the form of Treaty, it redirects to the report page (26).  The report page is a region that uses the model: "area reports.  Of success and failure messages are passed from the form page return to Page 26 of the report, but messages were not always display.  I was previously using a Point of view of the Template of the Page area Position '1', which has left, justified, but it covered the messages of success and failures.  After looking at the representative schema produced by the flashlight next to the area / field view Point, I realized that "Position in the area of Page Template 1" wasn't in the body and exceeded messages of success.  Therefore, I tried a few options to resolve this problem:

    I changed the point of the screen on the model Page of body (2).  The diagram of the flashlight indicates that it is in the body and not in the header and displays the messages of success over the report, which is excellent, but it puts an empty column about 100 px wide to the left of the report.

    I changed the point of the display at the Position of the template Page (2) region.  The diagram of the flashlight has indicated that it was in the body as well and left-justified.  He published the failure messages and the success of the form correctly.  The problem is that this point on the screen makes the report than about 100 px wide.

    How can I put this page / region so that my success messages from the display of the form properly on the page of the report and also have a report that takes the entire width of the page, framed on the left?  Also, a scroll bar at the bottom would be useful for wide report pages.

    Theme? Page template? Always include this information in the publication of a page layout or Visual formatting issue: How to get the answers from the forum

    Looks like you are using a page template with support for a sidebar on the left. Change the page to use a template with no sidebar (s) / Optional:

    Overview of the format mode isn't accurate for non-based themes on a table.

    Thanks a lot for watching this.

    It would be much easier to watch if we could actually see it on apex.oracle.com...

  • Possible to have shared SelectList in the Page template?

    Hi all

    I have a simple question about "what I am missing?

    We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.

    All the work is done, but I have a problem.

    We are creating a SELECTLIST element on each page!

    We use a < div > shared region in the Page template.

    We use a javascript in the Page template code.

    We use a common OracleSQLPackage for the entire treatment.

    We use a shared item in demand for the job number.

    But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.

    How do we code the drop-down list in the page template?

    Is it by creating the shared list?

    Thanks for your help

    user8115477 wrote:

    Please update your forum profile with a recognizable username instead of "user8115477": Video tutorial how to change username available

    I have a simple question about "what I am missing?

    One thing missing is that information which is necessary to obtain a rapid and effective response when ask you a question.

    We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.

    All the work is done, but I have a problem.

    We are creating a SELECTLIST element on each page!

    We use a shared

    area in the Page template.

    We use a javascript in the Page template code.

    We use a common OracleSQLPackage for the entire treatment.

    We use a shared item in demand for the job number.

    But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.

    How do we code the drop-down list in the page template?

    You do not have. Add a global page to the application and create the item selection list it. Dynamic measurements can also appear on the overall page to implement the behaviors associated with the element. Conditions can be used to control the pages of the element and the DAs are displayed on.

  • CSS selectors for Page templates (theme)

    Good day to you all:

    I used to change the page of an old application template by placing the following CSS selectors in the page template:

    .t4ContentBody {background-image: url(#WORKSPACE_IMAGES#bg1.jpg) ;}}

    .t4ReportsRegion .t4RegionBody {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4FormRegion .t4RegionHeader {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4FormRegion .t4RegionBody {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4HideandShowRegion .t4RegionHeader {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4HideandShowRegion .t4Body {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4HideandShowRegion .t4Hide {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    I don't remember how I found out the names of the different selectors (e.g. ContentBody, ReportsRegion, FormRegion, etc...)

    I use APEX version 4.2.6 theme 23.  How can I find the names for these elements of the page in my environment?  I completely forgot how do...

    Thank you

    Aqua

    AquaNX4 wrote:

    I used to change the page of an old application template by placing the following CSS selectors in the page template:

    .t4ContentBody {background-image: url(#WORKSPACE_IMAGES#bg1.jpg) ;}}

    .t4ReportsRegion .t4RegionBody {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4FormRegion .t4RegionHeader {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4FormRegion .t4RegionBody {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4HideandShowRegion .t4RegionHeader {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4HideandShowRegion .t4Body {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    .t4HideandShowRegion .t4Hide {background-image: url(#WORKSPACE_IMAGES#honey.png) ;}}

    I don't remember how I found out the names of the different selectors (e.g. ContentBody, ReportsRegion, FormRegion, etc...)

    I use APEX version 4.2.6 theme 23.  How can I find the names for these elements of the page in my environment?  I completely forgot how do...

    You can identify the selectors required either by looking at the definitions of page templates and the region you use (Home > Application Builder > Application > shared components > models), or use a browser with a web inspector to display the source of the component when the application runs.

  • XmlMenuModel in the page template

    I've defined a template page with an attribute of type XMLMenuModel, for the consumer of this model must provide the menu template.

    < afc:attribute >
    < afc:attribute - name > xmlMenu < / afc:attribute - name >
    < afc:attribute - class > org.apache.myfaces.trinidad.model.XMLMenuModel < / afc:attribute - class >
    < afc: required > true < / afc: required >
    < / afc:attribute >

    < af:menuBar id = "bar menu" value = "#{attrs.xmlMenu}" var = "item" > "
    < f: facet name = "nodeStamp" >
    "< af:commandNavigationItem text =" #{item.label} "action =" #{item.doAction} ".
    ID = rendered = "#{item.rendered"cni1"} '"
    Disabled = "#{Item.Disabled}" / >
    < / f: facet >
    < / af:menuBar >

    It does not work when I provided a correct object. To ensure that I created a page with this template and copied the menu bar code in the page. The two model menu bar and directly in the page using the same model. The page works, but that of the page template does not work. It shows an empty menu bar.

    "< af:pageTemplate viewId="/WEB-INF/org/Template.jsf "id ="pt1">
    < f: facet 'content' = name >
    < af:group >
    "< af:menuBar id ="bar menu"value ="#{root_menu}"var ="item">"
    < f: facet name = "nodeStamp" >
    "< af:commandNavigationItem text =" #{item.label} "action =" #{item.doAction} "id ="cni1 ".
    rendered = "#{Item.rendered}" disabled = "#{item.disabled}" / > "
    < / f: facet >
    < / af:menuBar >
    < af:region value = "#{bindings.dummybtf1.regionModel}" id = "r1" / > "
    < / af:group >
    < / f: facet >
    "< name f: attribute ="xmlMenu"value ="#{root_menu}"/ >".
    < / af:pageTemplate >

    Any ideas?

    Thank you

    JDev 11.1.2.4

    I finally found the answer. The reason is that I have two models of pages in my project. Because I trust JDeveloper to generate the correct code, I does not change the value of property var. So it was set at uploading for two models of pages. For some reason, the page template attributes not were not passed. So to resolve the issue make sure that all your page templates have the same value of property var. always a pleasure to work with such a test framework. You get what you pay for...

  • Hello! How to change the page templates in Business Catalyst?

    Hi all

    I'm relatively new to Business Catalyst. I'm working on my e-commerce site that I originally created in Adobe Muse.

    I want to create a page template in British Colombia for the page of the e-commerce site... and I don't know how the template of style... is anyway I can attach the CSS file for the model? I have found no option for this. I intend to create a page template that I can continue to add new products as and when I want to.

    My knowledge of html and CSS is very limited and fight with the same. So, I would appreciate any help that anyone can give to the creation of a new page template for a beginner like me.

    Thanks in advance!

    Rgds,

    ~ Arti

    Thank you for posting.

    You can download a CSS file in the folder CSS in the folder root of your business catalyst site. Please refer to the following screenshot:

    http://aishday2.worldsecuresystems.com/Aish/2012-10-16_1447_001.PNG

    Once you have downloaded the file, you can link it to your model as shown in the following screenshot:

    http://aishday2.worldsecuresystems.com/Aish/2012-10-16_1432_002.PNG

    Best regards,

    Scott Rouanet

  • Design of pages, dynamic regions? (How?)

    Hi all

    I use JDev 11.1.1.4. I have created a series of pages in the ADF and want to learn more about dynamic regions.

    I have a series of links in the left side of my page. Dependign on the link clicked to the facet Center is expected to open the fragment of the corresponding page. In this way, it doesn't look like the entire page is being updated and loaded whenever you click on a link.
    How can I go on the design of this. have I reason to understand that dynamic regions should be used?

    Thanks in advance
    Saida.

    Hello
    I think that you can do with . Create model with links and side space in the middle to load the page.
    Creation of the Page Template: http://www.youtube.com/watch?v=ZZeP8hNcjTw

    You can get an idea about the dynamic regions with the help of taskflows like...
    http://baigsorcl.blogspot.com/2010/06/working-with-dynamic-regions-in-Oracle.html

  • Can I create a #REGION_10 # in a page template? If so, how?

    I am trying to add additional parts to the page a level template tab.

    Is it possible to add a new region and set #REGION_10 # for example?

    I don't know where to put the HTML code I the definition of the page template to update the #BODY #, but when I add #REGION_10 # it doesn't seem to work.

    Here's what I tried to do:

    (by omitting most of the HTML body for more clarity)

    It is the existing portion that affects areas of the body
    < b >
    < td valign = "top" width = "100%" > #BOX_BODY # REGION_POSITION_02 # REGION_POSITION_04 # < table >
    < class td = "t13ColumnSep" > < div class = "t13ColumnSep" >
    < / div > < table >
    < td valign = "top" > < div style = "float: right;" > #REGION_POSITION_03 # < / div > < table >
    < /tr >

    Notice the addition of the first lower row with REGION_10
    < b >
    * < td valign = "top" > < div style = "float: left; ' > #REGION_POSITION_10 # < / div > < table > *.
    < td valign = "top" width = "100%" > #BOX_BODY # REGION_POSITION_02 # REGION_POSITION_04 # < table >
    < class td = "t13ColumnSep" > < div class = "t13ColumnSep" >
    < / div > < table >
    < td valign = "top" > < div style = "float: right;" > #REGION_POSITION_03 # < / div > < table >
    < /tr >

    Now, if I do it like this and fly REGION_05 form the footer, it works as I wanted to, but I need to REGION_05 no later than...

    < b >
    * < td valign = "top" > < div style = "float: left; ' > #REGION_POSITION_05 # < / div > < table > *.
    < td valign = "top" width = "100%" > #BOX_BODY # REGION_POSITION_02 # REGION_POSITION_04 # < table >
    < class td = "t13ColumnSep" > < div class = "t13ColumnSep" >
    < / div > < table >
    < td valign = "top" > < div style = "float: right;" > #REGION_POSITION_03 # < / div > < table >
    < /tr >


    Thanks for your help

    George Milliken

    Published by: George Milliken on November 14, 2010 20:18

    Hi George

    Don't feel bad, fly you #REGION_POSITION_05 # is a perfectly valid and rational solution.

    Looking at the model you use, another solution would be to move parts of #REGION_POSITION_04 # to #REGION_POSITION_02 #, releasing #REGION_POSITION_04 # for your use.

    A quick check using the APEX views will determine how much work it is.
    This will take more work than 'steal' #REGION_POSITION_05 #, justifying why you did.

    You're officially absolved of the crime you to 'fly' - easy sleep.

    Mark

  • How to set the page template for a page in app

    I've been looking for a way to re - assign a specific page to a different page template, and I must be blind. I did it with the regions and reports, but never a whole page. The closest I can find is how to set the default page for an application model template. What I have is a printable form that they want in a specific format. I was able to code the whole thing into a region of PL/SQL, but I was hoping that I could take an existing page template and modify the model to different regions in the areas I would like to.

    Can someone help me find this? I have already created a copy of the page template I want to twist.

    If you are in the tree view, double-click the entry of title of page (top); If you are in the component view, simply click the edit button in the page area. Either way will take you to the screen of the Page change. in the display attributes section, you will see a Page Model drop-down list.

    -David

  • Header of page Template (minimal PPR) not be able to find the location

    Hello
    I can't see the Page Template header (minimal PPR).
    where I can see it.






    Thank you
    Nisha

    Hello

    I don't understand what you mean.

    If you are referring to this this post
    Report without discounting
    and the link I post there
    http://Apex.Oracle.com/pls/OTN/f?p=11933:48

    This means that you must create new code from the template page and placed at definition of body

    BR, Jari

  • How to use the pageDef of the Page template file.

    Hello

    JDev Version 11.1.2.3.0.

    I have an app with the pageTemplate file that is used on all pages. I added a taskflow bounded to the page template. To use this bounded taskflow, I need to have in the file pageDef the taskflow definition:

    "< taskFlow id ="languageBTF2"taskFlowId="/facets/language/languageBTF.xml#languageBTF ' activation 'deferred = '.

                  xmlns=" http://xmlns.Oracle.com/ADF/controller/binding "/ > "

    However this was automatically added in the model pageDef file. If I want to use it in all of my pages, I need to add it to all their files pageDef manually, because the #{bindings} resolves to the pageDef of the current page and not the model page.

    Kind regards

    Pamela

    If you add the template, you must update all the linking pages to access the model pageDef pageDef. You can try this:

    1 - Open one of you request page (.jspx) and go to the pageDef, this page, and in the executable section add this as:

    
        
        
    
    

    in the path to write the path of the file for pageDef model.

    2 - Open the .jspx page and in the pageTemplate add this value = "#{bindings.ptb1}" as "

        
          
            
    
            
          
        
    

    3 - Repeat these 2 steps for all pages.

  • Metacontainer on the webcenter page templates

    Is it possible to include the container meta on a webcenter portal page template?

    I was looking at this subject, but so far, the only way to include the meta on the head element tags is to add the facet of container for metadata about the page inside the af:document tag styles:

    <af:document title="#{pageDocBean.title}" id="docrt">
             <f:facet name="metaContainer">
                <af:group id="metaContainer">
                   <trh:meta name="viewport"
                             content="#{'initial-scale = 1.0,maximum-scale = 1.0'}"/>
                   <trh:meta name="keywords"
                             content="#{navigationContext.defaultNavigationModel.currentSelection.attributes['Subject']}"/>
                   <trh:meta name="og:url" content="#{urlNavigation}"/>
                   <trh:meta name="og:type" content="website"/>
                   <trh:meta name="og:description" content="#{pageDocBean.desc}"/>
                   <trh:meta name="og:title"
                             content="#{urlNavigation}"/>
                   <trh:meta name="og:image"
                             content="#{serverUrl}#{'/ShowProperty?nodeId=%2F'}#{documentsService.defaultConnectionName}#{'%2F'}#{bindings.ImagenBannerHeaderID}#{'%2F%2FidcPrimaryFile&amp;revision=latestreleased'}"/>
                </af:group>
             </f:facet>
    

    Doing this works for newly created pages, but for the old pages, the only way to add metadata container is to change them one by one and add extract metacontainer.

    is it possible to add the metadata on the page templates container, so that the generated HTML code includes on <>head meta tags < / head > section? It mainly enter the keywords of Search Engine Optimization, which gets only recognized on the < head > element.

    Hello

    As mentioned that your condition is to add a key word, in this case you will have to add it into each page. model of page is applicable to each portal pages, so in this case, your goal is not resolved. Same case in the style of the page.

    Therefore, add the keyword individually to each source of the page.

    Thank you

    Amey

Maybe you are looking for

  • After Firefox 23.0.1 I got no default search engine. How can I change in regular behavior?

    Before last 'upgrade' to Firefox, I used to type any result page or the words in the URL bar and Firefox opens a Google (or whatever I chose as the default search in the options) to the words I typed.Now, I don't have a "default search", search on th

  • Equium M50-164 - spare battery

    I have the M50-164 - is possible to buy a replacement anywhere battery pack? I did not find anything at all on the Tosh site or on third-party sites. Ideally I'd like long battery life that I often work on the go. Andy

  • Feature: Q-waves Wireless USB Kit

    Having just bought this article, it seems to have installed but showing is not connected, I have a Lenovo ideapad with Windows 8 and having used the facility to trouble shoot, it shows the problem found as a USB root hub has a driver problem, any sug

  • Lightroom import problems

    Hi guys!Been having bad last week, or so, with importing photos into Lightroom. I have a LOT of pictures, about 10.5 thousand, and try to import in Lightroom are problems of variables. The two big questions are this:1. I store all my photos into fold

  • Can I add my current license which is on an iMac to a laptop?

    what I can?