I have a client who is using CMS Made Simple for their site and they are trying to do a couple of things that I can't seem to figure out how to do.
The first thing I need to do is change the style of one of the "Menu Text" items in a Link content item. HTML placed in the field becomes visible on the site. Is this possible and if so how?
The second thing I need to do is to make changes to the logo file which is set as a background in the header area. According to the documentation this can be changed in the stylesheet, but I can't seem to locate the file itself. In the stylesheet it says the image should be located in the folder images/cms but I don't see the cms folder when I open the image manager. Furthermore, they would like to have clickable content in this banner, but the template is set to link to the home page when the banner is clicked anywhere. Also, since this is a background image I don't think I can use an image map on. Can I?
Thanks for your help.
-Kenny
Help with Menu Text
Re: Help with Menu Text
Hello yhpadm,
welcome to the forum.
At first excuse any language issues but english is not my native language.
Did you take a look into the MenuManager help?
But to change the style of menu items it would be better to use css.
Take a look into the html output of your browser (something like right mousebutton -> view source) and look for the menu items.
They might be wrapped in a div with an id or a class.
Then search in your stylesheets for that id/class and style your items.
Taking a look into the default stylesheets might also help.
If you want to style a certain menu item separately add an id to that item in the used menu template.
Just look for the link elements and add " id={$node->alias}". You will now be able to style each menulink in your stylesheets separately using the page alias as css id.
The logo isn't placed in "images/cms" anymore.
The folder "images/cms" only contains images that are related to the CMS itself. That means for the administration only. Usually there is no need to change anything in there. Anyway you won't be able to do that with the ImageManager.
If you use the ImageManager you only see the directory "uploads/images/" because this is the default image directory. There is a logo.gif that isn't used anymore since there are some new more advanced default templates that use its own images. Since content images and template images should be handled seperately they are not placed in the default image folder and therefore you are not able to manage these images using the ImageManager.
That is why you do not see what you are looking for using the ImageManager.
If you want to change the images used in the frontend take a look in the folder "uploads/" using the FileManager or a FTP client software.
Since the default templates are using their own images that are not placed in the general image folder for some reason i just mentioned above you need to look inside a directory that is named like the used page template.
There will be two folders: "NCleanBlue" and "ngrey".
The first one contains a "logo.png" and the other one a "logoCMS.png".
These are the logos that are used in frontend.
You need to adapt the header area in your page template.
I cannot tell you how exactly to do that because i don't know your template and what you want to show there.
Just go to "layout->templates" select the used template search for the header stuff and edit it the way you want it.
Sorry for that dumb answer but you cannot expect to be tought in HTML and CSS stuff here.
There are various forums, documentations etc. out there that explain a lot better how (X)HTML and CSS works than i am able to explain here.
There is a module called image maps.
You can put this module in the header as well as a link to the homepage.
Hope that helps a bit.
welcome to the forum.
At first excuse any language issues but english is not my native language.
Did you take a look into the MenuManager help?
Just change the MenuTemplate and replace $node->menutext with $node->raw_menutext.yhpadm wrote:
The first thing I need to do is change the style of one of the "Menu Text" items in a Link content item. HTML placed in the field becomes visible on the site. Is this possible and if so how?
But to change the style of menu items it would be better to use css.
Take a look into the html output of your browser (something like right mousebutton -> view source) and look for the menu items.
They might be wrapped in a div with an id or a class.
Then search in your stylesheets for that id/class and style your items.
Taking a look into the default stylesheets might also help.
If you want to style a certain menu item separately add an id to that item in the used menu template.
Just look for the link elements and add " id={$node->alias}". You will now be able to style each menulink in your stylesheets separately using the page alias as css id.
This might be a documentation issue.yhpadm wrote:
The second thing I need to do is to make changes to the logo file which is set as a background in the header area. According to the documentation this can be changed in the stylesheet, but I can't seem to locate the file itself. In the stylesheet it says the image should be located in the folder images/cms but I don't see the cms folder when I open the image manager.
The logo isn't placed in "images/cms" anymore.
The folder "images/cms" only contains images that are related to the CMS itself. That means for the administration only. Usually there is no need to change anything in there. Anyway you won't be able to do that with the ImageManager.
If you use the ImageManager you only see the directory "uploads/images/" because this is the default image directory. There is a logo.gif that isn't used anymore since there are some new more advanced default templates that use its own images. Since content images and template images should be handled seperately they are not placed in the default image folder and therefore you are not able to manage these images using the ImageManager.
That is why you do not see what you are looking for using the ImageManager.
If you want to change the images used in the frontend take a look in the folder "uploads/" using the FileManager or a FTP client software.
Since the default templates are using their own images that are not placed in the general image folder for some reason i just mentioned above you need to look inside a directory that is named like the used page template.
There will be two folders: "NCleanBlue" and "ngrey".
The first one contains a "logo.png" and the other one a "logoCMS.png".
These are the logos that are used in frontend.
So where is the problem?yhpadm wrote:
Furthermore, they would like to have clickable content in this banner, but the template is set to link to the home page when the banner is clicked anywhere.
You need to adapt the header area in your page template.
I cannot tell you how exactly to do that because i don't know your template and what you want to show there.
Just go to "layout->templates" select the used template search for the header stuff and edit it the way you want it.
Sorry for that dumb answer but you cannot expect to be tought in HTML and CSS stuff here.
There are various forums, documentations etc. out there that explain a lot better how (X)HTML and CSS works than i am able to explain here.
This depends on how you edit the header stuff in the template.yhpadm wrote:
Also, since this is a background image I don't think I can use an image map on. Can I?
There is a module called image maps.
You can put this module in the header as well as a link to the homepage.
Hope that helps a bit.
Re: Help with Menu Text
I appreciate the help but I'm having a really hard time with the architecture of the CMS. I understand HTML and CSS just fine, but what I don't know is how the template works.
Here are some very specific questions in regards to your responses:
1. How do I edit the Menu Template. I found the main template but this is the section for the menu:
Navigation
{menu template='cssmenu.tpl'}
I don't know how to edit cssmenu.tpl.
2. I don't have an uploads folder that I can find. Unfortunately, I have not yet been able to get FTP access because the owner doesn't know the cpanel login info. I can only go by what the stylesheet says which directs me to an images/cms folder which I can't access through the admin interface. Also, how would I change the template so can make the image an image map and remove the link home? Do I just enter the HTML directly into the template? Here is the code I'm referring to:
{cms_selflink dir="start" text="$sitename"}
Here are some very specific questions in regards to your responses:
1. How do I edit the Menu Template. I found the main template but this is the section for the menu:
Navigation
{menu template='cssmenu.tpl'}
I don't know how to edit cssmenu.tpl.
2. I don't have an uploads folder that I can find. Unfortunately, I have not yet been able to get FTP access because the owner doesn't know the cpanel login info. I can only go by what the stylesheet says which directs me to an images/cms folder which I can't access through the admin interface. Also, how would I change the template so can make the image an image map and remove the link home? Do I just enter the HTML directly into the template? Here is the code I'm referring to:
{cms_selflink dir="start" text="$sitename"}
Re: Help with Menu Text
All file templates can be imported to DB. Just press 'Import Template to Database' that is on the same line as 'cssmenu.tpl (read only)'. Name it let say 'cssmenu'. Theres is 'Edit' button for each DB template. Specify this template instead of 'css.menu.tpl' in {menu} tag.
Menu template files are on '/modules/MenuManager/templates/'
To access all CMSms files tick 'Enable advanced mode?' on 'Content » File Manager > Settings'. You can not download '.php' files (since they are processed by server), but can upload your own. Backups are very important in this one way operation.
Lots of useful tips about CMSms are on documentation page http://wiki.cmsmadesimple.org/index.php/Main_Page
Code: Select all
{menu template='cssmenu'}
To access all CMSms files tick 'Enable advanced mode?' on 'Content » File Manager > Settings'. You can not download '.php' files (since they are processed by server), but can upload your own. Backups are very important in this one way operation.
Lots of useful tips about CMSms are on documentation page http://wiki.cmsmadesimple.org/index.php/Main_Page
I am sure hosting company would provide enough assistance to every customer....the owner doesn't know the cpanel login info.
Re: Help with Menu Text
Did you read the demo content?yhpadm wrote:
I appreciate the help but I'm having a really hard time with the architecture of the CMS.
http://multiintech.com/defaultcontent/
Did you use the FileManager?yhpadm wrote:
2. I don't have an uploads folder that I can find.
The FileManager will display that folder automatically.
(Or if the advanced mode is enabled you can browse through your entire cms installation)
This is exactly the way it is.yhpadm wrote:
Also, how would I change the template so can make the image an image map and remove the link home? Do I just enter the HTML directly into the template? Here is the code I'm referring to:
By the way...
... what CMS version are we talking about?yhpadm wrote:
[...] what the stylesheet says which directs me to an images/cms folder [...]
Last edited by NaN on Thu Jun 03, 2010 9:10 am, edited 1 time in total.