Joomla 3.x RSS syndication - joomla

Folks,
I am having difficulties in limiting the RSS feed to just the intro text.
No matter what I do, I am still getting the full text of the articles.
I have configured the Syndication Feeds module and published it to all pages (I tried a specific page - same result)
In 'Articles Options' I have set the Integration tab to 'Show Intro Text' For each feed item
In the Default Menu Item Integration tab, I have set 'Show Intro Text' For each feed item
In the specific Menu Item I have set 'Show RSS Feed' (it is a K2 category item feed)
but still I get the full article..... any ideas on where I'm going wrong?
thanks,
Mike

Most likely your content doesn't technically have an intro text. Check if you have an intro text in your articles - most like you don't (we had the exact same problem last week with a client).
In this case, you have 2 options: Either you manually add the "Read More" break in every article (by clicking on the "Insert Read More" button), or you programmatically modify the view.feed.php file (the file responsible for generating the feed) to get an excerpt. If you don't have many articles, then the former option is much better.

Related

JOOMLA Read Private Message in URL Bug

I am building a new website in Joomla 3 and here is some really weird behavior i just stumbled over…
I get a wrong URL in Menu Items and read more links, saying, e.g
website.de/weOffer/drinks/Read%20Private%20Message/beer.
I would give you a real URL, but the project is still under development and classified.
The /Read%20Private%20Message/ part in the URL obviously does not belong there and gets inserted by joomla by default. The result of course is fatal. Not only the menu items aren't working, the read more links aren't either, all leading to 404 errors !
To go into more detail, here is what i have set up and what i have found out so far.
I have made a category blog, where articles are listed, each with a read more link in it, which works as expected.
Now each full text article should have its own slideshow and a couple of other modules, like a facts box in it.
Thats why, the article itself must show up as a menu item as well, so in the module manager i can select, that a specific slideshow module is used in this specific article only.
Therefore i have created menu items with the type of single article that links to the defined Article.
The main menu represents the page tree, each category blog has links to single articles as children. Some cat blog have cat blogs as children and then articles.
This setup works as expected, as long as i don't set the article menu item as a child of the category blog of the category the article itself belongs to.
Example:
MENU =
we offer(catblog) -> drinks(catblog) -> beer(singlearticle)
ARTICLEMANAGER
beer(category: drinks)
RESULT: wrong URL as above.
I can fix the error, by using rebuild in the menu manager, but thats only half way done. The menu URL is getting fixed, but than i have to go into the article itself, remove the read more and insert it back again, because the read private message doesnt get removed, even when i clear my cache. When i am done re-saving the readmore link, everything works like normal, until i save the article menu item the next time. Read Private Message bug is back again, up for another round.
I am a SuperUser, so i suspect i have all rights possible in joomla...
This must have something to do with Search engine friendly URLS (SEF), since it only occurs when i have SEF and mod rewrite turned on. I am using the default .htaccess file without any changes.
Here are some people with a similar problem, but no satisfying solution is given:
http://forum.joomla.org/viewtopic.php?t=802045
http://www.jevents.net/forum/viewtopic.php?f=31&t=19620
I have read about migration and update errors, leading to the same problem.
I migrated manually (sql backup, change of some path in config file) from local apache to 1&1 apache server, both running PHP 5.4, so i doubt that this is a migration issue Plus the problem also appears when i create new articles and menu items (under the parent category).
Changing aliases in both menu items and article itself does not have any effect.
I really hope somebody could give me a hint, or maybe even just confirm that this is a bug If this is designed behavior than whats the reason for it ?.
I am quite frustrated about it and i don't have that many options left since:
1. SEF is a MUST (to my client)
2. Changing the menu tree structure, so that the linked items are no longer children of their cat block parent destroys my breadcrumbs.
3. rebuild and change every menu item and article manually 2 to 3 times is time consuming, error prone, annoying and i don#t want to sell a product to a client like this, since they want to maintain it for themselves as far as posiible.
Your help is really appreciated !
Greets paad.

Cannot add inline image/picture to a Rich Text control

I have a Rich Text control bound to a Body field in my Domino Document data source ... all is good for formatting text , :) emoticons and the usual stuff. The problem is when I try to paste or upload an inline image I get the following error shown in the inline image (hmmmm, works here) ...
Most likely a mis-understanding of the steps:
Select the file
Click on upload image (<-- that one gets lost on lots of users)
Click OK
For a more advanced user experience:
Use the RichText Editor Evolution from OpenNTF. That makes your life much easier.

