Hi there,
I’m writing some joomla code for a customer and when I use this in my view template:
<textarea class="text_area" name="notes_campaign" id="notes_campaign" rows="5" cols="30">
<?php echo trim($this->campaign->notes_campaign);?>
</textarea>
I always get some extra white space and can’t erase them using trim, or any other technique. Lee el resto de esta entrada »
Comparte esto con tus amigos:
No Hay Comentarios »
This morning I was solving an issue for one of my customers and I have to deal whit an URL like this in #joomla: http://servername.com/index.php?option=com_content&view=article&id=163&Itemid=166
Just in case you’re wondering what does this parameters mean:
option=com_content -> this is the component we’re calling
view=article -> this is the view we want to render from this component (MVC)
id=163 -> this is the id of the article as you can see it in the Article Manager
Itemid=166 -> this is the id for this content item in the Menu Manager. This part is very important if you want - for example - change the language of your site when the user select a specific item on a menu.
Comparte esto con tus amigos:
No Hay Comentarios »