content-management-system

Joomla add article via php script Application Instantiation Error

我是研究僧i 提交于 2019-12-12 02:17:41
问题 i created a script in order to insert some articles via a php script. This script is working on my local machine (xampp), but when i deploy the whole joomla project to my web server i get the following error message: Error displaying the error page: Application Instantiation Error: Application Instantiation Error By adding some echo calls, i was able to find the line which causes the error: $app = JFactory::getApplication('site'); Now i am wondering how to fix this behaviour and make my

Halogy cms not showing images or urls not working

扶醉桌前 提交于 2019-12-12 02:06:51
问题 I am hoping someone can help me, I setup Halogy on a local XAMPP host which is working fine. I then uploaded it to my web server and did all the changes to db config and sites in the database, it loads the text on the site fine but all images are missing. If I click on services for example I get an error cannot display webpage . I have tried CodeIgniter .htacess and Joomla one and the Joomla one makes the pages and admin work, but the images arestill broken and stats graph doesn't work. Here

Is there a CMS (WYSIWYG) Component for Agile Toolkit?

笑着哭i 提交于 2019-12-12 01:33:40
问题 I haven't seen the code in the standard distribution of Agile Toolkit. Does anyone have a add-on code which integrates Agile Toolkit form with some WYSIWYG editor? 回答1: any jQuery based editor would fit best. last one we played around with was ELRTE and it was very easy to get it up and running. 回答2: With this we can add a field richtext maybe?! Don't forget the all mighty TinyMCE and FCKEditor 回答3: Ok, I have got this code from other developer: $url=$this->api->locateURL('js','wymeditor

Show content from DIV in a META-tag

ⅰ亾dé卋堺 提交于 2019-12-12 01:22:58
问题 I have a div which is like this: <div id="beskrivelse" class="description html_content" itemprop="description"> {{description}} </div> The content {{description}} is made in the backend. How can I make it so that this content will be shown in my meta here: <meta property="og:description" content=" HERE "/> I get a syntax error if I write: <meta property="og:description" content=" {{description}} "/> Is ther a simple way to do it? Maybe put it in a variable of some sort? There is no way for me

Best way to generate proper markup for inserting into WordPress from PHP (importing from another CMS)

偶尔善良 提交于 2019-12-12 01:14:59
问题 I was assigned to import a large amount of content from a certain database, which belongs to a proprietary CMS system, to a new installation of WordPress. After writing a nice PHP script to retrieve entries and insert them using the wp_insert_post() function, I'm now stuck with a problem. What I want to do is to "filter" my input string, which is the source content, to fit the format used natively by WordPress when content is copy-pasted to the built-in editor. For instance, this is how it

MODx :: Get Session ID set by MODx to use in Module

余生颓废 提交于 2019-12-12 01:08:49
问题 I have an issue where I need to pass the Session ID to a module, "SMF Connector". The problem stems from the fact that for some reason the SMF Forum (held in a sub-folder) is using a different Session set. I combatted the problem by hard coding the Session ID from MODx, but of course this then failed the next time I loaded up the site a day later. I have tried using global $modx; $SID = $modx->documentObject[SID]; session_id($SID); session_start(); But to no avail, infact it was stopping the

Programmatically set the current home CMS/Page in Magento in PHP

£可爱£侵袭症+ 提交于 2019-12-11 23:33:26
问题 I'm looking for a solution in PHP to programmatically set the CMS home page in Magento. What I'm looking for is what you get when you use the manual method of selecting a page title from the dropdown in the System->Configuration->Web->CMS Home Page. I already have the methods to determine pick any one of the set of Page Titles or I can pick from the Set of URL keys for all the CMS pages in the store. If I know either the Page Title or the URL Key, what is the PHP Mage methods to needed to

A PDF viewer with a toolbar actions

点点圈 提交于 2019-12-11 23:27:55
问题 I want a Drupal Module who let to the Adminintrator to upload pdf files and the users to read them in a viewer with a Toolbar that contains print, download and quit boutons like the calameo website. The possibility to have statistics on user's Toolbar actions will be appreciated. 回答1: This the solution that I found : 1-Installation of the CCK and SWF Tools. 2-Configuration of the FlowPlayer 3 player to be the Default player for FLV movies. 3-Creation of a new content that contains two fileds:

Is there a predefined webpart called CAPTCHA webpart?

若如初见. 提交于 2019-12-11 23:07:36
问题 How would I go about creating a CAPTCHA plugin for the framework Kentico CMS 7.0? Is there a predefined webpart called CAPTCHA webpart? 回答1: There are few form controls of CAPTCHA type. Navigate to Site manager -> Development -> Form controls and filter out CAPTCHA controls. You'll find e.g. "logic captcha" or "text captcha". You can use those controls e.g. in forms (this is typical usage) or anywhere else (just see properties of particular control). If you want to prevent robots posting to

Facebook API key for an open source CMS

这一生的挚爱 提交于 2019-12-11 22:05:52
问题 I'm currently making a CMS and I would like to use some Facebook functionnalities. The problem is that I need an API Key for that. So I'm wondering that if I have an API Key can I share it with my open source cms project to anyone? And can anyone use it with my CMS? 回答1: You have two options. Create an app for each installation of the CMS, then set app secret and ID in the CMS configuration file. If you want all installations to use the same app securely you will need a loop back server (i.e.