Adding a selectable background to a Yootheme template
- Category: Joomla
- Hits: 19934
- Joomla 2.5.8
- Yootheme Template 2012
What?
For any web-developer who can program in PHP/HTML, this would be easy to hard-code and override. However, the article below demonstrates how to make this an option that your client can switch off/on using the Joomla Admin Panel.
How?
Link to a Joomla article from within another article
- Category: Joomla
- Hits: 9853
Quick article here as googling/binging for how to refer to Joomla articles after versions 1.5.x wasn't obvious. This article is to demonstrate how to write the webaddress for a Joomla article even when you have Search-engine-friendly website addresses enabled.
How?
Basically you have to include &view=article as opposed to Joomla v1.5.x when the option and id parameters would suffice:
- SEF URL http://www.joellipman.com/support/documentation/449-module-joes-word-cloud-jwc.html - Direct Link (irrespective of SEF) http://www.joellipman.com/?option=com_content&view=article&id=449
Warning call_user_func: First argument is expected to be a valid callback
- Category: Joomla
- Hits: 33175
What?
If you get something like the following error:
Warning: call_user_func() [function.call-user-func]: First argument is expected to be a valid callback in /home/.../templates/rt_affinity/rt_sectionrows.php on line 311
How?
- Copy & backup the file /public_html/.../templates/rt_affinity/rt_sectionrows.php
- Find the following piece of code around line 311:
foreach($this->horizontalCookie[$row] as $block) { $block = str_replace('-', '', $block); $this->module_row1 .= call_user_func($block, $this, $mClasses); }
- And change it to:
foreach($this->horizontalCookie[$row] as $block) { if(!empty($block)) { $block = str_replace('-', '', $block); $this->module_row1 .= call_user_func($block, $this, $mClasses); } }
Language Codes
- Category: Joomla
- Hits: 14049
Joomla field types clear my html
- Category: Joomla
- Hits: 12201
Trying to make a component and can't remember how to store HTML code when the save command is clicked (ie. submitted from a PHP form). This is for the Opensource Content Management System (CMS - phew what a mouthful) Joomla! version 1.6.x to 2.5.x; no wonder customers have difficulty following.
How?
So it's the field on the XML file /models/forms/whatever.xml which needs the filter=raw attribute, for example:
<field name="item_desc" type="editor" filter="raw" rows="15" cols="40" default="" />
Other searches:
- Stripping HTML from my joomla 2.5 component
- Leave my HTML alone for admins
- field types for Joomla 1.6
RocketTheme's Affinity July 2009 Released
- Category: Joomla
- Hits: 11738

The template's core feature is Sortable Elements, which allows for the movement of modular rows, individual positions and stacks of modules
Advanced RokStories Styling
- Category: Joomla
- Hits: 12486

The custom features are also available in the standalone version.
Change default order of weblinks
- Category: Joomla
- Hits: 32855
It took a few google searches until I could find out how to change the default weblinks order. A lot of websites showed how to do this via the admin back-end panel in the advanced configuration... I can't see this panel, there is no advanced parameters under a weblinks category.
The issue is that suppose a menuitem links to a category of weblinks, the default sort order (as in the first time you view the page) is the order in the admin panel (not even by most recent). I'm going to show you how to do this by title in ascending order without installing any 3rd-party extension as well as by any of the database values used by each link.
Page 6 of 11
Credit where Credit is Due:
Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.
Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.
Thank you for visiting and, as always, we hope this website was of some use to you!
Kind Regards,
Joel Lipman
www.joellipman.com
Latest Articles
Accreditation



Donate & Support


