Page 1 of 1

Editing the XML Tags

Posted: Thu Nov 09, 2006 5:42 am
by DiZZ
Hi All,

I am new to CMS but have been able to successfully convert the look of the system to match the look of my site. The only items that I would like to change are the contents of the XML tags - specifically the '{search}' tag. Where are these definitions stored?

It does not appear that editing these modules is a standard feature (or is it??) but I am assuming that I can edit the .php files that contain the code for them. Can anyone point me in the right direction? Thanks in advance...

Re: Editing the XML Tags

Posted: Thu Nov 09, 2006 9:27 am
by tsw
Hi and welcome to cmsms world.

if you are using the latest version and want to change how {search} is displayed you can do it in extensions -> search -> search template tab.

also check the search module help, you can change some of the output by using parameters like "(optional) submit="Submit" - Text to place into the submit button"

all modules use smarty as template engine to render the html and most modules have admin pages to change these templates. Modules that dont have editing option in their admin pages have usually have a templates folder in the module directory where you can do changes also.

usually you don't have to edit the php files.

hope this helps.

Re: Editing the XML Tags

Posted: Thu Nov 09, 2006 2:47 pm
by DiZZ
Thanks tsw, I knew I must have been overlooking something! I was able to edit the search text & template file, but can I dig deeper and change the definitions for variables such as:

{$inputbox}
{$submitbutton}

Would I need to edit the .php files to handle these? Or is there a place in the backend to take care of this? I swear I have walked through every link, but I may be overlooking something...

Re: Editing the XML Tags

Posted: Thu Nov 09, 2006 2:54 pm
by calguy1000
if you want to change the definition of certain smarty variables, then yes you'll have to dig through the php code.

Re: Editing the XML Tags

Posted: Thu Nov 09, 2006 7:40 pm
by DiZZ
Is there one page that contains the variables for the entire CMS? Or are they scattered throughout the code? If you could direct me to a specific page that would be great...