Get preview link to article before publishing - joomla

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?

Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).

try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul

I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.

Related

Prevent "direct access" to menu items but keep them accessible when embedded in articles

I've been building a Joomla website for a couple of weeks now and having started with virtually zero Joomla and PHP knowledge I have to say I've been kind of fumbling my way through all of this. Anyway, I'm having a small "problem" and hope you guys can help me sort it out:
I'm using Plugin Include Component to embed content inside articles. Naturally, this content is associated with menu items. The thing is, I want these menu items to be accessible only through the articles in which they are embedded. This means that I want to somehow restrict direct access to the menu items, but still allowing users to see their content inside the articles.
For the sake of comprehension I'll try to be more graphic:
I have a Category Blog associated with menu item A.
By means of the plugin I mentioned above, I have A embedded inside article B. So far so good! When B is displayed, the category blog in A is also shown as a part of it. But I don't want users to be able to type B's url into the browser and access it directly, because it's detrimental to my site's structure and navigation. Obviously, unpublishing the menu item wouldn't help at all because it would cease to be visible inside the article.
My apologies if I didn't make myself clear. Any hints or tips?
Ok, as far as not being able to directly access the menu items for item A, just publish the menu item in a new menu that is not added to any module position. This way there are no direct links that the user can access through the front end.
As far as a user TYPING in the url for item A, you are out of luck. There is no way to prevent that. Once you have created the menu item, there is a URL which necessarily must be accessible. Using the hidden menu trick, the user would have to know that the URL exists to be able to get there, but it will be there if they know it. The way you are putting the site together the user shouldn't be to see the url so they will likely never type it in, but it would be possible.

Altering the position of an article in Joomla 1

I am currently updating a web page for a company who are still using the very old Joomla 1. When creating a new menu item, I have found that an article is needed in order to create the page.
My problem is the fact that there is no option to alter the location on the page of the article. For modules, this is not a problem as there is an option which can be used to choose the specific location. For articles there is no such option, which has been of grave annoyance as they simply crop up here, there and everywhere!
If it is of any assistance the theme which is being used is contained here: http://demo.rockettheme.com/?template=versatility4
Regards,
Chri3
I dont think this has changed in any version of Joomla, but it has been so long since I have looked at a Joomla 1 installation, I could be way off. Additionally, I dont have one to look at for reference.
So here goes my scientific wild &^#%! guess. When you create a menu from the menu manager in Joomla, you have to select a "menu item type". This could be a single article layout, category layout, blog layout, or link to another installed component, ect... I think its one of the first options in the menu item manager.
Then once you select "single article" there should be a dialog box that allows you to select or manually enter the article you would like to display for that menu item. Hope this helps!
Open up your templates index.php file and look for the following code...
<jdoc:include type="component" />
This is the call to the "main component" in your case would be the content component. You can move this anywhere within index.php and your article will display there

Joomla! Module not showing up after implementing sh404sef

I have placed a module in the position "Below content" on my Joomla!-site. It is supposed to show up below the content (well ...) like shown in the picture attached. Problem is, it only does so when I set it to 'show on all pages', and I only want it to appear on a selected few pages. When I set it to only show on these pages, it disappears!
It is the carousel called "Andre modeller"See the image here
Now, I have disabled the module except on this page (and the other beachflag pages): http://anansi.dk/strandflag-a
And it is gone. It worked before I implemented sh404SEF. Anyone?
:-) Astrid
For anyone that stumbles across this question, the sh404sef user manual page on Troubleshooting issues with missing modules might be of assistance.
In brief, first ensure that the module is set to display on the specific menu. Then:
In Joomla's menu list, find the Itemid of the menu item that displays the page. It will be listed in the last column labelled ID. You will need this ID later in the last step.
Open the sh404SEF URL manager and locate the SEF url for that page which is not displaying the module. You will notice that the SEF url will have at least 1 duplicate URL for this item. Click on the this number to open the Duplicates Manager.
There should be a native URL such as (index.php?option=com_k2&Itemid=345&id=214&lang=en&view=item) that contains the Itemid you found in step 1 above. You need to make it the Main url by clicking on the Make Main button.
Hope this helps.

YooTheme Zoo Application Blog Front Page

