Need some help with pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Glasya
New Member
New Member
Posts: 4
Joined: Thu Nov 29, 2012 8:18 am

Need some help with pages

Post by Glasya »

Hello,

It is my first time working with cmsms and i'm having some real issue's with the following things.

1) When creating a new page, you have 3 tabs: start, options and preview.
However when i inspect these buttons they have no href and no javascript action. So how do they function as a link/clickable tab?

2) When you are on the options tab, you can select a template, for instance default_text. Once selected it appears a jquery call alters the fields on the start tab and again i cannot find the code that handles this change, nor can i find the code that includes the actual input form on the page. I assume it has something to do with the file editcontent.php found in public_html/admin/

Some help would be much appreciated!
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Need some help with pages

Post by applejack »

Don't start messing with the php code or jQuery files you don't need to, this is not Wordpress...

In CMS you can have multiple templates even one for each page if you really wanted to though not a good idea. It is the content blocks in the template which create the form fields when editing a page. You always have to at least have the main content block i.e. {content} after that you can have {content block='leftcolumn' label='Left Column'} {content block='rightcolumn' label='Right Column' WYSIWYG='false'} etc etc Look at the help for Tags > Content > help

Also make good use of global content blocks such as for the head and the footer which you can then place in a template. If using for the head do not include the opening and closing head tags in the global block as these need to be in the template.
Glasya
New Member
New Member
Posts: 4
Joined: Thu Nov 29, 2012 8:18 am

Re: Need some help with pages

Post by Glasya »

Thank you for you're reply.
Currently i am reading up on the content part you suggested, in the mean time i made a quick illustration of what i am expected to create for my employer.

Image
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Need some help with pages

Post by applejack »

Sorry you will have to explain more what exactly you are trying to do.
Glasya
New Member
New Member
Posts: 4
Joined: Thu Nov 29, 2012 8:18 am

Re: Need some help with pages

Post by Glasya »

Well i got one step closer, on the backend i perform a query to see if the template_id=26 (the id of the contactpersonen template) if so it displays the tab shown in the image below.

What i need to know now is how i can show a selectbox under that tab (Contactpersonen - TEST).
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Need some help with pages

Post by applejack »

For additional field types take a look at CG Content Utilities or Advanced Content modules. There is also an advanced global content module which you might be able to use.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Need some help with pages

Post by calguy1000 »

Thread locked..... failure to follow forum rules and provide detailed information.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”