Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Site News Function Help... (http://www.bvlist.com/showthread.php?t=8237)

Giorgatzelos 29th August 2012 13:12

Site News Function Help...
 
1 Attachment(s)
i 've found a news function for my site...an already installed and working fine.
it's a flash news fully edited by 2 xml's all files are at my root directory of my site...
How can i add an editor in admin panel so i won't have to access my root directory for editing and refreshing the news?

xml's names are white.xml and black.xml

joeroberts 29th August 2012 13:27

thats not a easy task with out knowing what code you are using.

Giorgatzelos 29th August 2012 13:47

If i move it into the theme folder will the admin theme editor be able to "see" those files or it can handle ony .php and .css?

Bump:
Quote:

Originally Posted by Giorgatzelos (Post 36278)
If i move it into the theme folder will the admin theme editor be able to "see" those files or it can handle ony .php and .css?

Tried it and it did not...

joeroberts 30th August 2012 12:49

Quote:

Originally Posted by Giorgatzelos (Post 36278)
If i move it into the theme folder will the admin theme editor be able to "see" those files or it can handle ony .php and .css?

Bump:

Tried it and it did not...

in admin/files/Themerdit.php
find
PHP Code:

                if (eregi("\.php$",$file) OR eregi("\.css$",$file) AND strtolower($file) != "mailtexts.php"

and make it
PHP Code:

                if (eregi("\.xml$",$file) OR eregi("\.php$",$file) OR eregi("\.css$",$file) AND strtolower($file) != "mailtexts.php"


Giorgatzelos 31st August 2012 00:11

1 Attachment(s)
It worked...even though i had to edit the .swf so it looks for the .xml in themes/mytheme/...
Thanx!

Bump: How can i setup something like this you have in bvlist?


All times are GMT +2. The time now is 14:40.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.