I am using YooTheme's ZOO Blog application on my front page. I have two things I'd like to acheive;
When clicking on an article title, you are taken to a page where you
have the article in full view, including any read-more content you
may/may not have. When taken to this page, you still have all modules
which are assigned to the 'home' menu item. Unfortunately, in order
for the application, 'Blog' to show on the front page - it must be
assigned to the 'home' menu item.
I'd preferably like the full article page just to have the menu module at the top, and perhaps any modules I do actually 'enable'.
A strange one - I'd like to have no pagination at the bottom of my
front page. I'd simply like to encourage users to go to a separate
page that lists all of the news.
I hope someone can help!
I'd utilise the 'fantastic' community that YooTheme holds - but unfortunately, after 3 months (being the lowest tier when you buy a product) any and -all- support stops. This includes the ticketing system which is mainly community-help based.
If need be, I can provide screen shots.
You can edit the full and any layout by clicking to the icon in zoo administrator panel. There you can edit every element in the link which is under your app type name! Next to the "Default" or your template there are links for full, teaser, feed etc. Full is for the full view of the item and teaser is for the category/front page view! In Yootheme's website you can find a comprehensive documentation about zoo also! Let me know if you need anything else
I found the answers to this problem. (I'm not native english speaker, but I hope you'll understand)
First method - sh404sef, I don't know whether it's a feature or a bug in that component, but that what you need to do:
Unpublish your default homepage menu item(zoo category for example) to wich there were assigned modules that you dont need to be shown, then create and make it Default Page(star sign) new menu item(or use existing one), and assign to it the modules that you want to appear in the full item view(I'm using product not a blog zoo app) or article full view when you click link from homepage and opens zoo item page or zoo category page.
In joomla Globa Configuration turn on - Use URL rewriting, then in sh404sef Control Panel turn on - Enable URL optimization and Rewriting mode with .htaccess . Errase all the url links in sh404SEF: URL manager(if any exist), we need it (sh404SEF) to create new links.
Now when you open new default home page with modules you need to be shown in the zoo item full view, you start to going on ALL the zoo links you wish to open then with that quantity of modules. sh404sef creates SEF link in it backend (in URL manager). And that links will open with exactly with that quantity of modules with zoo.
Now you can publish back again your previos homepage and make it default page. And there will be modules that you want on homepage, but because of links that sh404sef created when you were clicking, the zoo items or article links will open with different modules that we asigned to our second default page you use to create those links. For that purpose I commonly use existing menu item where will be another set of modules not like in the homepage. When you have new link on site you have to partially repeat that. You have to go on that link first time from the page where quantity of modules suits you (and to be on the safe side make that page your default page for that time)
Second method - JoomlaXTC Zoo Item Wall, its a module you don't have to make menu item to show zoo items on a homepage. But, I didn't tried it myself I only read about it.

Remove "componentheading" from homepage - Joomla!

I'm working on a site in Joomla! and on the homepage, at the top of the article, it comes up with a h1 of the website name. The pagesource says (Note it's not the article title.)
Any idea how to get rid of it?
Thanks,
Steph
You can set this h1 tag not to display via the Parameters - System section of your Menu Item Manager screen in administrator ... this page has a nice depiction of the steps.
It's so simple
Just do the following :
Login to the Joomla Administrator Interface
Go to the Menu Manager
Select your Menu
Select your Menu Item (Home Menu)
On the right hand, Click Parameters (System)—> and in the *Show Page Title—->*Just Select No.
That's all.
This is not the desired solution, since many people, (including myself) actually need to be able to Set/Override the page title (That Appears in the Browser’s Title bar), and setting Page Title to no here will also remove the functionality to Configure the Browser title (which is important for SEO among other things).
Anyway, I have searched and not been able to find a fully correct solution via CMS or PHP Code. The closest solution which is not fully perfect, but unlikely to cause significant (if any) negative effect on your site is through Javascript (Example is JQuery).
jQuery(document).ready( function($) {
$(‘.componentheading’).empty();
});
This can also be done is JS with no JQuery. When I find a better method of doing this I’ll let you know.This should actually be done by removing output from a template file.I don’t know which one yet. When I do, I’ll post it…
When setting the page title not to show in the menu item as stated in other answers, this will not stop the text entered in the page title box being used as the browser title, it will just stop it being shown in the page.
Using javascript to remove it is not a good idea.
1. It will only work for browsers with javascript enabled
2. Search engine spiders will still see it. As the component heading for articles is 'articles' by default it will see all your pages with the same h1 tag.
Just turn it off in the menu item and enter your browser title in the text box above.

Resources