Page 1 of 1

QuickJump Calendar

Posted: Tue Jul 06, 2010 4:51 pm
by LenB
I'm trying to change the heading description of this calendar. It currently says "Calendar" and I want to customize it. When I go to the "configure plugins" screen for this, there is no option to do what I want. It says that it is named Calendar (serendipity_calendar_plugin), but I cannot find anything on my server with a folder or file name like that.

In which folder/directory would I find the related files for this plugin, and which file would I make a change to so I can customize this heading?

Thanks for the help in advance!

Re: QuickJump Calendar

Posted: Wed Jul 07, 2010 9:25 am
by garvinhicking
Hi!

Many plugins have fixated names. You can change those names/constants by editing the language file in lang/(UTF-8/)serendipity_lang_XX.inc.php. Search for 'Calendar' and you should find the constant easily.

HTH,
Garvin

Re: QuickJump Calendar

Posted: Wed Jul 07, 2010 4:37 pm
by LenB
Thank you so much for your reply.

I opened the file you mentioned from the folder you specified. I changed this line:

@define('CALENDAR', 'Calendar');

to this:

@define('CALENDAR', 'Entries By Date');

I then uploaded my changed file to the server, but the heading still reads "Calendar" on my blog.

What could I be doing wrong? As a test, I also uploaded the changed file to both the "lang" folders and the "lang/UTF-8" folders, still with no change to the heading.


THIS IS AN UPDATE:

I have a feeling that my hosting provider has set S9Y up incorrectly on one of my shared hosting servers. I'm actually setting up 2 blogs on two different domains, and two separate servers with the same hosting provider. On one server there is a folder named s9y that contains the 'lang/UTF-8' folder. If I change the file per your instructions and upload it there, the heading changes nicely. Thank you!

However, on the other server there is no folder named s9y. Rather, the 'lang/UTF-8' folder is sitting directly beneath the folder named for my blog. What this means is that s9y is set up on this server with some files remaining at the hosted root which I have no access to. So it would seem that even though it appears that I am changing the correct file, it isn't the file that is being read as the blog is launched. Does that make sense to you? I imagine this happens frequently with hosting providers who don't grant customers full access and rights to using s9y.

Once again, thank you for your help and support. I love the software.

ONE FINAL NOTE:

Is there some place I can go to see what the correct directory structure should be on the server for all of the s9y related folders and files so that I, as administrator, can have full access to all files that I might need to change for continuing my customizing? Thanks again!

Re: QuickJump Calendar

Posted: Fri Jul 09, 2010 3:38 pm
by garvinhicking
Hi!

In such cases where you can't write those files, then sadly yes, you have no means to change it. Do you actually have access to your /templates directory? The title of sidebar plugins can also be changed in the plugin_calendar.tpl file (you also need to enable the option "Smarty templating" in the Calendar plugin configuration), or if need to, also in the "sidebar.tpl" template file...
Is there some place I can go to see what the correct directory structure should be on the server for all of the s9y related folders and files so that I, as administrator, can have full access to all files that I might need to change for continuing my customizing? Thanks again!
You can check your s9y configuration and see what's entered there as "Sernedipity Path". This is the folder you need access to...

Regards,
Garvin