Custom field
Board index / PHP Melody - Video CMS
8 posts • Page 1 of 1
hi guys, where can i fined the Custom Field Source code inside PhpMelody?i would like to modify something with CSS
- marvelous
- Non-verified
- Posts: 16
- Joined: Dec 21, 2013 12 pm
- Reputation points: 0
In the admin panel or on the front end?
PHP Melody Plugins developer
PHP Melody plugins + themes for 1.6 and 1.7-2.7 | Subscribe to news of my work | Follow me on Facebook
PHP Melody plugins + themes for 1.6 and 1.7-2.7 | Subscribe to news of my work | Follow me on Facebook
-
Trace - Verified Customer
- Posts: 2543
- Joined: Aug 16, 2010 3 pm
- Location: The Netherlands
- Reputation points: 1329
In the front end. Plz tell me Trace
- marvelous
- Non-verified
- Posts: 16
- Joined: Dec 21, 2013 12 pm
- Reputation points: 0
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
PHP Melody Plugins developer
PHP Melody plugins + themes for 1.6 and 1.7-2.7 | Subscribe to news of my work | Follow me on Facebook
PHP Melody plugins + themes for 1.6 and 1.7-2.7 | Subscribe to news of my work | Follow me on Facebook
-
Trace - Verified Customer
- Posts: 2543
- Joined: Aug 16, 2010 3 pm
- Location: The Netherlands
- Reputation points: 1329
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
- Posts: 16
- Joined: Dec 21, 2013 12 pm
- Reputation points: 0
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
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
- Posts: 16
- Joined: Dec 21, 2013 12 pm
- Reputation points: 0
Well the source is in functions.php, around line 5500:
function smarty_get_video_meta($params, &$smarty)
function smarty_get_video_meta($params, &$smarty)
PHP Melody Plugins developer
PHP Melody plugins + themes for 1.6 and 1.7-2.7 | Subscribe to news of my work | Follow me on Facebook
PHP Melody plugins + themes for 1.6 and 1.7-2.7 | Subscribe to news of my work | Follow me on Facebook
-
Trace - Verified Customer
- Posts: 2543
- Joined: Aug 16, 2010 3 pm
- Location: The Netherlands
- Reputation points: 1329
Trace, thank you very much sir, sorry for being late
- marvelous
- Non-verified
- Posts: 16
- Joined: Dec 21, 2013 12 pm
- Reputation points: 0
8 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 23 guests