can't create page from template in confluence - templates

I created a page template in confluence, according to documentation, just like in this URL
https://confluence.atlassian.com/conf61/create-a-template-877187723.html
Everything went according to how documentation said, and I created and promoted my new template.
Template I made was simple (for a start) - 2 fields:
Title and description. That's all
Then when I go to "Create page from my template, the form opens, but the "Next" button does not work. Nothing happens when I click it.
Can anyone help ? I am "supposed" to be the space administrator there, but .. maybe there is something else missing ??
Create page from template

Related

Kentico - Editable WebPartZones on children pages?

I added a WebPartZone in the master page at the top pf the master page, this web part zone is a message bar that will display on all the pages but could be different on each page. Is it possible to have a web part zone in the template that is editable on each page? Or is a different way to do it?
Thanks
The short answer no. From the template engine prospective whatever editable in the master - is not editable in its children. All editable web parts/widgets editable on the master, are not editable in its children.
If you really want to have an editable text in the master and all its children, you probably need to clone and customize web part and form control it is based on. Or create you own web part.
P.S. You can have editable text in your page template so all page that use this template will have this editable text working.
If you can give more details on what kind thing you want to edit would be easier to provide an answer
P.P.S. You can have a work around but it will not be with editable text. You will have to edit message text at the form tab. Would that suits you?
You can add the webpart on your master, and use a macro to get the content, like {%CurrentDocument.GetValue("Message")%}, but you have to add a field to each page to store the message in.
Just throwing out one more option, if what you want to display changes from page type to page type, you can put a repeater on the master page, put a path of a period (current document), then use macros to set the page type to the current document class name and the transformation to currentdocument.classname+".mastermessage"
Using a macro, then add a transformation "mastermessage" to each page type it will encounter, then you can change the fields and format for each page type.

umbraco 7 page displays wrong template

I use Umbraco 7.2.1
I have a document type called News with allowed 2 different templates: News (default) & Projects
I create a page and choose Project template for it. And it displays News template instead.
I tried the following to see what's wrong and came to nothing:
I set up a new page and choose Projects template - the page displays News template instead.
I changed the default template for this doc type to Projects and set up new page with different title - the new page still displays News template instead of default Projects.
It is not logical. Tried to refresh the cache but the problem persists.
I ensured the template is correct and it displays as such in the CMS as well.
I have another doc type which uses different templates and have no problem with that. Only with News/ Projects templates.
Completely not logical..
You will need to check the structure on the doc type to check if both templates have been allowed to the News doc type. Typically when you create a new document type, only one template will be assigned. Alternatively, go to content, click on the properties tab and down the bottom you will see template. You should have dropdown enabling you to select which template you would like to use.

Can't assign template to a menu item Joomla

I have default template for all pages on my website, and 1 different template only for 1 menu item.
So, It worked very well, 1 page had special Landing page Template and other pages worked with another template.
However, today I discovered that Landing page shows with another template for other pages... But I didn't do anything to templates or menus, so I'm surprised that it stoped working.
I decided to assign landing page template to that menu item again, but even if the template assigned to the menu item, it still shows with another template. So I tried to assign standard joomla template to page and it didn't work...
Seems, Like joomla doesn't pay attantion to whatever I assign, it show everything with 1 template which I had on all pages except Landing page.
But, when I click "Preview" of the Landing page template in template manager it shows the template well, so everything is ok with the tempalte.
Thanks for your help
I found this solution, which worked for me... http://forum.joomla.org/viewtopic.php?p=2662700
The problem caused by SEF, but I'm not sure why would I have such problem... because I didn't change anything and it worked well the day before.... However, this thing worked
// Get the id of the active menu item
$menu = $this->getMenu();
$item = $menu->getActive();
if (!$item) {
//added here TO FIX THE ISSUE
$this->route();
//END CODE CHANGED
$item = $menu->getItem(JRequest::getInt('Itemid'));
}

Articles not showing up on front end on a custom made template joomla 3.1

I have created my own Joomla template using Joomla 3.1.
I have my main menu with the menu item "home" that leads to the front page.
I have a module called "body" in which I want my articles to be displayed, depending on which page the user is I want a different article to show up.
The article that I want to show up on the "Home" page is in a category called "home". My menu item "home" is a single article linking to the article I want to be on the front page.
All of the statuses are on published and the access on all mentioned items are public.
When I open the front end I can see the "body" module but no article. If I try using Protostar there is no problem and the article shows up.
Can anyone help? I suppose it is because there is no link between the "body" module and my article/category...?!?
Found the solution: all I needed to do is to add the tag jdoc:include type="component" / into my template. After that it worked fine...

Page Region not display full page width

This is an odd one to me because it only started happening since we moved to Apex 4.2. To get round the problem i have to copy and paste regions I already have in the application, rather than simply creating a new one.
When i create a new application and try to create a region on a page the attached always occurs. This also occurs if i create a new page in a current applications that were already in place before the Apex 4.2 upgrade. Was it even to do with the upgrade?
I assume its something in the Templates or Themes under Shared Componants but i cannot see anything that sticks out.
I thought i would try an HTML5 template to see if that made any difference however the same occurs, see screenprint.
Is there an answer why this is happening and how it could be resolved?
This really looks like it is a template "issue". You need to check your page template: what is it named?
For example, in Theme 23 there are several page templates which include a left, right or both sidebars. When your page uses a template with this sidebar, then the sidebar will always use up a portion of the screen.
If you have no template specified but rather use the "Application Default", then go to "Shared Components > Templates" and look at the page templates section for the template which has a check in the "Default" column. Most likely it is a template including a sidebar.
Aside from that you could also always use a tool to inspect the HTML and CSS. For example, with Firebug in Firefox you could rightclick on the empty space left of your region and choose "inspect element with firebug". It might be a TD element. It might be a div with a fixed width. It might be custom css pushing things about.