Editable Pages For Content Manager

Hi
On my website I would like my friend/the client to be able to login (there will be only one user) and after he logs in - some of the pages should 'change' to allow user input/edits.
I have designed the pages - both editable (with forms) and non editable (just content). - ((The website uses PHP and a MySQL database.))
What is the recommended way/'best' way to send the logged in user to the editting pages - and the general guest to the non-edit pages?  - Do I use separate pages - or should I use conditionals on a single page to display content/forms based on the person viewing the site?
In otherwords - I want to create a very basic CMS for my client after he has logged in.
Thanks!
Chris

1. Make a directory in the website. I name mine "admin." This directory will be password protected, or protect access using sessions.
2. I don't know how you organized your database, but normally the content for all the pages will be in a single table (in some cases a set of joined tables). To edit the content of a page, you need to populate a form in your admin system with the desired page content. So first you have a menu page which lists the pages (i.e. contact, home page, etc.). The items listed should link to the form that edits the page content and opens it up with the appropriate page content.
For instance, you can use the GET variable to send the appropriate page ID, like this:
edit_page.php?page_id=7
The edit page will contain a form with fields such as TITLE, MAIN_PHOTO, MAIN_CONTENT, LEFT_COLUMN_CONTENT.
The content fields will use the textarea form field type and usually you want to connect them to a WYSIWYG editor like TinyMCE or CKeditor. My preference is CKeditor. Using such an editor gives the content manager the ability to format text, create lists, add images, etc.
There is an eBook called Build Your Own Database Driven Website Using PHP & MySQL, published by Sitepoint. It isn't the best book about PHP/MySQL, but it does focus on the elements of a basic CMS.

