Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 07:38 am EST
Geeklog Forums
Storyeditor.thtml
Paul
Anonymous
I opened Storyeditor.thtml and I found those like {featured_options}, etc.
Where do I find the code for those "procedures"? In which file?
I'm new to PHP and Geeklog. Thanks for your help.
Where do I find the code for those "procedures"? In which file?
I'm new to PHP and Geeklog. Thanks for your help.
8
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Paul: Where do I find the code for those "procedures"? In which file?
We call them variables. They're set in the file that uses the template. So in case of the storyeditor.thtml, it's admin/story.php
bye, Dirk
8
13
Quote
Paul
Anonymous
Thanks Dirk.
I want to edit the HTML code outputted by {lang_postmode}. I can't find the HTML code that is outputted by that variable in the admin/story.php.
Thanks for your help.
I want to edit the HTML code outputted by {lang_postmode}. I can't find the HTML code that is outputted by that variable in the admin/story.php.
Thanks for your help.
9
10
Quote
Paul
Anonymous
Sorry...where is the language file?
11
10
Quote
Paul
Anonymous
I want to change this code:
<option value="html">HTML Formatted</option>
<option value="plaintext" selected="selected">Plain Old Text</option>
</select>
Anyone know how to do it?
Thanks for all your help.
Text Formatted Code
<select name="postmode"><option value="html">HTML Formatted</option>
<option value="plaintext" selected="selected">Plain Old Text</option>
</select>
Anyone know how to do it?
Thanks for all your help.
11
13
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
what would you like to change it too? and why?
6
9
Quote
Paul
Anonymous
I want to add another option.
Anyone knows how to do it?
Anyone knows how to do it?
8
9
Quote
Paul
Anonymous
Quote by Dirk: Adding an option won't help you much - you'll also need some PHP code that handles the option ...
yes, my programmer will take care of the PHP code
I just need to know what file to edit to add that option
Thanks for all your help
12
11
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
admin/story.php
don't break it
9
11
Quote
Paul
Anonymous
Quote by machinari:
admin/story.php
don't break it
admin/story.php
don't break it
Can you please tell me what I have to edit cause I've been trying a lot of things but it's not working.
10
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Paul: Can you please tell me what I have to edit
The story editor form is built and displayed in function storyeditor and when you hit the "save" button, it comes back in through function submitstory and saves the story.
Anything else would need quite a few explanations, so you'd better let your PHP programmer figure that out (it shouldn't be too hard).
bye, Dirk
12
8
Quote
BC
Anonymous
I'd like to change the default to HTML formatted ... how is this done?
11
10
Quote
All times are EST. The time is now 07:38 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content