Joomla - how to move log in from home page to article page - joomla

http://www.linkmanagementgroup.com/
My problem is that i've got the log in on the Front Page (and homepage) but i need to move it so that it only appears with the "Link Associates" article page.
<div id="logIn">
<jdoc:include type="modules" name="top" style="beezDivision" headerLevel="3" />
<jdoc:include type="modules" name="user1" style="beezDivision" headerLevel="3" />
<jdoc:include type="modules" name="user2" style="beezDivision" headerLevel="3" />
<jdoc:include type="modules" name="right" style="beezDivision" headerLevel="3" />
<!--end of logIn--></div>
I edited the beez template to make it...if u haven't guessed!
Please help!
Cheeerrss,
Steph

If it is a Login module go the Module Manager and locate (select type = mod_login)see the pages it is enabled for.. then change selection to taste
note: it will only show items on your menus- so if it is only one content page you want it on - make sure that particular article is assigned to a menu (it can be any menu...even one that is not published...sometimes Joomla works in wacky ways)

Related

How can I use markdown in the Homepage layout of the VuePress?

In the features tag on the homepage layout of the Vuepress, any markdown notation can't be used due to get the error.
So, I'd like to make my custom layout which is extended from the default homepage layout and to get possible to use markdown.
Is this possible? Any suggestion is welcome, thank you!
I agree with #Sun Haoran's answer, but want to note a good way to add content/html is using a component.
We created a front page component called HomeFeatures.vue. (see the repo) Also, we pretty much just copied this straight from vuepress.
<template>
<div class="features">
<div class="feature">
<h2>AccuTerm</h2>
<p>
Getting Started<br />
Licensing<br />
Desktop<br />
Web<br />
Mobile
</p>
</div>
<div class="feature">
<h2>jBASE</h2>
<p>All Docs<br /></p>
</div>
<div class="feature">
<h2>OpenQM</h2>
<p>Main (Coming Soon!)<br /></p>
</div>
<div class="feature">
<h2>MV Dashboard</h2>
<p>
Introduction<br />
Installation Guide<br />
Programmers Guide
</p>
</div>
<div class="feature">
<h2>MV Connect</h2>
<p>
Overview<br />
Getting Started<br />
API
</p>
</div>
<div class="feature">
<h2>Customer Portal</h2>
<p>
All Docs
</p>
</div>
</div>
</template>
<script>
export default {
name: 'Features'
};
</script>
And just included it like so: (see the repo)
---
home: true
heroImage: /assets/img/logo-grey.png
heroText: Product Documentation
tagline: Welcome to the future
footer: MIT Licensed | Copyright © 2019-present Company Name
---
<HomeFeatures />
Our docs live here if you'd like to see it in action.
Currently, you can't without going through a lot of trouble. The default theme's homepage is using YAML front matter to pass on user config texts, which will not be parsed as markdown.
Personally, I suggest you try to use HTML directly with a customized layout. To use a customized layout for the homepage, check my other answer, and to use HTML see the relavent issue in VuePress #2186

Editing notification messages in joomla

How do I increase the display time of on-screen notifications in joomla? E.g when a user registers. What file do I edit to achieve this?
The same question was also asked here:
https://forum.joomla.org/viewtopic.php?t=890658
I've achieved this by editing the following line on the default.php page in the layout of the template:
<?php if(count($app->getMessageQueue())) : ?>
<jdoc:include type="message" />
<?php endif; ?>
The above line neds to be changed to just <jdoc:include type="message" /> to ensure the system messages/notification stay permanently on the screen.

Custom joomla template

I have just started learning to convert html to joomla template 2.5,quite succeed.
My html looks like:
Home Page:Header,Menu,slider,footer
About Page:Header,menu,content area,footer.
Problem is how to create the about page as well as other pages, I have approx different themes for different pages, header, footer, menu are same, just the middle portion are different.
Suppose I have a main center div
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<img width="970" height="400" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/sldier1.jpg" alt="Black Leather Suit" title="" /></div></div>
ow could I add more than 1 components in slider-wrapper div?
<jdoc:include type="modules" name="content" style="none" />
<jdoc:include type="modules" name="content" style="none" />
Joomla sites are not like html sites. You don't manually create each page and save the html file. For this you create a new article in the Joomla backend using the article manager or a 3rd party extensions such as K2, or assign an installed component layout to a menu item.
You can also only have 1 component per page however, if you slider comes with a module, then you can load the module in an article by giving is a custom position and then adding the following code to you article:
{loadposition xxx}

How to style the output of <jdoc:include type="component" /> within templates?

is there any way to style the output of <jdoc:include type="component" /> within the templates without modifying Joomla core function?
Specifically, I would like to add a div with id article to include the article and nothing else. By now, in my theme, there's a div with class item-page that includes the article, the ratings, the action and even the comment box (added with an external plugin).
So, I would like the new templates to be something like:
<div class="item-page>
<!-- something here -->
<div id="article">
<!-- The article and nothing else here -->
</div>
<!-- comments and whatever may be here -->
</div>
Use a layout override.
Go to the tmpl folder of the view you want to modify the layout for and copy to the html folder of your template ... so say article:
get /components/views/article/default.php and copy that to
templates/[yourtemplate]/html/com_content/article/default.php
Modify the file as you wish.
This will default change it on all pages using that template.

jdoc not rendering

I hope you can help.
I've a Joomla 2.5 site with an existing (and working) set of modules which are all showing up on the main site just fine.
For a whole myriad of reasons I've put together a custom Joomla template ... here is the out put: http://www.fabulous-women.co.uk/testing.html
in the "headerslice" position I've copied the working modules and set them to the headerslice position. However, it refuses to display.
<?php if ($this->countModules('headerslice' )) : ?>
<div id="headerslice">
<jdoc:include type="modules" name='headerslice'/>
</div>
<?php endif; ?>
The if statement does render the tags... but no content. The jdoc:include type="header" renders perfectly in the tags.
Help!
TIA
You need a space before the closing slash of the jdoc statement.
Try:
<jdoc:include type="modules" name='headerslice' />

Resources