Similar Messages

  • Custom edit page for content type

    Hello,
    I have following problem:
    when i try to open  my custom Edit Form for content type I have next error 
    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.Office.DocumentManagement.Pages.EditVideoSet.AddListFormWebPart()     at Microsoft.Office.DocumentManagement.Pages.EditVideoSet.OnInit(EventArgs
    e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    44f6799c-6c5b-f0ab-e8ef-4d53a0f0b5eb
    I think problem is in custom page
    that almost the same as "EditVideoSet.aspx" but have code behind
    <%@ Page Language="C#" DynamicMasterPageFile="~masterurl/default.master" Inherits="Intergation.Layouts.Intergation.ApplicationPage2Edit"   CodeBehind="ApplicationPage2Edit.aspx.cs"       %> 
    public partial class ApplicationPage2Edit : EditVideoSet
    My task - create copy of the already existing edit page, but with code behind possibility.
    What I did wrong?

    Hi
    Thanks.
    I got rid of my earlier error as I was using the conatinerRenderer tag in the wrong way. It should have been
    &lt;containerRenderer class="com.tsynergy.container.SynergyLatestIDDBDrugsContainer"/&gt;
    Now I get to display the my edit content; But I still haven't been able to get rid of the top default portal banner that appears on my edit page. It has the default logo gif and the link to the home page.
    I can now put my own form and &lt;input&gt; types, Just need to get rid of the default banner now.
    Deepak

  • Restrict read/edit access for a Manager, when Manager Visibility is enabled

    Customer wants to restrict read/edit access for a Manager on his/her subordinates' owned record, if manager Visibility is enabled at the company level.
    For example: If SM1 is a manager of SR1 and SM1 owner profile says that he has Edit Access on his owned records then, he will get Edit Access
    on the records owned by his sales rep.
    Current requirement here is Manager should not be able to edit the records of his sales rep but should able to only View. And manager also
    need the Edit/Read access on the records which they owned.
    Is there a possible workaround ?

    I have devised this to our customer:
    First, create a custom text field named "Reports To" on the object, say, Accounts.
    Second, user JoinFieldValue to set a default value for the "Reports To" field: equal to the "Reports To" User field value for the current owner.
    Third, add a new value named "Manager Read-Only" to 'Account Type' picklist. make sure that this picklist value is active.
    Fourthly, add a new page layout marking all Account Fields as 'read-only' and name it "Account Read-Only layout".
    Fifthly, create a new Account Dynamic Layout and set "Account Read-Only layout"
    for Field Type = "Manager Read-Only".
    Sixthly, create a new workflow rule condition for Account object ( before modified record saved ). Use the workflow rule condition similar to UserValue('<Alias>') = [<ReportsTo>] and set the workflow action to update 'Account Type' picklist value to
    "Manager Read-Only".
    This is just an example. Customer needs to improvise on this.
    Any more suggestions please ?

  • Custom Edit Page for Portlets

    Hi
    I'm looking to customize the look and feel of the edit page for a portlet programmatically. I have extended my own class from the DefaultContainerRenderer class and have overridden the renderDesignFormBodyBegin() method.
    And have also made an entry into the provider.xml for this as follows
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>3</id>
    <name>SynergyLatestIDDBDrugs</name>
    <title>SynergyLatestIDDBDrugs</title>
    <description>SynergyLatestIDDBDrugs</description>
    <timeout>40</timeout>
    <showEdit>true</showEdit>
    <showEditDefault>true</showEditDefault>
    <showDetails>true</showDetails>
    <containerRenderer>com.tysynergy.container.SynergyLatestIDDBDrugsContainer</containerRenderer> <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="com.tsynergy.renderer.SynergyLatestIDDBDrugs"/>
    <editPage class="com.tsynergy.renderer.SynergyLatestIDDBDrugsEdit"/>
    <editDefaultsPage class="com.tsynergy.renderer.SynergyLatestIDDBDrugsEdit"/>
    </renderer>
    <personalizationManager class="oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager">
    <dataClass>com.tsynergy.personalize.SynergyLatestIDDBDrugsPersonalize</dataClass>
    </personalizationManager>
    </portlet>
    But I get the following error -
    oracle.portal.utils.xml.v2.NodeHandlerException: Class oracle.portal.provider.v2.DefaultProviderDefinition has no set or add method for tag "containerRenderer"
    Has anyone come across this before?
    Deepak

    Hi
    Thanks.
    I got rid of my earlier error as I was using the conatinerRenderer tag in the wrong way. It should have been
    &lt;containerRenderer class="com.tsynergy.container.SynergyLatestIDDBDrugsContainer"/&gt;
    Now I get to display the my edit content; But I still haven't been able to get rid of the top default portal banner that appears on my edit page. It has the default logo gif and the link to the home page.
    I can now put my own form and &lt;input&gt; types, Just need to get rid of the default banner now.
    Deepak

  • Best Practices for Content Management

    Hi All,
    Could anybody suggest me what are the best practices for Content Management.
    Regards,
    Tom

    Hi Rajan,
    Even I want the same. I shall be very thankfull to you if you can send me also.
    My mail ID is [email protected]
    Best Regards,
    Chamkaur
    Message was edited by:
            Chamkaur Brar

  • No customizing data found for content management profile

    Dear All,
    When we configured a business role for our call center agent, we copied existing out-of-box role and assigned to user's local own data. When the CRM Web UI was called, the window popped up fine, but there was an error message:
    No customizing data found for content management profile
    Can anybody advise why this error comes? I checked the content management profile in our system. There are 3 profiles there but I am not sure if any of them is linked to the nav bar profile we defined. Where to define it? How to remove this error message?
    Thanks in advance!
    Leon

    Hi Leon,
    To start with you need to check the details of the Business Role. Goto SPRO>CRM>Business Role-->Define Business Roles
    Select your Business Role and click on details, You can check if Role config key, Nav Bar profile, layout profile, Technical profile and PFCG Role ID is properly assigned.
    Once you assign the above profiles to business role you then assign Position like for e.g. Sales rep and Employee to the org model in PPOSA_CRM. Then select the position and goto menu bar and click on Goto>Detailed Object>Enchanced object description. Select Business role in the Infotype name and click in create infotype. Assign your business role.
    Check logging in after performing the above step. If it doesnt work assign the parameter ID - CRM_UI_FRAME and parameter value - X in the tcode SU01 for the user in CRM. Also assign SAP_ALL role just to make sure if it works.
    Hope this helps.
    Regards,
    Chandrakant

  • I can no longer edit my custom content management system using Firefox

    Hello,
    I work for the University of North Carolina. We have a very old custom content management system that is built in Oracle (UCM). When logged in, it has little edit buttons that allow you to click on items and launch edit windows. I don't know what's behind that -- it's not Java. I'm thinking javascript? All I know is that since the Firefox upgrade to 13.0.1, the edit buttons no longer display, and the sites are not editable.
    So far, the only way we've been able to allow people to edit their sites is by forcing them to use IE9 in compatibility mode. All other browsers fail for various reasons. Firefox is our workhorse browser, but we're desperate to have Firefox back.
    I understand we also have some problems with our Remedy application -- not sure what's happening, but it's also no longer functional in Firefox. I'm wondering if there is a patch in the works that will address these issues?
    BTW, it sounds a lot like this issue here: http://support.mozilla.org/en-US/questions/930042

    Drat... So, we tried taking out the javascript entirely. No real change, except lightbox actions would not function. Then, we tried referencing a different javascript version. No difference, except that lightboxes and Carousels still would not function.
    To see if the $ error was universal across all of our sites, I logged into four or five other UCM sites. None of them threw the $ error, only the Art site. What's interesting is that for all sites, you can see editable areas if you look for them (e.g. mouse randomly around the areas where there used to be buttons to click on), but the icons continue to not show up.
    The warnings coming from the console seem fairly benign, and it's only the Art site that throws a definite error. The only thing that seems consistent across all sites is the warning: "server does not support RFC 5746, see CVE-2009-3555".
    Any other thoughts? I'm not sure a guest logon would help, but I can certainly pursue that line of action if you'd like to dig a little deeper.
    Thanks in advance,
    - Veda

  • Out of the box porlets for Content Management with BEA Portal

    I am looking at BEA Portal for a simple Intranet site with some basic content management system capabilities. I would like to implement this without the use of a third party tool and wanted to know if there are any open source or out of the box BEA portlets/web-apps with basic CMS capabilities beyond what has been shown in the Portal tutorials around CMS. From doing the tutorials, I have learned how to manage content, and how to build a site from scratch to access the content using the <cm:> tags. However, without additional third party products such as Documentum or Interwoven, is there any free BEA/open source portlets to:
    - Configure exposure of this content in a runtime framework? (ie content manager can expose new content from the repository by a configurable admin GUI, place where this content is on the page)
    - Allow for a simple approval workflow where content that gets added to the repository by user A has to be approved by user B before automatically exposing?
    Interested to know if custom portal type development is the only way to do these kind of simple functions, or third party product.

    Hi,
    Did you have a chance to look into WebLogic Portal 8.1 SP3? Check out the new Library Services features, which includes versioning and simple approval:
    http://e-docs.bea.com/wlp/docs81/adminportal/help/CM_MAN_LifecycleOV.html
    We also provide a few ootb portlets that allow users to interact with the CM system. Let us know if you have additional questions.
    Best Regards,
    --alex                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Portal Role(s) to be granted for Content Management

    I am looking for the names of the Portal Roles that needed, in order the users to have access to "Content Management / Administration' area.
    So far, I have the roles for "Business Intelligence" and "Business Explorer".
    Best regards,
    Tom

    Hi Sandeep, thank you for your reply!
    Do you happen to know the exact name of the roles ??
    While in 'User Administration' editing the 'Assigned Roles' of a user, I cannot find any roles when searching for 'Conent' !!!
    Best regards,
    Tom

  • Using Adobe Creative Suite for content management

    I am trying to find out if Adobe CS3 can be used to perform web site content management functions. In particular, I need to know if web page publication dates can be controlled, i.e. is it possible to specify a future date for publication of a specific page? I think Contribute can do this when posting to a blog but it's not clear if web pages can be managed in this way as well. Any help gratefully received....

    If it can be done, it would be in Dreamweaver CS3, so you should pose your question in the Dreamweaver Forum.

  • Is it possible to create a Muse site that my client can edit using a content management system?

    Muse is a great tool for a print based designers to be able to create websites.
    However most clients want to be able to manage their content and hosting.

    A good example would be this site for a holiday let business:-  http://www.gurnard-pines.co.uk
    The client called me and said they wanted a website design, they had a domain name and web hosting etc.
    I created a design in Illustrator and asked a freelance web developer to code the site and incorporate a content management system, as the client wanted the ability to change the dates / prices / availability / attractions etc.
    When I get asked to create a website, the client nearly always wants the ability to edit the content themselves to avoid the cost of implementing regular changes.
    Hope this helps, feel free to call me on  07799 697646.
    Stuart

  • Problem with creating Edit page for employees , based on otn tutorial

    Hi
    Thank you for reading my post
    I used one of oracle tutorial and create a jsf page which contain a for for departments
    and a table for employeed ( I used visual and declarative development with oracle jdeveloper)
    Now i want to add an edit page to my jsf project which allow me to edit an employee
    to do this : I add a jsf page , I add editing form (the edit form work well , I mean which i change the data and press submit it change the data in database)
    now the problem is that i want to link this two page
    in a manner that when user select an employee from table and pressed edit button ,
    it shows edit page with that employee as "under edit" employee
    here is the link that i used to learn this stuff.
    http://www.oracle.com/technology/products/jdev/viewlets/1013/jdev_overview_xp_viewlet_swf.html
    Thanks

    Basically you create a JSF Page Navigation diagram and drag on you customerList page and your Edit Customer page. Add an "arrow" to link the two pages and name this arrow EDIT.
    Then drop a button onto the CustomerList page and the ACTION property will not have a drop down list and you select EDIT (which is the name of the arrow you created).
    Simple steps available using the workshop on the right hand side of the page
    otn.oracle.com/formsdesignerj2ee
    Regards
    Grant Ronald

  • Repository for Content Management

    How do I know that whether TREX or CRM Database is used for Content repository?
    I am able to import & link documents under 'Document Search' in IC Web .
    I would like to know what is configured as a repository for document management.
    I know where to configure content repository,TREX RFC connection,but where can I tell the system which one system should use for storing documents?
    Thanks,
    Thirumala.

    HI
    Can you check tx OAC0 ? This might give you some hint.

  • Path for Content Management System (CMS)?

    Hi All!
    Has anyone configured Authoring environment for learning Solution. Can anyone please provide me the step-by-step details.
    Also can anyone please explain the process of setting up the path for CMS (Content Management System) Address in KM for ECC6.
    Ours is a EP7.0,ECC6.0 (NW2004s) new implementation.
    Thanks
    regards
    Madhu

    Hi,
    "CMS" would in the first place only be a generic term that you can call any product that manages content.
    At SAP I am aware of the following similar terms:
    <b>KM -</b> Java-based CMS, integration framework for 3rd party CMS's and more of SAP NetWeaver, runs in the Portal
    <b>CM -</b> The architectural part of KM that deals with basic content management services. With additional services and TREX this combines to KM.
    <b>DMS -</b> "Document management system", R/3-based system for management of engineering documents, bases on "KPro" in Web AS ABAP, part of mySAP PLM, integrates into KM via repository manager
    <b>KW -</b> KPro-based system for managing SAP-related documentation and training
    <b>Content Server - </b>Object storage location for KPro-managed documents (see DMS)
    <b>KPro -</b> "Knowledge Provider", deep level very generic set of ABAP methods to manage document attachment objects in an R/3 environment
    Hope that clarifies...
    Regards, Karsten

  • How to use HMLT files for content management

    I am developing an application where i have to do some content management. i am
    using placeholders for it. things work great with image files but when i upload
    contents as html files with images, the text content is diaplayed, but since the
    img tag does not get the path of the images, the images r not render. can anybody
    help me to do the content management with the html files with images.

    unfortunately running it through Adobe Encoder makes it a much, much larger file and the quality goes out the window. i really need to use .mov.
    any suggestions?

Maybe you are looking for