Loading ...

Custom field

Board index / PHP Melody - Video CMS

For PHP Melody version 2 and newer

Postby marvelous on Mar 31, 2014 4 pm


hi guys, where can i fined the Custom Field Source code inside PhpMelody?i would like to modify something with CSS
marvelous
Non-verified
Non-verified
 
Posts: 16
Joined: Dec 21, 2013 12 pm
Reputation points: 0

Postby Trace on Apr 01, 2014 9 am


In the admin panel or on the front end?
User avatar
Trace
Verified Customer
Verified Customer
 
Posts: 2543
Joined: Aug 16, 2010 3 pm
Location: The Netherlands
Reputation points: 1329

Postby marvelous on Apr 01, 2014 9 am


In the front end. Plz tell me Trace
marvelous
Non-verified
Non-verified
 
Posts: 16
Joined: Dec 21, 2013 12 pm
Reputation points: 0

Postby Trace on Apr 01, 2014 11 am


If you want to modify something, then you could just add the custom field to your template, add some html around the custom field, and style the html with css
User avatar
Trace
Verified Customer
Verified Customer
 
Posts: 2543
Joined: Aug 16, 2010 3 pm
Location: The Netherlands
Reputation points: 1329

Postby marvelous on Apr 01, 2014 11 am


i know what you mean but my question is- i just would like to see where the code is lol its not easy to check all the written codes manualy. that is why i ama sking its exact geographical location :)
marvelous
Non-verified
Non-verified
 
Posts: 16
Joined: Dec 21, 2013 12 pm
Reputation points: 0

Postby marvelous on Apr 01, 2014 12 pm


Let me make it clear ::
My Lists are = artist,Episode,Mezmure,TV Series

My Html Structure =



Section-1///
<span class"artist-value">
<h3><a href="{$smarty.const._URL}/search.php?keywords={get_video_meta video_id=$video_data.id key='artist'}"> ยป {get_video_meta video_id=$video_data.id key='artist'}</a> </h3></div>

Section-2///
<div class="custoem-field">
{get_video_meta_list video_id=$video_data.id}
</div>
.................................................
If i activate '' Episode,Mezmure,TV Series", the result will be displayed in SECTION-2 and its fine.
if i activate '' Artist'' the result will be displayed in SECTION-1 and SECTION-2 which is 2 times , in this case i would like to exclude Artist's result from Section 2
marvelous
Non-verified
Non-verified
 
Posts: 16
Joined: Dec 21, 2013 12 pm
Reputation points: 0

Postby Trace on Apr 01, 2014 12 pm


Well the source is in functions.php, around line 5500:
function smarty_get_video_meta($params, &$smarty)
User avatar
Trace
Verified Customer
Verified Customer
 
Posts: 2543
Joined: Aug 16, 2010 3 pm
Location: The Netherlands
Reputation points: 1329

Postby marvelous on May 03, 2014 7 am


Trace, thank you very much sir, sorry for being late
marvelous
Non-verified
Non-verified
 
Posts: 16
Joined: Dec 21, 2013 12 pm
Reputation points: 0


Who is online

Users browsing this forum: No registered users and 23 guests

cron