Joomla

How to Add RESTful Web Services to Joomla 1.5+ [closed]

别等时光非礼了梦想. 提交于 2019-12-23 08:29:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . pretty straightforward question: Is there a good web services solution for Joomla1.5+? I've been searching all over, and have only found references to a poorly-documented new xml-rpc server that's built into Joomla: http://forum.joomla.org/viewtopic.php?f=304&t=501897 Thanks a lot - I'm looking for a nice clean

How to Add RESTful Web Services to Joomla 1.5+ [closed]

半腔热情 提交于 2019-12-23 08:28:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . pretty straightforward question: Is there a good web services solution for Joomla1.5+? I've been searching all over, and have only found references to a poorly-documented new xml-rpc server that's built into Joomla: http://forum.joomla.org/viewtopic.php?f=304&t=501897 Thanks a lot - I'm looking for a nice clean

Joomla UTF-8 encoding fails on opening the mail

拥有回忆 提交于 2019-12-23 07:43:03
问题 I have a strange issue with encoding, described as follows: the ù is now shown as ù in the email subject. The email is sent through php mail function. When viewing the e-mail in the mailbox, it is shown correctly. However, when anybody opens the e-mail, the ù is suddenly changed to ù. Uw contact met Meeùs should be Uw contact met Meeùs i have already used the encoding. $emailsubject contains the above mentioned email subject. $subject=$emailsubject; $subject=$emailsubject; $email_message

How to remove the vertical scrollbar SyntaxHighlighter block?

霸气de小男生 提交于 2019-12-23 07:32:13
问题 I am newbie in Web-developing and possibly has a primary question. I have installed Joomla 2.5 CMS on my site, downloaded, installed and turned on the SyntaxHighlighter plugin. Then enabled the bash syntax and added nothing more the following code to my page <pre class="brush: bash">$ uname -a Linux laptop 2.6.32-41-generic #89-Ubuntu SMP Fri Apr 27 22:22:09 UTC 2012 i686 GNU/Linux $</pre> I got this result It is OK but I have no idea why the highlighted vertical scrollbar appears. It scrolls

where the content of Joomla custom html is?

♀尐吖头ヾ 提交于 2019-12-23 06:58:10
问题 When I write in the wysiwyg editor then the data in the editor end up somewhere and then posted in front end. My question is where do those data end up? How do I access them via filezilla? What is the directory? Thank you, Best Regards, Andreas Achilleos 回答1: Any data that gets saved, is always saved to the database. In this case (assuming you are using the default Joomla article manager), the data/articles (includes your code in the article) get saved to the database table called #__content

delete uploaded file from an array of id when they are delted in joomla?

℡╲_俬逩灬. 提交于 2019-12-23 05:41:51
问题 I am trying to delete an array of ids and when it gets deleted I want the uploaded pic associated with it also to get deleted using unlink. I am using joomla and mysql for the admin mvc component in joomla. My code for controller in remove is has follows: function remove() { $arrayIDs = JRequest::getVar ( 'cid', null, 'default', 'array' ); //Reads cid as an array $model = & $this->getModel ( 'greetings' ); jimport ( 'joomla.filesystem.file' ); if (is_array ( $arrayIDs ) && count ( $arrayIDs )

delete uploaded file from an array of id when they are delted in joomla?

柔情痞子 提交于 2019-12-23 05:41:35
问题 I am trying to delete an array of ids and when it gets deleted I want the uploaded pic associated with it also to get deleted using unlink. I am using joomla and mysql for the admin mvc component in joomla. My code for controller in remove is has follows: function remove() { $arrayIDs = JRequest::getVar ( 'cid', null, 'default', 'array' ); //Reads cid as an array $model = & $this->getModel ( 'greetings' ); jimport ( 'joomla.filesystem.file' ); if (is_array ( $arrayIDs ) && count ( $arrayIDs )

Access Joomla 1.6+ object from External PHP

帅比萌擦擦* 提交于 2019-12-23 05:33:08
问题 I have read up on doing this, and actually implemented this, for v1.5 but will like some help on v1.6+. v1.5 samples: http://forum.joomla.org/viewtopic.php?p=1559295 This is a follow on to my query here: Joomla 1.6 External PHP Interaction Issue which got no response ... maybe a bit too long and rambling. Thanks for any help given. 回答1: Starting with Joomla 1.6 the CMS is separated from the underlying Joomla platform, therefore you should look into using the Joomla platform to be able to use

Use a DIV's width in If statement in Php file

北城余情 提交于 2019-12-23 05:07:35
问题 I have a .php file in which I have a layout that I would like to change depending of a div's width. That div is a parent of the following code and is situated in a other file. <?php if ($(".container").width() > 400) { ?> <div class="sub-container"> <div">sidepanel-left</div> <div>content</div> <div>sidepanel-right</div> </div> <?php } else { ?> <div class="sub-container"> <div>sidepanel-left <div>sidepanel-right</div> </div> <div>content</div> </div> <?php } ?> That gives me a blank page

Joomla 3: How to set different user permissions?

只愿长相守 提交于 2019-12-23 04:26:22
问题 I currently have a Joomla site that has 5 different departments of people accessing the backend content. Basically, everyone's looking and poking at other departments contents. So how would I set a different account for everyone and allow them to only modify their own content? E.G. The salt department can post whatever articles they want, but they cannot modify the sugar department's article. Does Joomla have this kind of ability or any extensions out there? 回答1: That is pretty simple on