The Big Spring Sale! Up to 50% off!

Joomla Position Creation

Doug G.
131 Posts
Doug G. posted this 16 July 2021
Ask a Question

Adding a Joomla position in Nicepage appears to put the cart before the horse. Position names now have "Active Position Names" when adding a position and do not create the positions when uploaded as it used to albeit confined to within the side bar built into blogs or articles. Aside from using the 'Modules Anywhere' third party module in lieu of Joomla's own module package

I created 4 positions on the Home page, but the positions that appear to be created in conjunction with the template bear no resemblance to the names of the positions I had input. My 4 defined positions were NewsUpperLeft starting at the upper left position in a 2x2 grid and the last position is NewsLowerRight with the other two names following the same naming convention for their positions.

Instead of creating 4 positions with that name, it appears to have created 3 positions named 'PostUpperRight, PostLowerLeft, PostLowerRight' with a sidebar object also shown as a named position choice. None of the HTML text I put in each module displayed in the front page positions after editing the Theme/Template online. Note: The project has a single page called Home assigned to the "hmenu" position and no other page exists.

Now we are in the 3.x version is it not time to address the lack of support for the built in Joomla position engine and add it? Nicepage keeps adding features to Wordpress while Joomla appears to be treated like a second class citizen.

Adding a Joomla position in Nicepage appears to put the cart before the horse. Position names now have "**Active** Position Names" when adding a position and do not create the positions when uploaded as it used to albeit confined to within the side bar built into blogs or articles. Aside from using the 'Modules Anywhere' third party module in lieu of Joomla's own module package I created 4 positions on the Home page, but the positions that appear to be created in conjunction with the template bear no resemblance to the names of the positions I had input. My 4 defined positions were *NewsUpperLeft* starting at the upper left position in a 2x2 grid and the last position is *NewsLowerRight* with the other two names following the same naming convention for their positions. Instead of creating 4 positions with that name, it appears to have created 3 positions named 'PostUpperRight, PostLowerLeft, PostLowerRight' with a sidebar object also shown as a named position choice. None of the HTML text I put in each module displayed in the front page positions after editing the Theme/Template online. Note: The project has a single page called Home assigned to the "hmenu" position and no other page exists. Now we are in the 3.x version is it not time to address the lack of support for the built in Joomla position engine and add it? Nicepage keeps adding features to Wordpress while Joomla appears to be treated like a second class citizen.
Vote to pay developers attention to this features or issue.
5 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 10 August 2021

Hi Doug,

Joomla does not allow positions anywhere. They can be CREATED in the theme only. This is a specific function added to the template PHP file + record in the theme XML file. The list of positions from the XML file is used to display a list of available positions under the Joomla Module Manager. But Joomla allows displaying module in the article with the {loadposition} shortcode. Nicepage uses this functionality when you add the Position element to the Nicepage page (outside Header and Footer). You can type the name of the Position element to display the module in this "fake" position. It does not create a position but you can display the module in this specific place on the page. In other words, if you add {loadposition doug} to the article this will not create the "doug" position. But if you type the name of this position under the module settings the module will be displayed on the page. The same is with the Position element on the Nicepage Page (between Header and Footer).

Do you mean "Sidebars"? Joomla does not know anything about sidebars. It is just a container in the theme with the function that creates a position in the theme. Everything depends on the theme structure. Nicepage allows sidebars in the theme (Post/Blog/etc Templates)

Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Doug, Joomla does not allow positions anywhere. They can be CREATED in the theme only. This is a specific function added to the template PHP file + record in the theme XML file. The list of positions from the XML file is used to display a list of available positions under the Joomla Module Manager. But Joomla allows displaying module in the article with the {loadposition} shortcode. Nicepage uses this functionality when you add the Position element to the Nicepage page (outside Header and Footer). You can type the name of the Position element to display the module in this "fake" position. It does not create a position but you can display the module in this specific place on the page. In other words, if you add {loadposition doug} to the article this will not create the "doug" position. But if you type the name of this position under the module settings the module will be displayed on the page. The same is with the Position element on the Nicepage Page (between Header and Footer). Do you mean "Sidebars"? Joomla does not know anything about sidebars. It is just a container in the theme with the function that creates a position in the theme. Everything depends on the theme structure. Nicepage allows sidebars in the theme (Post/Blog/etc Templates) Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Doug G.
131 Posts
Doug G. posted this 10 August 2021

Hi Olivia ,
The only barrier to front page positions is with Nicepage. Joomla allows positions anywhere.

Just because Nicepage treats it as content, that is with the nicepage programming, not Joomla. You are also limiting sidecars. Joomla allows 2 on both sides. Again this is a nicepage limitation.

So does word? Software.

Doug

Hi Olivia , The only barrier to front page positions is with Nicepage. Joomla allows positions anywhere. Just because Nicepage treats it as content, that is with the nicepage programming, not Joomla. You are also limiting sidecars. Joomla allows 2 on both sides. Again this is a nicepage limitation. So does word? Software. Doug
Support Team
Support Team posted this 27 July 2021

Hi Doug,

The list of the positions from the screenshot you provided above displays positions from the THEME. You cannot create the position in the THEME by adding the Position element to the page which is the CONTENT. Therefore, the 4 positions named as "headlineNewsTopRight" etc in the project you provided cannot be displayed on the list of positions. But you can still add modules to these positions. Simply type the position name manually under the position list dropdown and press ENTER.

The other positions in the list are theme positions like Menu (added to the Header), Sidebar positions (added to the Blog Template), Breadcrumbs (added to the Post Template), and Positions added to the Post Templates. Header, Footer, and Templates are the THEME. Nicepage page (everything between Header and Footer) is the CONTENT. You cannot CREATE a position in the content just like you cannot create a position in the theme in the Joomla article directly.

Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Doug, The list of the positions from the screenshot you provided above displays positions from the THEME. You cannot create the position in the THEME by adding the Position element to the page which is the CONTENT. Therefore, the 4 positions named as "headlineNewsTopRight" etc in the project you provided cannot be displayed on the list of positions. But you can still add modules to these positions. Simply *type* the position name manually under the position list dropdown and press ENTER. The other positions in the list are theme positions like Menu (added to the Header), Sidebar positions (added to the Blog Template), Breadcrumbs (added to the Post Template), and Positions added to the Post Templates. Header, Footer, and Templates are the THEME. Nicepage page (everything between Header and Footer) is the CONTENT. You cannot CREATE a position in the content just like you cannot create a position in the theme in the Joomla article directly. Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Doug G.
131 Posts
Doug G. posted this 20 July 2021

The project file is attached as are screenshots of the active module view such as the one you posted.

ActiveModules.png

The other screenshot is of the module position choices that I have to select from.

modulePositionChoices.png
The project file is attached as are screenshots of the active module view such as the one you posted. !ActiveModules.png! The other screenshot is of the module position choices that I have to select from. !modulePositionChoices.png!
Support Team
Support Team posted this 16 July 2021

Hello Doug,

Please send here your desktop project and the screenshot of your Joomla Modules so we could recreate the same with our local Joomla and check the positioning behavior.

modules-joomla.png

Thank you.
...................................................
Sincerely,
Anna T.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Doug, Please send here your desktop project and the screenshot of your Joomla Modules so we could recreate the same with our local Joomla and check the positioning behavior. !modules-joomla.png! Thank you. ................................................... Sincerely, Anna T. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments