Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Pico module header problem, pls help
by xgarb on 2008/3/2 12:50:24

you can create dynamic title and description tags with code similar to this in the PHP files..

le="color: #000000"><?php $xoopsTpl->assign('xoops_pagetitle','whattitleyouwanthere'); $xoopsTpl->assign('xoops_meta_description','whatdescyouwanthere'); $xoTheme->addMeta( 'meta', 'description','whatdescyouwanthere');


or for a really fancy solution see smartmetagen.php from smartfactory.ca
Re: Pico module header problem, pls help
by nmshah on 2008/2/13 7:32:05

ok its working now. code used

le="color: #000000"><?php <{if strstr($xoops_module_header,"keywords")}> <{else} <meta name="keywords" content="<{$xoops_meta_keywords}>" /> <{/if}> <{if strstr($xoops_module_header,"description")}> <{else}> <meta name="description" content="<{$xoops_meta_description}>" /> <{/if}
Re: Pico module header problem, pls help
by nmshah on 2008/2/12 17:21:12

well on rechecking the meta info about my site i see that all the other pages no longer have meta data. By using the code given by phppp, nothing changes and by using the second code as mentioned in the previous post pico and its clones work fine but other pages of the site no longer show any meta data. M i doing something wrong.
Re: Pico module header problem, pls help
by nmshah on 2008/2/12 11:09:49

thanks a lot worked exactly as i wanted. Just made a slight change in the above code.

changed the xometa.htm file with the following code
le="color: #000000"><?php <{if $xoops_dirname eq 'pico'}> <else><meta name="keywords" content="<{$xoops_meta_keywords}>" /> <{/if}> <{if $xoops_dirname eq 'pico'}> <else><meta name="description" content="<{$xoops_meta_description}>" /> <{/if}>
Re: Pico module header problem, pls help
by nmshah on 2008/2/12 10:07:21

thanks will try it out,

Who's Online

484 user(s) are online (447 user(s) are browsing Support Forums)


Members: 0


Guests: 484


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits