Article Read More button in Joomla - joomla

I'm confused. Can somebody please explain to me how the "read more" button works for articles in joomla? I'm trying to make it work for a template made from scratch but the article doesn't show more when I click on the read more button.
Do I need to set another module to put the entire article on? Or do I need to make a new page for viewing the article on? How would I make sure my link would go to the new page? Or is it possible for me to switch the contents of a certain module once I click on read more?

Related

joomla html editor on the frontpage

I was wondering how one would go about implementing an editor like tinymce so that registered members of a joomla site can post articles, edit them, and get paid when someone downloads them
like thisenter image description here
This functionality is already built into Joomla.
All you need to do to enable this is to add a new "Create Article" menu option with Access = "Registered".
You will probably also need to enable a login module if there isn't one already so users can log in to the front end to see the new menu option.

Front end editing in custom joomla module

i want to write a module which shows a menu for a restaurant.
I don't want that my customer needs to do anything in the backend.
If the User is logged in, every Menu point should have an edit button.
If it's clicked, a little div pops up where the menu point can be edited.
I'm faily new to joomla extension dev. But i do know php/js/ajax stuff.
Can anyone point me into the right direction. Is this even possible with just a module?
Has anybody an example where this technique is used?
I'm using joomla 3.1.
Best regards. Maik

Why my top menu dissappear when in register or reset page in joomla 2.5

I have created a custom joomla template based on blank joomla template from http://blank.vc/. Everything was fine until i clicked either forgot password?, forgot your username? or create account link that bring me to register or reset page in frontend but strangely the top menu was gone.
This is the screenshot :
http://i63.photobucket.com/albums/h145/affan2fly/menugone.jpg
i have no idea why this could happenned.
Please help with this. I appreciate all the help. Thanks!
The problem is because only on the pages selected option for module assignment is set. If you open a page which doesn't belong to any menu, then module won't be shown on it.
You can either check menu module to be shown on all pages, or make a new menu item for forgot password functionality, and then assign that menu for both menu module, and breadcrumbs module.
I don't know which Joomla version you're using and what you use for translation, but if you use Joomfish or Falang, language translation should be much easier.
If you don't use any of those, and you really need to leave everything as it is, then you can also detect current user language in the template, and load either one or the other menu module based on it. That way you can set module to be shown on all pages, and make sure it is displayed only for the choosen language.

How to edit Joomla article layout/style?

I'm trying to edit the default articles' HTML. Right now the titles are in h2s and I want to change them to h1s and get rid of the print options etc.
There has to be some where you can edit the HTML of default article templates. Anybody know where?
as i know when you are posting some article on joomla you have an option to post the data as HTML and i don't think so that you have to change some php codes.
on the other hand when you are Adding an article that time follow these steps:
Click on the Parameter(Advanced) on the right side of the article
Select No of the Show Title option
Select Hide all between Article Rating to Email Icon
after all these setting you just only get your own HTML codes that you posted on that article as well the <h1> tag
EDIT: Or if you want to completely change the Article layout then
find the location joomla/components/com_content/views/article/tmpl/default.php
The above default.php file keeps all the layout of the article section and all the data that data that will keep on the RightColumn.
Changing joomla/components/com_content/views/article/tmpl/default.php is not a good idea, since all changes will be lost after your next update.
Copy the before mentioned file and place it into the Your_template/html/com_content/article folder, which would have to be created first, if its not there already.

Get preview link to article before publishing

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.

Resources