content-management-system

Getting links using slug instead of id to be SEO friendly URLS.Integrating Prismic io with angular js

安稳与你 提交于 2019-12-13 16:18:29
问题 https://github.com/heshamelmasry77/javascript-angular-starter I am integrating Prismic io CMS with angular js and i did it and its working properly with me but i am getting the links using id of each document which is not SEO friendly.I am trying to find a way to get the documents using there slug instead of the id but its very complicated i used a function in prismic io API call getByUID and i tried to get by slug but it is not working. In this repo i am posting here you will find the

TYPO3 domain and subdomain with one installation

有些话、适合烂在心里 提交于 2019-12-13 15:25:01
问题 Have following problem. I use TYPO3 version 4.7.1 and for both sites the domain record is configured. Internet site → www.domain.com → root id = 77 Extranet site → service.domain.com → root id = 104 But still, both sites will be redirect to the internet site. How must I set this up? 回答1: Did you create a template for each domain? Did you set those templates as root? See http://wiki.typo3.org/Multidomain for more details. 回答2: Also go to the page properties/edit -> behaviour -> Miscellaneous -

php function for language translation

非 Y 不嫁゛ 提交于 2019-12-13 12:17:58
问题 For multi-language usage of CMS, they translate terms by a function similar to function __($word) { include 'fr.php'; if(!empty($lang[$word])) {$translated=$lang[$word]; } else { $translated = $word; } return $translated; } Since we need to use this function several times in a php page, as all words and phrases will be echoed by __(' '); does the function need to include the language time every time, or it will be cached for the function after first load? Since the language file contains a

Adobe CQ5's sidekick is empty (no components shown)

五迷三道 提交于 2019-12-13 11:43:40
问题 I've added a paragraph system component in my template, trying to emulate the Geometrixx's contentPage. Everything is fine but I can't drag any components into the system because there are none to add. What can I be missing? More information: My component page inherits from foundation's page. (primary type: cqComponent) My template page has that component as resource type. (primary type: cqTemplate) The page (primary type: cqPage), in its jcr:content node has the component as resource type,

How can plugin systems be designed so they don't waste so many resources?

谁都会走 提交于 2019-12-13 11:41:51
问题 I am trying to build a basic plugin system like the kind you often find in a CMS like WordPress. You have a folder of plugins which tie into the main system's operation through event notifications using an Observer or Event design pattern. The problem is it's impossible for the system to know which events the plugin wants to act upon - so the system has to load each plugin for every page request just to find out if that plugin is actually needed at some point. Needless to say, that's a lot of

Good tutorials for Joomla? [closed]

喜你入骨 提交于 2019-12-13 09:54:13
问题 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 6 years ago . Can anyone recommend me a really good tutorial for learning Joomla, most of which I found were spam ads just to get people to click several ads without learning anything. I'm using Joomla for the first time and I'm sort of confused with certain terms because they are all alike. For example, Section and Category

Site structure and php scripts [closed]

风流意气都作罢 提交于 2019-12-13 09:36:07
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I am working on a CMS currently and it's going to have a fair amount of user input and I am starting to think about all the separate PHP scripts I am going to have. Is that normal? Can I shrink all these files

Simple CMS mySQL / PHP

白昼怎懂夜的黑 提交于 2019-12-13 08:17:03
问题 Okay, so I have this small project I have been working on. I have a mySQL table that looks kind of like this +---------+-------------+------+ | Content | Date Posted | Name | +---------+-------------+------+ | Content | Date Posted | Name | +---------+-------------+------+ And I need a PHP script to read the top 10 rows from the database, based on date posted. 回答1: You can use PHPMyAdmin to create tables, or run a script like this: CREATE TABLE Contents ( Content MEMO NOT NULL, DatePosted

Which CMS should be used to build web site using PostreSQL, can latest WordPress used

≯℡__Kan透↙ 提交于 2019-12-13 05:42:49
问题 I’m looking for a way to build web site which uses PostreSQL to store web pages and allow users to modify them. Admin user should able to create and changed pages using html editor from browser. Site runs in Debian Squeeze x64 VPS using Apache. There are already Mono 2.8 and PostreSQL 9.1 applications running in this VPS. There is no PHP installed but it can probably installed if software requires this. Maintaining MySql in addition to PostreSQL in same server may be not reasonable so I'm

How to design assets table for CMS (two-to-many relationship?..)

北慕城南 提交于 2019-12-13 05:04:53
问题 I'm working on a database for a simple CMS like web-app. Basically it consists of bits of content that are part of a contentgroup. Like pieces of text that are part of a page. For that I was thinking of a page table and a text table with a 1:n relationship. Thing is I also want assets to be linked to either a page or a text. So a piece of text could have a thumbnail linked to it, but also a page could have a thumbnail linked to it. Somehow I just can't figure out how to do that nicely. Should