Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:37 pm EST

Geeklog Forums

Calendar - display event name in title


Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Hi, for SEO purposes I would like to display the name of the event in the site/meta title. How can I do that?

Strange that nobody has noticed this before...?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Kick.. Mr. Green Nobody with a brigh idea? Idea

The page title is one of the most important items for SEO.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

vladv

Forum User
Newbie
Registered: 03/20/10
Posts: 1
Hi,

I just added this feature in the new calendar plugin. An alpha version of this plugin will be released probably in early September. When it comes, please test it and provide more suggestions. Also if you have any new ideas, please PM me.

Thanks,
Vlad.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
To beewee:

In event.php line 466 replace
Text Formatted Code

if (strpos ($LANG_CAL_2[9], '%') === false) {
                $pagetitle = $LANG_CAL_2[9];
            } else {
                $pagetitle = sprintf ($LANG_CAL_2[9], $_CONF['site_name']);
                $pagetitle = stripslashes($A['title']);
            }
 

by
Text Formatted Code

if (strpos ($LANG_CAL_2[9], '%') === false) {
                $A = DB_fetchArray(DB_query($datesql));
                $pagetitle = stripslashes($A['title']);
            } else {
                $A = DB_fetchArray(DB_query($datesql));
                $pagetitle = stripslashes($A['title']);
            }
 

Can you submit a feature request to add this feature in a next version?

To Vlad: I'm back and will give you some feedback soon.

::Ben

I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Wow, great, thanks! I'll try it next week, I'm in Germany the rest of the week.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Ales

Anonymous
Vladiv, could you add also that we could add pictures (at less 1 or 2) in event, similar as it posible in article.

Greate thanks
 Quote

All times are EST. The time is now 08:37 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content