May 23 2012 02:18:18
Languages
Navigation
Friends & Affiliates
Roadmap
[N] User Profile Wall
[N] Error log like in P...
[N] Submit photo - Subc...
[N] Warnings - who can ...
[N] [edit profile]Save ...
[N] Moving panels with ...
[N] Forum thread deform...
[N] Thumbnails in downl...
[N] [Locale German] New...
[N] Warnings only for a...
Users Online
· Guests Online: 4

· Members Online: 0

· Total Members: 495
· Newest Member: chronsk
Last Seen Users
· chronsk15:27:32
· budisantoso 1 day
· lidaer 1 day
· Yodix 2 days
· mr-casino 2 days
· dos5 4 days
· Machello93 4 days
· Leonardo_master 4 days
· ezgi 4 days
· xxyy 5 days

Login
 Username  Password  
View Thread: set_meta("description"... )
Who is here? 2 Guests
 Print Thread
set_meta("description"... )
sorglos
In a new page i tried to use a custom description but failed :

PHP
  1. <?php
  2.  
  3. require_once "maincore.php";
  4. require_once THEMES."templates/header.php";
  5.  
  6. opentable("pagename");
  7. set_meta("description", "descriptiontext");
  8. set_meta("keywords", "keywordstext"); 
  9. ...
  10.  
  11. ?>


It shows still the description from settings but not the custom one.
keywords works fine.
Just the description doesnt work properly.
Ideas how to fix that?

sorglos


ps: i use still 8.01
Edited by sorglos on 03-01-2011 13:42
 
slaughter
I tested it and it worked perfect for me.
Do you maybe use set_meta("description", "") later again in your code?
Edited by slaughter on 03-01-2011 14:22
 
sorglos
checked, nowhere set.
i tought first maybe the header.php but is also ok.

anyway, ja, i will update when time for it Smile
i'll report after.

thanks
sorglos
 
sorglos
Now after updated to 9.03 statusreport.
Orginalfiles, nothing changed.

Its still the same behaviour.
He shows the stored 'description' not the custom one.
After testing i found the simply solution for now.
I deleted in the setting the entry of "Site description".
result : It shows the custom Description but empty description on Standardpages.

If i use
PHP
  1. <?php
  2. set_meta("description", "descriptiontext");
  3. ?>
then it should overwrite the
settings whatever is filled in there or it makes no sense in this case
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Image in Forum Description General Questions 1 29-02-2012 04:10
Remove "reads" General Questions 4 28-02-2012 04:31
Pro Download Panel -> Fehler: "Strict Standards..." Infusionen 10 19-04-2011 12:11
HELP with Theme "FREE" Themes 1 04-02-2011 17:41
Funkcja "tablebreak" Pytania ogólne 3 31-01-2011 21:01
Share this thread
URL:
BB-Code:
HTML:
AddThis:
Share |
Render time: 0.10 seconds - 91 Queries 995,804 unique visits