Changing Alpha-Index 's position

More
10 years 4 months ago #47884 by webiedesign
Client wants the Alpha-Index at the very top of the content. The code that generates this information seems fairly integrated within the whole component and moving the position to the top doesn't seem like it will be easy. (another thought was having it load in a Joomla module that I could position above the component)

Any ideas on how I can accomplish this ?

Mary
webie design

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #47888 by micker
hello
in your custom template check code of category_alpha.php
copy and past in category.php

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #47955 by webiedesign
That sort of worked. It put the alpha-index at the top, however,it "broke" the category item list page (I am using a copy of the blog template).

I tried a few variations that seemed to make sense to me, however, none of them really worked.

Mary
webie design

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #47957 by micker
witout your code and link for testing iopmpossible to help you ;)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #47978 by webiedesign
Oh, sorry. For some reason I thought I posted at least a link. Here is the only page type I want to move the alpha-index on.
reggaefusion.info/reggaefusion-f ... Itemid=164

I am using a copy of the blog template, but have only made very minor changes to the actual code(removed the hastooltip class and moved the titles under the images)

Mary
webie design

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #47979 by ggppdk
Hello

you should check which files include which file, it may take some time, but to avoid the above here is what to do

the alpha_index is included like this
tmpl_common\listings_filter_form_body.php
so:



1. copy files (files mentioned below, are inside components\com_flexicontent folder):
tmpl_common\listings_filter_form.php
tmpl_common\listings_filter_form_body.php
inside your template folder:
e.g.
templates\blog-1\

2. edit file:
templates\blog-1\category_items.php
and change line:
Code:
include(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'tmpl_common'.DS.'listings_filter_form.php');
to be:
Code:
include('listings_filter_form.php');

3. edit file:
templates\blog-1\listings_filter_form.php
change line:
Code:
include(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'tmpl_common'.DS.'listings_filter_form_body.php');
to be:
Code:
include('listings_filter_form_body.php');

4. edit file:
templates\blog-1\listings_filter_form_body.php
find lines:
Code:
// Alpha-Index if ($this->params->get('show_alpha', 1)) : echo $this->loadTemplate('alpha'); endif;

and move it to the file/place that you want
e.g. move it at the top of
templates\blog-1\category.php


Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.363 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline