Jump to content

Newbie question

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
colind

colind

    Newbie

  • Members
  • Pip
  • 2 posts
Hi There,

I am new on this forum, so i hope i've put this is the right place.

I am helping out someone with their site (i have very basic skills) and am a bit stuck so any help would be appreciated.

Currently the site uses a CMS which uses one fieild on a form as the page title, meta title, meta description and meta keywords. There is only one page and this pulls content from the CMS to create other pages.

I have found the field in an include which tells the cms where to get the meta data from, but i was wondering if i could over write it somehow.

The code for the pages i want is

<?php

	}else if($page== 'more'){

		$pageTitle = ' - '.htmlentities($title_x);

?>

		<title><?=APP_TITLE." : : ".htmlentities($title_x);?></title>

		<meta name="keywords" content="<?=htmlentities($title_x)?>" />

		<meta name="description" content="<?=htmlentities($title_x)?>" />

The pages are /more00 the numbers represent the pages that are created.

I really hope this makes sense to someone. i am available for answers if needs be.

Thanks

Colin

#2
colind

colind

    Newbie

  • Members
  • Pip
  • 2 posts
Hi, did i post this in the wrong big or was i too vague?

Colin

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You have a VERY small snippet of code, which makes it kind of hard to tell what's going on. There's no indication of how any of your variables are set, which CMS you're using, etc.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Where does $title_x come from? You'll need to change that value to change the title.