Joomla article text truncating in category list

I am having an issue with Joomla whereas the text for articles being displayed in a category blog or category list is being cut off.
I would like to show articles on a page with all the text being shown and not truncated.
Here is a picture of the issue. As you can see the first article is being truncated whereas the second and third are fine as they are shorter than length.
I have tried amending the 'read-more' settings, changed the intro text size and several other options and just can't seem to sort this issue. I have also looked in the default templates for the content articles to change the size manualy but can't see where I can do this.
Is anybody able to help with this issue?
Thanks!
Click Content->Categories
Click Options (on Categories Page)
Click on the Blog/Featured Layouts
Change the "# Leading Articles" count from 1 to 10 or higher
Change the "# Intro Articles" count to 0

Which file should I edit to change the breadcrumbs starting point?

I wanted to change the breadcrumbs starting point from Home to My title. I edited the file /magento/app/code/core/Mage/Catalog/Block/Breadcrumbs.php but it doesn't seem to be working. Is XML playing a role in that?
thanks
Your best option is to use Magento's translate feature. Notice how the text in Breadcrumbs.php is wrapped with ->__('text') which instructs Magento to see if there is a translation for text for the current module. If you turn on Translate Inline in System>Config>Admin>Developer, you will be able to edit the text on the page (after refreshing, click the red box then the little book icon). This will then be entered into the database in the core_translate table and replaced in future page renders.
As a general rule, you should never edit files in app/code/code as you will break future upgrades and patches.
turn on Translate Inline in System>Config>Admin>Developer, you will be able to edit the text on the page (after refreshing, click the red box then the little book icon)

Magento - adding a new field to the product options in admin

I'd like to add a new tab to the 'catalog->manage products->product information' page in the admin. Underneath the 'images' tab, I'd like to add a new tab for video, with a simple text input for adding a video url, which I can then grab for the frontend.
Anyone any ideas where the files are that I need to edit? I've been looking for the last couple hours with no joy. I found the list of current options in Mage_Catalog_Model_Resource_Eav_Mysql4_Setup but can't figure out how to add to them...
Seems it gets some from Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs. If I copy one of the tab sections here and change the title to Video, I can get it to display in the tabs on the left. But how do I then add the options for it?
What you are trying to do, from the sounds of it, is to create a custom field and add it to your catalog data. The good news is that you don't need to muck around in the PHP for that.
Head to Catalog -> Attributes -> Manage Attributes and create a new attribute for yourself called "Video URL" (or something to that effect). This will probably be a text field, and you may want to hide it from comparison on the frontend of the site (select "No" for all those boxes at the bottom of the form).
Once you've created an attribute, you will need to add it to an attribute set. If all your products are of one "type", and if you didn't create any other attribute sets, this should be only one step. Head to Catalog -> Attributes -> Manage Attribute Sets and create a "New Group" called "Video" and drag your new video url attribute into it. Save the attribute set and you should now have your new tab.
The only complication from what I read in your post could be positioning it underneath the images tab. Magento adds several tabs statically (the long way, in the PHP) and doesn't generally obey ordering of the tab groups. Consider the time tradeoff.
Hope that helps. Thanks,
Joe
Per your other comments, for the URLs a simple attribute would work but files would tend to be more difficult. To add a custom tab, as you said, you can edit (or in the case of a plugin, override) Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs::_prepareLayout and add your tab. You'll need to add a block or template to display your tab contents.
After that, you'll need to store the data somewhere. Looking in Adminhtml/controllers/ProductController, you should be able to hook into the catalog_product_prepare_save event to get data from $event->getRequest() and push it onto the product or save another entity as necessary.
I'm not sure how well file saving semantics would work on a product, so you may want to do your own data storage in the extension and then provide something like a getVideoForProduct method to retrieve it.
Then the only thing left to do is modify the catalog/product/view.phtml template file to include your thumbs and create a controller in your extension to provide a modal w/ the video (or do it in JS).
I know that's a bit of a general answer, but it's the rough path you would need to take for tabs. Let me know if any specific part of that is unclear.
Thanks,
Joe

Resources