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!
Need some help with pages
Re: Need some help with pages
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.
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.
Re: Need some help with pages
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.

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.

Re: Need some help with pages
Sorry you will have to explain more what exactly you are trying to do.
Re: Need some help with pages
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).
What i need to know now is how i can show a selectbox under that tab (Contactpersonen - TEST).
Re: Need some help with pages
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Need some help with pages
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.
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.