News page

With {module_pagename}, you get the page name of the current page you are visiting.

Is it also possible to get the ID of the page template you are currently visiting with module or liquid tags?

Thank you!

The placement of position OID will differ by site based on the call, naming, you collections is also important for proper use in your projects.

{module_pagename} can be defined as a piece of data to tell your body tag, so it does not have in your actual website.

From there on, it is now accessible as a data point liquid.

{{pagename.name}} to get:

{"{module_data resource = 'pages' version = 'v3' fields ="id, name and templateId"where="\{'name':'{{pagename.name}}'\} "skip = '0' limit = '2' = 'id' ="pageData"collection order}

{{pageData.templateId}

It's a little cleaner and more reliable.

I have a couple other posts with people think that model id could be useful for their conditions of liquids. But it's really not good. You cannot control the models on the front-end server, you can not change dynamically. A page can have only one model.

I see thinking, but much better alternatives and ways to do things.

Tags: Business Catalyst

Similar Questions

  • How to open a new page (new document) without closing existing?

    How to open a new page (new document) without closing existing?

    In the current version of Pages on a Mac, you simply go to the file menu and click New or use the keyboard N command.

  • Can I print each table on a new page?

    When you use numbers, I often have several tables in a given sheet. Like this:

    When I print the worksheet, this often causes tables to be spread over several pages. Like this:

    It is very painful position each table in the exact spot so it will show on the next page, like this:

    Is there a setting somewhere in the sense of ' print each table on a new page.

    If not, is there another book autour which does not imply boredom of lowering it the exact amount of each table so it will show on the next page?

    Thank you!

    A work-around may be copy and paste each table into Pages where you CAN insert page breaks. (You may need to force the paintings to stay up-to-date).

  • If I have a small Firefox page I can not open a NEW page. He let me just open a new tab on the reduced page

    If I have a small Firefox page I can not open a NEW page. He let me just open a new tab on the reduced page. I used to be able to open a new page in browser icon on my desktop, but for these last days, it won't let me. It is a desktop computer, running Windows 7. Everything is up-to-date.

    Hi Deb, it's hard for me to test it personally because I've pinned the shortcut of Firefox to the taskbar, which changes its behavior, and when I remove it, I don't fit my desktop icon. (?!)

    Anyway, as a temporary workaround solution while we sort out this point, you can use the 'Skip' list: right click on the Firefox icon in the task bar and choose 'Open a new fenΩtre' that should certainly generate a separate window and not only a new tab in the existing window. Normally works?

    Firefox has a hidden setting that you might try to change to see if it makes a difference. Normally, when you open a link in another program, it opens in a new tab in the last window of Firefox, that you used. Your what's doing? I propose changing the setting so that the link must open in a new window to see if it has an impact on this problem.

    (1) in a new tab, type or paste Subject: config and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste link.o and make a pause so that the list is filtered.

    (3) double-click the preference browser.link.open_newwindow.override.external and set its value to 2 and click OK.

    The possible values for this preference are as follows:

    -1 = follow your settings in the Options for new tabs vs new windows (default)
    3 = open external links in a new tab in the last active window
    2 = open external links in a new window
    1 = open external links in the last active tab replaces the current page

    There are a few other similar named preferences, so be sure to change one that has 'external' in the name.

    Any difference?

  • When I hit the + key for a new page, all my widgets have disappeared. All my sites are listed is no longer. How to re - install?

    I changed my search engine of Norton. Now when I click on the tab for a new page, it happens with search for Norton and I don't have my widgets with my sites. I have removed the research and tried everything to get widgets to my sites favorite on when I hit the sign '+' for a new page.

    Need help

    Check and see your current newtab setting:

    Type of topic: config< enter > in the address bar.
    If a warning screen is displayed, press the button to be careful .
    At the top of the screen is a search bar. Type browser.newtab.url
    This indicates what to show when a new tab opens Firefox.
    If you want, right click and select Edit. You can change the setting

    topic: Home (Default Firefox homepage),
    on: newtab (displays the more visited sites),
    Subject: vacuum (a blank page),

    or you can enter any web page or Subject: page you want.

    The same instructions are used to the new setting of the window, classified
    browser.startup.homepage.

    Start Firefox in Safe Mode {web link} by holding down the < shift >
    (Mac options)
    key and then from Firefox. Is always the problem?

  • I put "Tiles" for my new tabs. He used to come to my new pages as well, but now it is not. How can I be my new default page of the tiles?

    I don't see any instructions for the manufacture of tiles my default NEW PAGE. I see a lot of information on the creation of my failure to the NEW TAB PAGE. How to do it for my default NEW PAGE too?

    'Address' of the new tab page is on: newtab where you must type or paste in the Preferences dialog box (Start, homepage, tabs and download settings).

  • Fonts on the new BBC News page are distorted

    Recently, the BBC revamped its news pages. Seen on a desktop PC with a screen resolution forced down to the equivalent of 1 366 x 768 fonts small look sharp.

    However, if I find the same page on a laptop with a resolution of 1366 x 768 fonts are deformed and broken. I combined two screenshots to show the problem.

    On the left of the picture below is a close-up of the display of the laptop and on the right is the same page seen on your desktop with the screen resolution changed to give a vertical resolution of 768.

    https://DL.dropboxusercontent.com/u/812217/Laptop_Desktop_Screenshot.PNG

    I tried to download an image, but the hourglass just kept turning. I checked the font for both PC settings are that they are identical. These are the Visual settings for Windows 7 on both computers.

    I tried to search to see if others have reported the problems I see, but cannot find anything. I'm puzzled as to why the BBCsite would look so bad. I hope you can help.

    Thank you
    Ray.

    From what I see, Freesans is not a downloaded but police that Firefox would need to find it on your system. If you see the Windows fonts folder (or Panel), see you there? I don't know how it could have got installed, but maybe it can be removed...

    In another thread, a method was proposed to substitute a locally installed font for that specified by a Web site. Is to apply a custom style rule (using the stylish extension or a file userContent.css) along these lines:

    @font-face {
      font-family: "Freesans";
      src: local("Arial");
    }
    

    I have not tested myself.

  • Holding still to open new pages, or not at all

    I have used Firefox for years, and it has always been THE best browser. However, the last two versions have shared a problem, and it has me Firefox hunts. First of all, regardless of the settings, Firefox insists on the last page of opening, rather than the Google News page that I said open the preferences page... * watch * the good Google News page, but Firefox keep coming back to this that last opened. It's annoying, but not a game-breaker.

    What, however, is that Firefox has become incredibly slow in opening * any * page, if we open the page at all. When I try to go to a web page, it seems he's trying to open this page, but nothing happens. I get "loading" page and the url is, but that's all. Sometimes, after a few minutes, the page loads slowly; most often, Firefox is simply there, no error message, no "Firefox is not responding" or anything else. I have the latest version of Firefox, and the latest versions of Internet Explorer, Chrome, and Opera. all three of * these * browsers instantly open new pages and go to the appropriate home page, by the way.

    I've completely uninstalled Firefox several times and removed all traces of it that I could find on my computer, nothing helps. I would * love * returning to Firefox, as always is for me the best browser, but with the way it works, is not an option.

    I tried every single suggested "Difficulty" in the Mozilla support pages, and neither did some good. Any other suggestions?

    Also, could check you the custom connection settings? You can do it in the dialog box Options here:

    "3-bar" menu button (or tools) > Options > advanced > tab mini network > button "settings".

    The default value of 'Use system proxy settings' should piggyback on your Windows/IE 'LAN' settings, but you can also try 'No proxy' to see if it has an impact.

  • where is the page reload option toforce of a new page online

    I am downloading of pages updates on my site, but it seems that firefox is the reading of my computer, but not from my Web pages online, there was once a choice recharge with a right mouse on the page and also under view but with 33.1 I use firefox I don't think this choice. I checked that the new pages are there but the old pages that I need to see with do not update.
    Wendy

    Try {Ctrl + F5} to bypass the cache and reload from the server.

  • don't get rid of the classic theme - I HATE TABS squared &amp; I miss the toolbar at the bottom that tells me where I'm trying to go to a new page.

    1. How can I get rid of the classic theme?-hating to the square of the tabs.
    2. where is low toolbar that lets me know (such as to empty the trash on my Mac) where I am trying to go to a new page?

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Firefox keeps blocking my Web page of the evolution towards a new page - I don't want to do that. How to I stock blocks?

    When you are working in several different programs (Auctiva is one) I get a message that Firefox blocked my attempt of Web pages to direct me to a new page. Sometimes I can click on allow, but sometimes the message went so fast, I no. Option. In most cases, this page switch is necessary for what I do to reach - in Auctivia my profile don't post to eBay for hours if he can't move pages. How can I stop Firefox to block these switches page. It happens more and more. I got everything I can think of in circles, but nothing helped.

    Karen

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise! to keep the comments: config page.
    3. copy (from here), accessibility.blockautorefresh and paste it into the search field
    4. Now you have the preference and value, if it's wrong, it's OK, if not double click above to make false
    5. out the words: config page, exit firefox and restart.

    do the same with network.http.prompt - temp-redirect , note we want true value in this one.

    Thank you

  • I've just updated to the latest version and now I can not manually type in the URL. I can't get to a new page if I click on a link.

    I've just updated to the latest version of Firefox 32.0.3 today and now I can not manually type in the URL. I can't get to a new page if I click on a link. I had to use - gasp - Chrome just to get to this help page!

    I tried to restart Firefox.
    I can type (not a keyboard problem), but the browser never tries to go to URL, when I hit enter

    Any ideas?

    Thanks - kept looking around and found a rec to make a reset of Firefox. This seems to have worked.

  • Whenever I go to a new page, Firefox saves

    So, whenever I open a new page, Firefox saves in thumbnails when I open a new tab. How can I stop this? It gets really annoying.

    It is normal for Firefox create thumbnails of pages in your history, but generally the new tab page is filled with very visited sites and shows rarely new sites, so it's weird to see them appear immediately (unless you clear your history frequently).

    You want to change what shows in a new tab? There is a hidden for this parameter:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered

    (3) double-click the preference browser.newtab.url and enter your favorite page:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Press Ctrl + t to open a new tab and check that it worked. Fixed?

  • At the start of Firefox homepage moves automatically to the new page showing error 404; However the BACKSPACE button brings back me to the home page; Difficulty?

    At the same homepage for several years; problem just started a few days ago, without warning. Tried to reboot Firefox with no resolution. If I type in the URL of the home page, it always moves to a new page showing the 404 error and rollback leads me to the home page, but only with Firefox and only on this computer. Problem is not repeated with Explorer or Firefox on another computer.

    Clear the cache and delete cookies only from Web sites that cause problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Why focus/cursor selects the address bar when you click in a new page?

    This happens all the time, but most of the time... When I browse a site by clicking on the links, whenever a new page load the address bar is chosen to start typing. When I go to scroll down (using the down arrow/page keys) he'll scroll rather recent page URL in the address bar, instead of scrolling to the bottom of the page.
    Looks like this behavior just started today...

    To be clear, that's not something to do with the tabs, pages open in the same tab by clicking on the links at left will also affect the cursor to the address bar.

    I don't think I'm in safe mode, I tried to reset firefox and this still happens. If this does not work as expected, can I disable it?

    You open links in the same tab?

    This also happens if you click the link to open the link in a new tab?

    Have you checked for problems caused by plugins?

    In the Firefox Safe mode, these changes are effective:

    • all extensions are disabled (subject: addons)
    • Default theme is used (no persona)
    • userChrome.css and userContent.css are ignored (chrome folder)
    • default toolbars is used (localstore file - safe.rdf)
    • JIT JavaScript compilers are disabled (subject: config page: javascript.options. * jit)
    • hardware acceleration is turned off (Options > Advanced Options > general)
    • plugins are not affected
    • preferences are not affected
  • I have installed Firefox 29.01, but two pages reappear, my homepage, and what's new in Firefox page. How to stop that popping up New page?

    I installed Firefox 29.01, but every time I open my house opens and makes what's new in Firefox page. I want to disable the who is the new page and want to only the home page to open but every time I start Firefox will open two pages.

    Hello, this can happen when firefox is not able to correctly save preferences in the profile folder. Please try this: click the menu button

    then click on help

    > troubleshooting information > profile folder - 'display the folder '. then a new window will open. in this search on a file named user.js window (it can be used to overwrite your custom settings). where it is present, delete or rename this file and then restart firefox.

    For more information and other steps, please also see: How to fix preferences that will not save

Maybe you are looking for